Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01121/0.01121, allocations: 97.41 kB / 15.73 MB, free: 6.062 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.002331/0.002331, allocations: 192.9 kB / 16.67 MB, free: 5.969 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.706/1.706, allocations: 205.1 MB / 222.6 MB, free: 4.348 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3564/0.3564, allocations: 39.94 MB / 309.8 MB, free: 9.637 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 67.91 kB / 435.8 MB, free: 2.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3371, allocations: 56.88 MB / 492.7 MB, free: 19.42 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1673/0.5044, allocations: 147.6 MB / 0.6253 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008283/0.5127, allocations: 5.598 MB / 0.6307 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008151/0.5136, allocations: 19.88 kB / 0.6308 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.5147, allocations: 322 kB / 0.6311 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001874/0.5166, allocations: 0.855 MB / 0.6319 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002999/0.5196, allocations: 1.017 MB / 0.6329 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002517/0.5221, allocations: 1.797 MB / 0.6347 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000706/0.5229, allocations: 465.3 kB / 0.6351 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001383/0.5243, allocations: 0.7552 MB / 0.6358 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/0.5254, allocations: 0.7086 MB / 0.6365 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001473/0.5255, allocations: 64 kB / 0.6366 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/0.5267, allocations: 0.5342 MB / 0.6371 GB, free: 64 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.3177/0.8445, allocations: 258.5 kB / 0.6374 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007525/0.8453, allocations: 397.9 kB / 0.6377 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002304/0.8476, allocations: 1.145 MB / 0.6389 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.8476, allocations: 0.6562 kB / 0.6389 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8476, allocations: 0.5 kB / 0.6389 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.8476, allocations: 1.594 kB / 0.6389 GB, free: 4.133 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002157/0.8498, allocations: 1.072 MB / 0.6399 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.8498, allocations: 14.86 kB / 0.6399 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000394/0.8502, allocations: 95.59 kB / 0.64 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.8513, allocations: 0.5451 MB / 0.6405 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/0.8514, allocations: 99.25 kB / 0.6406 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.8515, allocations: 51.86 kB / 0.6407 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.8529, allocations: 0.8134 MB / 0.6415 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.853, allocations: 6 kB / 0.6415 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-05/0.8531, allocations: 26.36 kB / 0.6415 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.786e-05/0.8531, allocations: 40.41 kB / 0.6416 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001515/0.8547, allocations: 0.656 MB / 0.6422 GB, free: 2.949 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0055/0.8602, allocations: 3.956 MB / 0.6461 GB, free: 16.41 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007826/0.861, allocations: 429.4 kB / 0.6465 GB, free: 16.38 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003502/0.8613, allocations: 206.5 kB / 0.6467 GB, free: 16.37 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006829/0.862, allocations: 0.7319 MB / 0.6474 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.204e-05/0.8621, allocations: 40.48 kB / 0.6474 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 2.795e-06/0.8621, allocations: 2.109 kB / 0.6474 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.003691/0.8658, allocations: 1.548 MB / 0.6489 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.8659, allocations: 137.9 kB / 0.6491 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008447/0.8668, allocations: 0.5708 MB / 0.6496 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.126e-05/0.8669, allocations: 37.05 kB / 0.6497 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002733/0.8671, allocations: 366.1 kB / 0.65 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/0.8673, allocations: 169.4 kB / 0.6502 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002616/0.8676, allocations: 140.8 kB / 0.6503 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.8677, allocations: 371.9 kB / 0.6507 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004163/0.8682, allocations: 216 kB / 0.6509 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006436/0.8688, allocations: 0.5168 MB / 0.6514 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.8699, allocations: 0.7576 MB / 0.6521 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.778e-06/0.87, allocations: 6.297 kB / 0.6521 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001869/0.8718, allocations: 0.9077 MB / 0.653 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/0.8719, allocations: 14.81 kB / 0.653 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.052e-05/0.8719, allocations: 10.72 kB / 0.653 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001434/0.8733, allocations: 287.6 kB / 0.6533 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003997/0.8738, allocations: 127.8 kB / 0.6534 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001058/0.8748, allocations: 0.887 MB / 0.6543 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005868/0.8754, allocations: 32.62 kB / 0.6543 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.508e-05/0.8755, allocations: 33.34 kB / 0.6543 GB, free: 12.7 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003981/0.8759, allocations: 259.3 kB / 0.6546 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.876, allocations: 68.14 kB / 0.6547 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/0.8774, allocations: 0.7687 MB / 0.6554 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.8774, allocations: 5.125 kB / 0.6554 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.8774, allocations: 5.125 kB / 0.6554 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.8774, allocations: 2.672 kB / 0.6554 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00226/0.8797, allocations: 1.423 MB / 0.6568 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.8797, allocations: 1.969 kB / 0.6568 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.8808, allocations: 202.8 kB / 0.657 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001146/0.8809, allocations: 28.97 kB / 0.657 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.754e-05/0.881, allocations: 12.5 kB / 0.657 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002508/0.8835, allocations: 2.878 MB / 0.6599 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.8835, allocations: 6.5 kB / 0.6599 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00156/0.8851, allocations: 1.009 MB / 0.6608 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003698/0.8854, allocations: 203.1 kB / 0.661 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.235e-05/0.8855, allocations: 12.31 kB / 0.6611 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000394/0.8859, allocations: 18.92 kB / 0.6611 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.495e-05/0.886, allocations: 42.62 kB / 0.6611 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.027e-05/0.8861, allocations: 23.67 kB / 0.6611 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006672/0.8868, allocations: 430.2 kB / 0.6615 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8868, allocations: 3.188 kB / 0.6615 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001067/0.8879, allocations: 227 kB / 0.6618 GB, free: 8.531 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006248/0.8885, allocations: 260 kB / 0.662 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001412/0.8899, allocations: 0.6025 MB / 0.6626 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.8899, allocations: 1.406 kB / 0.6626 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001096/0.891, allocations: 456.6 kB / 0.663 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001721/0.8928, allocations: 372.2 kB / 0.6634 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003294/0.8961, allocations: 1.385 MB / 0.6647 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009085/0.897, allocations: 0.9417 MB / 0.6657 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001083/0.8981, allocations: 209.3 kB / 0.6659 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002268/0.8984, allocations: 65.8 kB / 0.6659 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of SimCode: time 1.042e-06/0.8984, allocations: 1.281 kB / 0.6659 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of Templates: time 0.02568/0.9241, allocations: 15.68 MB / 0.6812 GB, free: 4.676 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1)