Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Utilities.Examples.WriteRealMatrixToFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile") translateModel(Modelica.Utilities.Examples.WriteRealMatrixToFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 101.2 kB / 16.62 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 189.8 kB / 17.55 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.259/1.259, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001027/0.001027, allocations: 47.92 kB / 279.5 MB, free: 3.52 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0733/0.07434, allocations: 46.63 MB / 326.1 MB, free: 4.812 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.WriteRealMatrixToFile): time 0.001571/0.07595, allocations: 0.5424 MB / 326.7 MB, free: 4.266 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.000202/0.07617, allocations: 61.19 kB / 326.7 MB, free: 4.207 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.21e-05/0.0762, allocations: 0 / 326.7 MB, free: 4.207 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.733e-05/0.07624, allocations: 0 / 326.7 MB, free: 4.207 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.36e-05/0.07631, allocations: 11.98 kB / 326.7 MB, free: 4.195 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001381/0.07645, allocations: 15.98 kB / 326.8 MB, free: 4.18 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 8.562e-05/0.07654, allocations: 31.92 kB / 326.8 MB, free: 4.148 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.908e-05/0.07659, allocations: 7.984 kB / 326.8 MB, free: 4.141 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.693e-05/0.07662, allocations: 11.98 kB / 326.8 MB, free: 4.129 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.526e-05/0.07669, allocations: 19.97 kB / 326.8 MB, free: 4.109 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.07671, allocations: 4 kB / 326.8 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.784e-05/0.07675, allocations: 4 kB / 326.8 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.993e-05/0.0768, allocations: 15.88 kB / 326.8 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.605e-05/0.07683, allocations: 7.922 kB / 326.9 MB, free: 4.078 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 7.852e-05/0.07691, allocations: 19.92 kB / 326.9 MB, free: 4.059 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.07692, allocations: 4 kB / 326.9 MB, free: 4.055 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.07693, allocations: 4 kB / 326.9 MB, free: 4.051 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.07694, allocations: 0 / 326.9 MB, free: 4.051 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003395/0.07728, allocations: 365.5 kB / 327.2 MB, free: 3.637 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.07732, allocations: 11.97 kB / 327.3 MB, free: 3.625 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.07736, allocations: 8.844 kB / 327.3 MB, free: 3.617 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.162e-05/0.07745, allocations: 164.3 kB / 327.4 MB, free: 3.418 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.07747, allocations: 4.375 kB / 327.4 MB, free: 3.414 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.07749, allocations: 4.375 kB / 327.4 MB, free: 3.41 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.0776, allocations: 62.22 kB / 327.5 MB, free: 3.344 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.07762, allocations: 4.188 kB / 327.5 MB, free: 3.34 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.07763, allocations: 3.938 kB / 327.5 MB, free: 3.336 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.07764, allocations: 0 / 327.5 MB, free: 3.336 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.611e-05/0.07768, allocations: 31.92 kB / 327.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001127/0.07779, allocations: 157.7 kB / 327.7 MB, free: 3.102 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.546e-05/0.07786, allocations: 46.56 kB / 327.7 MB, free: 3.047 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.426e-05/0.0779, allocations: 36.92 kB / 327.8 MB, free: 3.008 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.122e-06/0.07791, allocations: 0 / 327.8 MB, free: 3.008 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/0.07795, allocations: 64.27 kB / 327.8 MB, free: 2.93 MB / 270.1 MB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.07796, allocations: 0 / 327.8 MB, free: 2.93 MB / 270.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002301/0.07819, allocations: 191.1 kB / 328 MB, free: 2.73 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.07824, allocations: 81.11 kB / 328.1 MB, free: 2.633 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.053e-05/0.07831, allocations: 109.8 kB / 328.2 MB, free: 2.516 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.07833, allocations: 29.64 kB / 328.2 MB, free: 2.48 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.564e-05/0.07837, allocations: 84.14 kB / 328.3 MB, free: 2.395 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.645e-05/0.07839, allocations: 7.906 kB / 328.3 MB, free: 2.387 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.07843, allocations: 25.73 kB / 328.3 MB, free: 2.355 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 8.328e-05/0.07851, allocations: 318.8 kB / 328.7 MB, free: 2.035 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.894e-05/0.07855, allocations: 23.98 kB / 328.7 MB, free: 2.012 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.898e-05/0.07858, allocations: 27.98 kB / 328.7 MB, free: 1.984 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.136e-05/0.07867, allocations: 124.4 kB / 328.8 MB, free: 1.848 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.07868, allocations: 0 / 328.8 MB, free: 1.848 MB / 270.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001335/0.07881, allocations: 151.3 kB / 329 MB, free: 1.688 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.07885, allocations: 33.7 kB / 329 MB, free: 1.648 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.07886, allocations: 8 kB / 329 MB, free: 1.641 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.07887, allocations: 0 / 329 MB, free: 1.641 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.873e-06/0.07888, allocations: 3.984 kB / 329 MB, free: 1.637 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.07889, allocations: 0 / 329 MB, free: 1.637 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.603e-05/0.07891, allocations: 0 / 329 MB, free: 1.637 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.07892, allocations: 4 kB / 329 MB, free: 1.633 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (success4,success3,success2,success1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.785e-05/0.079, allocations: 147.5 kB / 329.2 MB, free: 1.473 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/0.07902, allocations: 7.906 kB / 329.2 MB, free: 1.465 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.157e-05/0.07903, allocations: 7.844 kB / 329.2 MB, free: 1.453 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-07/0.07904, allocations: 0 / 329.2 MB, free: 1.453 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.07905, allocations: 4 kB / 329.2 MB, free: 1.449 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-06/0.07905, allocations: 4 kB / 329.2 MB, free: 1.445 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.098e-05/0.07914, allocations: 161.5 kB / 329.4 MB, free: 1.238 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.07914, allocations: 0 / 329.4 MB, free: 1.238 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.653e-06/0.07915, allocations: 4 kB / 329.4 MB, free: 1.234 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.07916, allocations: 3.984 kB / 329.4 MB, free: 1.23 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.07917, allocations: 3.938 kB / 329.4 MB, free: 1.227 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.07917, allocations: 256 / 329.4 MB, free: 1.227 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.07918, allocations: 0 / 329.4 MB, free: 1.227 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.07935, allocations: 202.7 kB / 329.6 MB, free: 1.004 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.711e-05/0.07939, allocations: 85 kB / 329.6 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.07941, allocations: 3.938 kB / 329.6 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.358e-05/0.07943, allocations: 4 kB / 329.7 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.282e-05/0.07945, allocations: 0 / 329.7 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.07946, allocations: 4 kB / 329.7 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of sorting global known variables: time 4.025e-05/0.0795, allocations: 95.2 kB / 329.7 MB, free: 0.7969 MB / 270.1 MB Notification: Performance of sort global known variables: time 1e-07/0.07951, allocations: 0 / 329.7 MB, free: 0.7969 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0001715/0.07968, allocations: 8 kB / 329.8 MB, free: 0.7891 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (success1,success2,success3,success4) * Number of discrete states: 4 (success4,success3,success2,success1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002182/0.07991, allocations: 126.5 kB / 329.9 MB, free: 0.6641 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000136/0.08005, allocations: 131.4 kB / 330 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.08006, allocations: 3.938 kB / 330 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 5.459e-05/0.08012, allocations: 95.39 kB / 330.1 MB, free: 424 kB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001237/0.08025, allocations: 4.125 kB / 330.1 MB, free: 420 kB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001947/0.08045, allocations: 149 kB / 330.3 MB, free: 244 kB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/0.08066, allocations: 0.6807 MB / 330.9 MB, free: 15.53 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.039e-06/0.08067, allocations: 0 / 330.9 MB, free: 15.53 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.624e-06/0.08068, allocations: 11.38 kB / 330.9 MB, free: 15.52 MB / 286.1 MB Notification: Performance of SimCode: time 2e-07/0.08068, allocations: 0 / 330.9 MB, free: 15.52 MB / 286.1 MB Notification: Performance of Templates: time 0.002213/0.0829, allocations: 0.6774 MB / 331.6 MB, free: 14.84 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile.makefile (rm -f Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe ; mkfifo Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe >> ../files/Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile.sim & ./Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe 2>&1)