Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.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) 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.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 103.5 kB / 16.62 MB, free: 6.805 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.00129/0.00129, 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.334/1.334, 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.001123/0.001123, allocations: 51.94 kB / 279.5 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08622/0.08736, allocations: 46.63 MB / 326.1 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.3209/0.4083, allocations: 142 MB / 468.2 MB, free: 9.441 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002123/0.4104, allocations: 1.71 MB / 469.9 MB, free: 7.723 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.4106, allocations: 7.938 kB / 469.9 MB, free: 7.715 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005218/0.4111, allocations: 155.3 kB / 470 MB, free: 7.562 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005227/0.4117, allocations: 306.4 kB / 470.3 MB, free: 7.262 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008915/0.4126, allocations: 384.1 kB / 470.7 MB, free: 6.887 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007554/0.4134, allocations: 0.8484 MB / 471.5 MB, free: 6.035 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.4135, allocations: 108.6 kB / 471.6 MB, free: 5.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005453/0.4141, allocations: 410.6 kB / 472 MB, free: 5.527 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003831/0.4145, allocations: 334.8 kB / 472.4 MB, free: 5.199 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.676e-05/0.4146, allocations: 32 kB / 472.4 MB, free: 5.168 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002873/0.4149, allocations: 131.8 kB / 472.5 MB, free: 5.039 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.415, allocations: 107.6 kB / 472.6 MB, free: 4.934 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001723/0.4152, allocations: 187.3 kB / 472.8 MB, free: 4.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004967/0.4157, allocations: 0.4922 MB / 473.3 MB, free: 4.258 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.4157, allocations: 0 / 473.3 MB, free: 4.258 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.4157, allocations: 0 / 473.3 MB, free: 4.258 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.4157, allocations: 0 / 473.3 MB, free: 4.258 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007738/0.4165, allocations: 0.5816 MB / 473.9 MB, free: 3.629 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.4165, allocations: 12.03 kB / 473.9 MB, free: 3.617 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002828/0.4168, allocations: 48.55 kB / 474 MB, free: 3.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003196/0.4171, allocations: 283.8 kB / 474.2 MB, free: 3.254 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.4172, allocations: 20.88 kB / 474.3 MB, free: 3.234 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.145e-05/0.4172, allocations: 24.38 kB / 474.3 MB, free: 3.211 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004646/0.4177, allocations: 301.7 kB / 474.6 MB, free: 2.898 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.4177, allocations: 0 / 474.6 MB, free: 2.898 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.467e-05/0.4177, allocations: 12 kB / 474.6 MB, free: 2.887 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.4178, allocations: 8 kB / 474.6 MB, free: 2.879 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003143/0.4181, allocations: 210.1 kB / 474.8 MB, free: 2.672 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/0.4197, allocations: 1.289 MB / 476.1 MB, free: 1.262 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003618/0.4201, allocations: 190.6 kB / 476.3 MB, free: 1.066 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.4202, allocations: 92.83 kB / 476.4 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001418/0.4204, allocations: 170.2 kB / 476.5 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.4204, allocations: 35.31 kB / 476.6 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.553e-06/0.4204, allocations: 0 / 476.6 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.002319/0.4228, allocations: 1.038 MB / 477.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.4228, allocations: 55.41 kB / 477.7 MB, free: 15.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002361/0.423, allocations: 254.6 kB / 477.9 MB, free: 15.26 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.4231, allocations: 29.7 kB / 477.9 MB, free: 15.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.4232, allocations: 176.2 kB / 478.1 MB, free: 15.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.77e-05/0.4233, allocations: 102.6 kB / 478.2 MB, free: 14.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.678e-05/0.4234, allocations: 65.48 kB / 478.3 MB, free: 14.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.908e-05/0.4235, allocations: 334.8 kB / 478.6 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.4236, allocations: 79.97 kB / 478.7 MB, free: 14.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.4238, allocations: 183.7 kB / 478.9 MB, free: 14.24 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003328/0.4241, allocations: 287.8 kB / 479.1 MB, free: 13.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4242, allocations: 0 / 479.1 MB, free: 13.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005618/0.4247, allocations: 445.9 kB / 479.6 MB, free: 13.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.4248, allocations: 15.97 kB / 479.6 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.4248, allocations: 4 kB / 479.6 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001406/0.4249, allocations: 37.7 kB / 479.6 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003158/0.4252, allocations: 79.89 kB / 479.7 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001852/0.4271, allocations: 2.765 MB / 482.5 MB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002575/0.4274, allocations: 23.89 kB / 482.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/0.4274, allocations: 15.94 kB / 482.5 MB, free: 10.24 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001623/0.4276, allocations: 169.6 kB / 482.7 MB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.186e-05/0.4277, allocations: 23.78 kB / 482.7 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005394/0.4282, allocations: 360.4 kB / 483 MB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.4282, allocations: 4 kB / 483.1 MB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.4282, allocations: 0 / 483.1 MB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005456/0.4288, allocations: 0.6148 MB / 483.7 MB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009731/0.4298, allocations: 0.7547 MB / 484.4 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.4298, allocations: 0 / 484.4 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002987/0.4301, allocations: 63.89 kB / 484.5 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.146e-05/0.4302, allocations: 20.84 kB / 484.5 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.4302, allocations: 4 kB / 484.5 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001044/0.4313, allocations: 1.386 MB / 485.9 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4313, allocations: 0 / 485.9 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006915/0.432, allocations: 0.5184 MB / 486.4 MB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.4321, allocations: 101 kB / 486.5 MB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.553e-05/0.4322, allocations: 11.94 kB / 486.5 MB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002806/0.4324, allocations: 17.92 kB / 486.5 MB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.4325, allocations: 15.97 kB / 486.6 MB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.4325, allocations: 15.98 kB / 486.6 MB, free: 5.742 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001968/0.4327, allocations: 186 kB / 486.8 MB, free: 5.562 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4327, allocations: 0 / 486.8 MB, free: 5.562 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004934/0.4332, allocations: 107.9 kB / 486.9 MB, free: 5.457 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (25): * Single equations (assignments): 24 * 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): 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.0004408/0.4337, allocations: 139.1 kB / 487 MB, free: 5.312 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008158/0.4345, allocations: 465.6 kB / 487.5 MB, free: 4.832 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4345, allocations: 0 / 487.5 MB, free: 4.832 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002672/0.4348, allocations: 222.4 kB / 487.7 MB, free: 4.602 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009315/0.4357, allocations: 165.5 kB / 487.8 MB, free: 4.445 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.4369, allocations: 0.7802 MB / 488.6 MB, free: 3.633 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.4373, allocations: 0.7606 MB / 489.4 MB, free: 2.848 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000268/0.4376, allocations: 58.94 kB / 489.4 MB, free: 2.789 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.868e-05/0.4377, allocations: 31.44 kB / 489.5 MB, free: 2.758 MB / 382.1 MB Notification: Performance of SimCode: time 1.854e-06/0.4377, allocations: 0 / 489.5 MB, free: 2.758 MB / 382.1 MB Notification: Performance of Templates: time 0.01108/0.4488, allocations: 6.137 MB / 495.6 MB, free: 12.63 MB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1)