Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.MoistAir.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.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008818/0.0008818, allocations: 95.23 kB / 16.65 MB, free: 6.535 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.001035/0.001036, allocations: 175.4 kB / 17.56 MB, free: 6.18 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.302/1.302, allocations: 205.4 MB / 223.7 MB, free: 13.06 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.0004237/0.0004236, allocations: 8 kB / 280.7 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08662/0.08706, allocations: 47.59 MB / 328.3 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3335/0.4207, allocations: 148.6 MB / 476.9 MB, free: 5.027 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008191/0.4215, allocations: 0.5994 MB / 477.5 MB, free: 4.434 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.903e-05/0.4216, allocations: 4 kB / 477.5 MB, free: 4.43 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003112/0.4219, allocations: 55.77 kB / 477.6 MB, free: 4.375 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003139/0.4222, allocations: 141.6 kB / 477.7 MB, free: 4.242 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002759/0.425, allocations: 0.95 MB / 478.7 MB, free: 3.301 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005262/0.4255, allocations: 482.6 kB / 479.1 MB, free: 2.828 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.027e-05/0.4256, allocations: 17.39 kB / 479.1 MB, free: 2.812 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002414/0.4259, allocations: 135.5 kB / 479.3 MB, free: 2.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.4261, allocations: 131.6 kB / 479.4 MB, free: 2.551 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.956e-05/0.4261, allocations: 8 kB / 479.4 MB, free: 2.543 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003057/0.4292, allocations: 1.677 MB / 481.1 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.4293, allocations: 67.84 kB / 481.2 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.4295, allocations: 116.9 kB / 481.3 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001726/0.4312, allocations: 1.037 MB / 482.3 MB, free: 15.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.4312, allocations: 0 / 482.3 MB, free: 15.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4312, allocations: 0 / 482.3 MB, free: 15.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.4312, allocations: 0 / 482.3 MB, free: 15.64 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001596/0.4328, allocations: 0.6286 MB / 482.9 MB, free: 14.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.4329, allocations: 8.031 kB / 482.9 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/0.433, allocations: 24.75 kB / 483 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.4333, allocations: 215.9 kB / 483.2 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.4333, allocations: 16.33 kB / 483.2 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.078e-05/0.4333, allocations: 23.84 kB / 483.2 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005619/0.4339, allocations: 257.4 kB / 483.5 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.4339, allocations: 0 / 483.5 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.71e-05/0.434, allocations: 14.19 kB / 483.5 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.434, allocations: 4 kB / 483.5 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006378/0.4346, allocations: 271.7 kB / 483.8 MB, free: 14.1 MB / 382.1 MB 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.001414/0.4361, allocations: 0.7893 MB / 484.5 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006213/0.4367, allocations: 217.9 kB / 484.8 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003086/0.437, allocations: 137.6 kB / 484.9 MB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003145/0.4373, allocations: 360.3 kB / 485.2 MB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.4374, allocations: 34.56 kB / 485.3 MB, free: 12.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 3.857e-06/0.4374, allocations: 0 / 485.3 MB, free: 12.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.00246/0.4399, allocations: 0.6801 MB / 486 MB, free: 11.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.4399, allocations: 81.11 kB / 486 MB, free: 11.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.724e-05/0.44, allocations: 121.8 kB / 486.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.752e-05/0.4401, allocations: 29.7 kB / 486.2 MB, free: 11.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.585e-05/0.4401, allocations: 112.8 kB / 486.3 MB, free: 11.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.123e-05/0.4402, allocations: 124.1 kB / 486.4 MB, free: 11.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.548e-05/0.4403, allocations: 33.7 kB / 486.4 MB, free: 11.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.4404, allocations: 330.8 kB / 486.8 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003757/0.4408, allocations: 135.9 kB / 486.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004126/0.4412, allocations: 203.6 kB / 487.1 MB, free: 10.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008004/0.442, allocations: 359.4 kB / 487.5 MB, free: 10.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.442, allocations: 4 kB / 487.5 MB, free: 10.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009562/0.443, allocations: 405.4 kB / 487.9 MB, free: 9.699 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.443, allocations: 4 kB / 487.9 MB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.443, allocations: 4 kB / 487.9 MB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.443, allocations: 4 kB / 487.9 MB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005067/0.4436, allocations: 87.88 kB / 488 MB, free: 9.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.4436, allocations: 11.92 kB / 488 MB, free: 9.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003188/0.4439, allocations: 31.77 kB / 488 MB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.714e-05/0.444, allocations: 24.02 kB / 488 MB, free: 9.535 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001349/0.4441, allocations: 141.7 kB / 488.2 MB, free: 9.387 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.692e-05/0.4442, allocations: 15.81 kB / 488.2 MB, free: 9.371 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003682/0.4446, allocations: 178.4 kB / 488.3 MB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.4446, allocations: 4 kB / 488.4 MB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.4446, allocations: 3.625 kB / 488.4 MB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.4446, allocations: 4.359 kB / 488.4 MB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001626/0.4462, allocations: 0.7636 MB / 489.1 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4462, allocations: 0 / 489.1 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004307/0.4467, allocations: 79.83 kB / 489.2 MB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.4467, allocations: 7.938 kB / 489.2 MB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.978e-05/0.4467, allocations: 11.98 kB / 489.2 MB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.4467, allocations: 4 kB / 489.2 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-05/0.4468, allocations: 7.938 kB / 489.2 MB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/0.4482, allocations: 0.7072 MB / 489.9 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.4483, allocations: 116.8 kB / 490.1 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.095e-05/0.4483, allocations: 11.98 kB / 490.1 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/0.4487, allocations: 20.05 kB / 490.1 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.512e-05/0.4488, allocations: 35.75 kB / 490.1 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.25e-05/0.4488, allocations: 19.98 kB / 490.1 MB, free: 7.277 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.901e-05/0.4489, allocations: 95.27 kB / 490.2 MB, free: 7.184 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4489, allocations: 0 / 490.2 MB, free: 7.184 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000607/0.4495, allocations: 135.9 kB / 490.4 MB, free: 7.051 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (38): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004528/0.4499, allocations: 239.6 kB / 490.6 MB, free: 6.809 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008699/0.4508, allocations: 347 kB / 490.9 MB, free: 6.473 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4508, allocations: 448 / 490.9 MB, free: 6.473 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004073/0.4513, allocations: 175.8 kB / 491.1 MB, free: 6.301 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007551/0.452, allocations: 92.47 kB / 491.2 MB, free: 6.211 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.4534, allocations: 0.7408 MB / 491.9 MB, free: 5.426 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.4537, allocations: 0.7372 MB / 492.7 MB, free: 4.664 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003928/0.4541, allocations: 77.84 kB / 492.8 MB, free: 4.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.4543, allocations: 35.42 kB / 492.8 MB, free: 4.555 MB / 382.1 MB Notification: Performance of SimCode: time 3.7e-07/0.4543, allocations: 0 / 492.8 MB, free: 4.555 MB / 382.1 MB Notification: Performance of Templates: time 0.009942/0.4642, allocations: 5.848 MB / 498.6 MB, free: 14.7 MB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.MoistAir.sim & ./Modelica_3.2.2_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.MoistAir.pipe 2>&1)