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.009631/0.009632, allocations: 102 kB / 15.73 MB, free: 6.051 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.001667/0.001667, allocations: 195 kB / 16.68 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.791/1.791, allocations: 205.1 MB / 222.6 MB, free: 4.375 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.4279/0.4279, allocations: 39.94 MB / 309.8 MB, free: 9.629 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.002743/0.002743, allocations: 72.42 kB / 435.8 MB, free: 2.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.389, allocations: 56.87 MB / 492.7 MB, free: 19.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1803/0.5693, allocations: 147.6 MB / 0.6253 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008934/0.5783, allocations: 5.59 MB / 0.6307 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001562/0.58, allocations: 19.88 kB / 0.6308 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002076/0.5821, allocations: 326 kB / 0.6311 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004373/0.5865, allocations: 0.8511 MB / 0.6319 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004496/0.5911, allocations: 1.029 MB / 0.6329 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002981/0.5941, allocations: 1.797 MB / 0.6347 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00125/0.5954, allocations: 469.3 kB / 0.6351 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002003/0.5974, allocations: 0.7513 MB / 0.6358 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00149/0.5989, allocations: 0.7086 MB / 0.6365 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001881/0.5991, allocations: 60 kB / 0.6366 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001452/0.6005, allocations: 0.5342 MB / 0.6371 GB, free: 60 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.3765/0.977, allocations: 262.3 kB / 0.6374 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000887/0.978, allocations: 402 kB / 0.6377 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002667/0.9807, allocations: 1.131 MB / 0.6389 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.075e-05/0.9807, allocations: 7.844 kB / 0.6389 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.635e-06/0.9807, allocations: 0.9062 kB / 0.6389 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.399e-05/0.9807, allocations: 0.75 kB / 0.6389 GB, free: 4.141 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.002997/0.9837, allocations: 1.053 MB / 0.6399 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 8.349e-05/0.9838, allocations: 15.17 kB / 0.6399 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005834/0.9844, allocations: 93.66 kB / 0.64 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/0.9859, allocations: 0.5313 MB / 0.6405 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001623/0.9861, allocations: 107.9 kB / 0.6406 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.9862, allocations: 54.55 kB / 0.6407 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001875/0.9881, allocations: 0.8068 MB / 0.6415 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/0.9882, allocations: 5.25 kB / 0.6415 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-05/0.9882, allocations: 25.03 kB / 0.6415 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.733e-05/0.9883, allocations: 40 kB / 0.6415 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/0.9896, allocations: 0.6498 MB / 0.6422 GB, free: 3.02 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.006041/0.9956, allocations: 3.953 MB / 0.646 GB, free: 16.49 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.9968, allocations: 432.8 kB / 0.6464 GB, free: 16.46 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004589/0.9973, allocations: 204.7 kB / 0.6466 GB, free: 16.45 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008355/0.9981, allocations: 0.7352 MB / 0.6473 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.599e-05/0.9982, allocations: 42.62 kB / 0.6474 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 3.206e-06/0.9982, allocations: 0.9062 kB / 0.6474 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.004009/1.002, allocations: 1.544 MB / 0.6489 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/1.002, allocations: 135.8 kB / 0.649 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008652/1.003, allocations: 0.5688 MB / 0.6496 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.575e-05/1.003, allocations: 32.14 kB / 0.6496 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003161/1.004, allocations: 353.9 kB / 0.6499 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/1.004, allocations: 167.3 kB / 0.6501 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003062/1.004, allocations: 140.3 kB / 0.6502 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002568/1.004, allocations: 374.6 kB / 0.6506 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004038/1.005, allocations: 218.3 kB / 0.6508 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005886/1.005, allocations: 0.5179 MB / 0.6513 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/1.006, allocations: 0.7578 MB / 0.6521 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/1.006, allocations: 3.062 kB / 0.6521 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001741/1.008, allocations: 0.9153 MB / 0.6529 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/1.008, allocations: 16.97 kB / 0.653 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/1.008, allocations: 9.438 kB / 0.653 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00137/1.01, allocations: 281.2 kB / 0.6532 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004022/1.01, allocations: 125.7 kB / 0.6534 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001149/1.011, allocations: 0.8818 MB / 0.6542 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006002/1.012, allocations: 28.69 kB / 0.6543 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.078e-05/1.012, allocations: 40.44 kB / 0.6543 GB, free: 12.8 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.0004786/1.012, allocations: 250.5 kB / 0.6545 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/1.013, allocations: 69 kB / 0.6546 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001372/1.014, allocations: 0.7692 MB / 0.6553 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/1.014, allocations: 4.25 kB / 0.6554 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/1.014, allocations: 0.6875 kB / 0.6554 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/1.014, allocations: 4.703 kB / 0.6554 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002171/1.016, allocations: 1.421 MB / 0.6567 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/1.016, allocations: 1.688 kB / 0.6567 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/1.017, allocations: 202.5 kB / 0.6569 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.515e-05/1.017, allocations: 25.84 kB / 0.657 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.415e-05/1.017, allocations: 16.53 kB / 0.657 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002166/1.02, allocations: 2.874 MB / 0.6598 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/1.02, allocations: 1.906 kB / 0.6598 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/1.021, allocations: 1.01 MB / 0.6608 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003941/1.022, allocations: 202.9 kB / 0.661 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.506e-05/1.022, allocations: 14.08 kB / 0.661 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004168/1.022, allocations: 19.08 kB / 0.661 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.867e-05/1.022, allocations: 40.03 kB / 0.661 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.963e-05/1.022, allocations: 25.22 kB / 0.6611 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007197/1.023, allocations: 429.4 kB / 0.6615 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.81e-07/1.023, allocations: 0.8438 kB / 0.6615 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001234/1.024, allocations: 225.9 kB / 0.6617 GB, free: 8.633 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.0006756/1.025, allocations: 259.1 kB / 0.6619 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001346/1.026, allocations: 0.6058 MB / 0.6625 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/1.026, allocations: 2.312 kB / 0.6625 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001105/1.027, allocations: 457.4 kB / 0.663 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001837/1.029, allocations: 377.5 kB / 0.6633 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002714/1.032, allocations: 1.367 MB / 0.6647 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006125/1.033, allocations: 0.9402 MB / 0.6656 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007819/1.033, allocations: 211.2 kB / 0.6658 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001916/1.034, allocations: 63.47 kB / 0.6658 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of SimCode: time 9.32e-07/1.034, allocations: 0 / 0.6658 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of Templates: time 0.03228/1.066, allocations: 15.89 MB / 0.6814 GB, free: 4.656 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)