Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.IdealGases.Air,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000977/0.000977, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001117/0.001118, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.4 MB / 222.1 MB, free: 5.516 MB / 174.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.0004534/0.000454, allocations: 12 kB / 278.9 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2495, allocations: 47.59 MB / 326.5 MB, free: 1.648 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.3963/0.6458, allocations: 137.3 MB / 463.7 MB, free: 2.309 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00268/0.6486, allocations: 1.952 MB / 465.7 MB, free: 2.266 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003086/0.6489, allocations: 5.469 kB / 465.7 MB, free: 2.266 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005731/0.6495, allocations: 141.6 kB / 465.8 MB, free: 2.262 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007592/0.6503, allocations: 271.9 kB / 466.1 MB, free: 2.258 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008593/0.6512, allocations: 277.5 kB / 466.4 MB, free: 2.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000692/0.6519, allocations: 483.3 kB / 466.8 MB, free: 2.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002149/0.6521, allocations: 72.47 kB / 466.9 MB, free: 2.234 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009536/0.653, allocations: 438.2 kB / 467.3 MB, free: 2.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000238/0.6533, allocations: 171 kB / 467.5 MB, free: 2.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.037e-05/0.6533, allocations: 13.81 kB / 467.5 MB, free: 2.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002995/0.6536, allocations: 105 kB / 467.6 MB, free: 2.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.6538, allocations: 72.09 kB / 467.7 MB, free: 2.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.6539, allocations: 94.98 kB / 467.8 MB, free: 2.195 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004471/0.6543, allocations: 391.5 kB / 468.1 MB, free: 2.172 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.6543, allocations: 0 / 468.1 MB, free: 2.172 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.6543, allocations: 0 / 468.1 MB, free: 2.172 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.6544, allocations: 0 / 468.1 MB, free: 2.172 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008635/0.6552, allocations: 0.5194 MB / 468.7 MB, free: 17.74 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.6553, allocations: 7.844 kB / 468.7 MB, free: 17.74 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002839/0.6556, allocations: 47.48 kB / 468.7 MB, free: 17.72 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00034/0.6559, allocations: 280.5 kB / 469 MB, free: 17.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.6559, allocations: 19.86 kB / 469 MB, free: 17.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.282e-05/0.656, allocations: 30.09 kB / 469 MB, free: 17.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004157/0.6564, allocations: 313.4 kB / 469.4 MB, free: 17.4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.6564, allocations: 0 / 469.4 MB, free: 17.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.893e-05/0.6565, allocations: 13.38 kB / 469.4 MB, free: 17.4 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/0.6565, allocations: 5.969 kB / 469.4 MB, free: 17.4 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002705/0.6568, allocations: 202.8 kB / 469.6 MB, free: 17.4 MB / 398.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.001684/0.6585, allocations: 1.582 MB / 471.2 MB, free: 16.21 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002588/0.6587, allocations: 167.4 kB / 471.3 MB, free: 16.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.139e-05/0.6588, allocations: 9.375 kB / 471.3 MB, free: 16.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.6588, allocations: 42.31 kB / 471.4 MB, free: 16.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.353e-06/0.6588, allocations: 0 / 471.4 MB, free: 16.14 MB / 398.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.005232/0.6641, allocations: 1.623 MB / 473 MB, free: 15.4 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.6641, allocations: 54.19 kB / 473 MB, free: 15.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002521/0.6644, allocations: 264.5 kB / 473.3 MB, free: 15.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.756e-05/0.6644, allocations: 28.89 kB / 473.3 MB, free: 15.2 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.6645, allocations: 165.9 kB / 473.5 MB, free: 15.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.549e-05/0.6646, allocations: 104.7 kB / 473.6 MB, free: 15.01 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.911e-05/0.6646, allocations: 6.625 kB / 473.6 MB, free: 15.01 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002508/0.6649, allocations: 346.6 kB / 473.9 MB, free: 14.69 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.665, allocations: 86.25 kB / 474 MB, free: 14.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/0.6652, allocations: 195 kB / 474.2 MB, free: 14.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/0.6654, allocations: 111.2 kB / 474.3 MB, free: 14.56 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.6654, allocations: 2.906 kB / 474.3 MB, free: 14.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005902/0.666, allocations: 394.4 kB / 474.7 MB, free: 14.49 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.6661, allocations: 7.875 kB / 474.7 MB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/0.6661, allocations: 5.844 kB / 474.7 MB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002107/0.6663, allocations: 70.73 kB / 474.8 MB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003246/0.6666, allocations: 80.59 kB / 474.9 MB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00137/0.668, allocations: 1.87 MB / 476.7 MB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002592/0.6683, allocations: 24.33 kB / 476.8 MB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.256e-05/0.6683, allocations: 39.44 kB / 476.8 MB, free: 12.69 MB / 398.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: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000161/0.6685, allocations: 150.5 kB / 476.9 MB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.853e-05/0.6686, allocations: 33.8 kB / 477 MB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008584/0.6694, allocations: 431.8 kB / 477.4 MB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.6695, allocations: 3 kB / 477.4 MB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.6695, allocations: 3.984 kB / 477.4 MB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004808/0.67, allocations: 0.5688 MB / 478 MB, free: 12 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009548/0.6709, allocations: 0.7211 MB / 478.7 MB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.6709, allocations: 2.719 kB / 478.7 MB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002955/0.6712, allocations: 67.08 kB / 478.8 MB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.476e-05/0.6713, allocations: 24.2 kB / 478.8 MB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.6714, allocations: 13.97 kB / 478.8 MB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008473/0.6722, allocations: 1.289 MB / 480.1 MB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.6722, allocations: 6.312 kB / 480.1 MB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005691/0.6728, allocations: 0.491 MB / 480.6 MB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.145e-05/0.6729, allocations: 107.7 kB / 480.7 MB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.734e-05/0.673, allocations: 5.562 kB / 480.7 MB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.6732, allocations: 15.53 kB / 480.7 MB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.6733, allocations: 23.69 kB / 480.7 MB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.794e-05/0.6733, allocations: 30.91 kB / 480.8 MB, free: 10.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001696/0.6735, allocations: 186.3 kB / 481 MB, free: 9.992 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6735, allocations: 4.062 kB / 481 MB, free: 9.988 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005288/0.674, allocations: 123.1 kB / 481.1 MB, free: 9.984 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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.0003237/0.6744, allocations: 153.8 kB / 481.2 MB, free: 9.883 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005255/0.6749, allocations: 368 kB / 481.6 MB, free: 9.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.6749, allocations: 0 / 481.6 MB, free: 9.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002668/0.6752, allocations: 235.8 kB / 481.8 MB, free: 9.656 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007983/0.676, allocations: 171.6 kB / 482 MB, free: 9.629 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.6771, allocations: 0.8241 MB / 482.8 MB, free: 9.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/0.6775, allocations: 0.7746 MB / 483.6 MB, free: 8.477 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005972/0.6781, allocations: 112.6 kB / 483.7 MB, free: 8.434 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001915/0.6783, allocations: 67.02 kB / 483.8 MB, free: 8.418 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.6783, allocations: 0 / 483.8 MB, free: 8.418 MB / 398.1 MB Notification: Performance of Templates: time 0.01262/0.6909, allocations: 8.246 MB / 492 MB, free: 6.824 MB / 398.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1) Environment - environmentSimulation: