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.001272/0.001272, allocations: 104.5 kB / 16.92 MB, free: 5.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.001269/0.001269, allocations: 191.5 kB / 17.85 MB, free: 5.184 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.325/1.325, allocations: 205.1 MB / 223.7 MB, free: 12.31 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.001209/0.00121, allocations: 59.92 kB / 280 MB, free: 3.168 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09324/0.09446, allocations: 46.62 MB / 326.6 MB, free: 4.473 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.3479/0.4424, allocations: 144 MB / 470.6 MB, free: 7.051 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002561/0.4451, allocations: 1.726 MB / 472.4 MB, free: 5.316 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002105/0.4453, allocations: 4 kB / 472.4 MB, free: 5.312 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008005/0.4462, allocations: 178.9 kB / 472.5 MB, free: 5.137 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006684/0.4468, allocations: 330.2 kB / 472.9 MB, free: 4.812 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.4479, allocations: 421.2 kB / 473.3 MB, free: 4.402 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007788/0.4487, allocations: 0.8484 MB / 474.1 MB, free: 3.551 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002144/0.4489, allocations: 108.6 kB / 474.2 MB, free: 3.445 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005927/0.4495, allocations: 386.7 kB / 474.6 MB, free: 3.066 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004331/0.4499, allocations: 330.8 kB / 474.9 MB, free: 2.742 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.439e-05/0.45, allocations: 28 kB / 475 MB, free: 2.715 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003556/0.4504, allocations: 147.7 kB / 475.1 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.4505, allocations: 95.7 kB / 475.2 MB, free: 2.477 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001984/0.4507, allocations: 188.4 kB / 475.4 MB, free: 2.293 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005103/0.4512, allocations: 488.1 kB / 475.8 MB, free: 1.816 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.4512, allocations: 0 / 475.8 MB, free: 1.816 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.4513, allocations: 4 kB / 475.9 MB, free: 1.812 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.4513, allocations: 0 / 475.9 MB, free: 1.812 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.0008642/0.4521, allocations: 0.5855 MB / 476.4 MB, free: 1.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.4522, allocations: 8.031 kB / 476.4 MB, free: 1.172 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002872/0.4525, allocations: 48.55 kB / 476.5 MB, free: 1.125 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003537/0.4528, allocations: 287.4 kB / 476.8 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.4529, allocations: 20.94 kB / 476.8 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.818e-05/0.4529, allocations: 32.3 kB / 476.8 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004842/0.4534, allocations: 305.7 kB / 477.1 MB, free: 456 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.4534, allocations: 0 / 477.1 MB, free: 456 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.897e-05/0.4535, allocations: 12 kB / 477.1 MB, free: 444 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.4535, allocations: 8 kB / 477.1 MB, free: 436 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003849/0.4539, allocations: 206.1 kB / 477.3 MB, free: 228 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00177/0.4557, allocations: 1.293 MB / 478.6 MB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003764/0.4561, allocations: 190.5 kB / 478.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/0.4562, allocations: 92.83 kB / 478.9 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001563/0.4564, allocations: 174.2 kB / 479.1 MB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.4564, allocations: 34.56 kB / 479.1 MB, free: 14.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.402e-06/0.4564, allocations: 4 kB / 479.1 MB, free: 14.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.002424/0.4589, allocations: 1.034 MB / 480.2 MB, free: 13.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.4589, allocations: 55.41 kB / 480.2 MB, free: 13.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002523/0.4592, allocations: 254.6 kB / 480.5 MB, free: 12.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.4592, allocations: 33.7 kB / 480.5 MB, free: 12.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.4593, allocations: 176.2 kB / 480.7 MB, free: 12.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.449e-05/0.4594, allocations: 98.64 kB / 480.8 MB, free: 12.49 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.712e-05/0.4595, allocations: 61.48 kB / 480.8 MB, free: 12.42 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.4596, allocations: 338.8 kB / 481.2 MB, free: 12.08 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.4598, allocations: 87.89 kB / 481.2 MB, free: 12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/0.46, allocations: 179.8 kB / 481.4 MB, free: 11.78 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003489/0.4603, allocations: 279.8 kB / 481.7 MB, free: 11.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/0.4604, allocations: 4 kB / 481.7 MB, free: 11.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005927/0.461, allocations: 447.7 kB / 482.1 MB, free: 10.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.461, allocations: 4 kB / 482.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.461, allocations: 7.984 kB / 482.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001512/0.4612, allocations: 46.08 kB / 482.2 MB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003138/0.4615, allocations: 79.83 kB / 482.3 MB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001864/0.4634, allocations: 2.76 MB / 485 MB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.4635, allocations: 8 kB / 485 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.283e-05/0.4636, allocations: 16 kB / 485 MB, free: 7.789 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.0001582/0.4638, allocations: 161.7 kB / 485.2 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.693e-05/0.4638, allocations: 35.61 kB / 485.2 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005141/0.4643, allocations: 354.9 kB / 485.6 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.4644, allocations: 4 kB / 485.6 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.4644, allocations: 0 / 485.6 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005183/0.4649, allocations: 0.6149 MB / 486.2 MB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009307/0.4658, allocations: 0.7664 MB / 487 MB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.4658, allocations: 0 / 487 MB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002806/0.4661, allocations: 55.89 kB / 487 MB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.145e-05/0.4662, allocations: 28.88 kB / 487.1 MB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.4663, allocations: 7.938 kB / 487.1 MB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008756/0.4671, allocations: 1.38 MB / 488.4 MB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4671, allocations: 0 / 488.4 MB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006222/0.4678, allocations: 0.5146 MB / 489 MB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.857e-05/0.4679, allocations: 100.8 kB / 489.1 MB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.246e-05/0.4679, allocations: 11.94 kB / 489.1 MB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/0.4681, allocations: 11.98 kB / 489.1 MB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.4682, allocations: 15.98 kB / 489.1 MB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.75e-05/0.4682, allocations: 12.86 kB / 489.1 MB, free: 3.301 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00019/0.4684, allocations: 186 kB / 489.3 MB, free: 3.125 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4684, allocations: 4.062 kB / 489.3 MB, free: 3.121 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004756/0.4689, allocations: 96 kB / 489.4 MB, free: 3.027 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.0003279/0.4692, allocations: 139.1 kB / 489.5 MB, free: 2.883 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006949/0.4699, allocations: 465.6 kB / 490 MB, free: 2.402 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.47, allocations: 3.938 kB / 490 MB, free: 2.398 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002563/0.4702, allocations: 218.5 kB / 490.2 MB, free: 2.172 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009422/0.4712, allocations: 163.1 kB / 490.4 MB, free: 2.016 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.4724, allocations: 0.6787 MB / 491 MB, free: 1.305 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.4728, allocations: 0.7684 MB / 491.8 MB, free: 0.5117 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002988/0.4731, allocations: 62.88 kB / 491.9 MB, free: 464 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.002e-05/0.4732, allocations: 31.42 kB / 491.9 MB, free: 432 kB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4732, allocations: 0 / 491.9 MB, free: 432 kB / 382.1 MB Notification: Performance of Templates: time 0.01121/0.4844, allocations: 6.146 MB / 498 MB, free: 10.28 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)