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.0009081/0.0009081, allocations: 94.94 kB / 16.3 MB, free: 5.531 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.001077/0.001077, allocations: 178 kB / 17.19 MB, free: 5.465 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.367/1.367, allocations: 205.4 MB / 223.4 MB, free: 13.18 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.0007024/0.0007026, allocations: 8 kB / 280.1 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1146, allocations: 47.58 MB / 327.7 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.3239/0.4385, allocations: 121.9 MB / 449.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002166/0.4407, allocations: 1.518 MB / 451.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001858/0.4409, allocations: 4 kB / 451.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005246/0.4415, allocations: 147.3 kB / 451.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003695/0.4418, allocations: 219.4 kB / 451.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008729/0.4427, allocations: 333.7 kB / 451.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005588/0.4433, allocations: 474.9 kB / 452.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.4435, allocations: 72.67 kB / 452.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004976/0.444, allocations: 303.1 kB / 452.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003032/0.4443, allocations: 215.3 kB / 452.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.857e-05/0.4443, allocations: 15.94 kB / 452.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002606/0.4446, allocations: 83.88 kB / 452.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.379e-05/0.4447, allocations: 71.78 kB / 453 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.283e-05/0.4448, allocations: 93.58 kB / 453.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004105/0.4452, allocations: 365.6 kB / 453.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.4452, allocations: 4 kB / 453.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4452, allocations: 0 / 453.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.4452, allocations: 0 / 453.5 MB, free: 10.58 MB / 350.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.0009571/0.4462, allocations: 0.5268 MB / 454 MB, free: 10 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.4463, allocations: 12.03 kB / 454 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003439/0.4466, allocations: 43.61 kB / 454 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004178/0.4471, allocations: 274.6 kB / 454.3 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.4471, allocations: 20.56 kB / 454.3 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.765e-05/0.4471, allocations: 27.91 kB / 454.4 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004876/0.4476, allocations: 293.4 kB / 454.6 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.4477, allocations: 3.938 kB / 454.6 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.68e-05/0.4477, allocations: 15.94 kB / 454.7 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.4477, allocations: 7.953 kB / 454.7 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003167/0.4481, allocations: 202.1 kB / 454.9 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001828/0.4499, allocations: 1.293 MB / 456.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003957/0.4503, allocations: 183.3 kB / 456.3 MB, free: 7.461 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000153/0.4505, allocations: 174.4 kB / 456.5 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.4505, allocations: 38.69 kB / 456.5 MB, free: 7.207 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.292e-06/0.4505, allocations: 0 / 456.5 MB, free: 7.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.002483/0.453, allocations: 1.035 MB / 457.6 MB, free: 6.074 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.4531, allocations: 51.41 kB / 457.6 MB, free: 6.012 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/0.4533, allocations: 266.5 kB / 457.9 MB, free: 5.742 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.463e-05/0.4534, allocations: 37.62 kB / 457.9 MB, free: 5.699 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.4535, allocations: 176.2 kB / 458.1 MB, free: 5.523 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.563e-05/0.4536, allocations: 90.73 kB / 458.2 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.294e-05/0.4536, allocations: 4 kB / 458.2 MB, free: 5.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.4538, allocations: 342.8 kB / 458.5 MB, free: 5.086 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.4539, allocations: 83.75 kB / 458.6 MB, free: 5.004 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002596/0.4542, allocations: 171.8 kB / 458.8 MB, free: 4.793 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.4544, allocations: 111.9 kB / 458.9 MB, free: 4.684 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4544, allocations: 4 kB / 458.9 MB, free: 4.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000668/0.455, allocations: 444.1 kB / 459.3 MB, free: 4.215 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.4551, allocations: 8.031 kB / 459.3 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.4551, allocations: 4 kB / 459.3 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001522/0.4552, allocations: 41.7 kB / 459.4 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003176/0.4556, allocations: 79.89 kB / 459.5 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001894/0.4575, allocations: 2.58 MB / 462 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002382/0.4577, allocations: 22.69 kB / 462.1 MB, free: 1.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.825e-05/0.4578, allocations: 15.94 kB / 462.1 MB, free: 1.199 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002307/0.458, allocations: 165.8 kB / 462.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.767e-05/0.4581, allocations: 27.62 kB / 462.3 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005104/0.4586, allocations: 362.9 kB / 462.6 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.4586, allocations: 0 / 462.6 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.4586, allocations: 3.938 kB / 462.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005548/0.4592, allocations: 0.6149 MB / 463.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009551/0.4601, allocations: 0.7547 MB / 464 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.4601, allocations: 3.953 kB / 464 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002825/0.4604, allocations: 51.97 kB / 464 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.58e-05/0.4605, allocations: 24.88 kB / 464.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.4606, allocations: 4 kB / 464.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008835/0.4614, allocations: 1.288 MB / 465.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.4615, allocations: 2.875 kB / 465.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006241/0.4621, allocations: 0.528 MB / 465.9 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.408e-05/0.4622, allocations: 104.9 kB / 466 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.178e-05/0.4622, allocations: 8 kB / 466 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/0.4625, allocations: 12 kB / 466 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.594e-05/0.4626, allocations: 27.89 kB / 466 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/0.4626, allocations: 11.98 kB / 466.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000196/0.4628, allocations: 186 kB / 466.2 MB, free: 12.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4628, allocations: 4 kB / 466.2 MB, free: 12.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000464/0.4633, allocations: 99.94 kB / 466.3 MB, free: 12.51 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001995/0.4635, allocations: 131.7 kB / 466.5 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000645/0.4641, allocations: 449.9 kB / 466.9 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4642, allocations: 0 / 466.9 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002733/0.4644, allocations: 218.5 kB / 467.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009063/0.4654, allocations: 156.5 kB / 467.3 MB, free: 11.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.4665, allocations: 0.8037 MB / 468.1 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.4668, allocations: 0.7684 MB / 468.8 MB, free: 9.906 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002704/0.4671, allocations: 58.92 kB / 468.9 MB, free: 9.848 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.408e-05/0.4672, allocations: 31.44 kB / 468.9 MB, free: 9.816 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4672, allocations: 0 / 468.9 MB, free: 9.816 MB / 366.1 MB Notification: Performance of Templates: time 0.01046/0.4777, allocations: 5.658 MB / 474.6 MB, free: 4.168 MB / 366.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: