Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.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.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000897/0.0008971, allocations: 93.88 kB / 16.3 MB, free: 6.457 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.0009383/0.0009385, allocations: 184.2 kB / 17.2 MB, free: 6.34 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.321/1.321, allocations: 205.4 MB / 223.4 MB, free: 13.17 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.0004538/0.000454, allocations: 8 kB / 280.1 MB, free: 3.766 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09168/0.09215, allocations: 47.58 MB / 327.7 MB, free: 4.117 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.0236/0.1158, allocations: 22.36 MB / 350 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006601/0.1224, allocations: 5.29 MB / 355.3 MB, free: 8.387 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004854/0.123, allocations: 4 kB / 355.3 MB, free: 8.383 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008643/0.1238, allocations: 246.9 kB / 355.6 MB, free: 8.141 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008264/0.1247, allocations: 323 kB / 355.9 MB, free: 7.824 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003832/0.1285, allocations: 1.352 MB / 357.2 MB, free: 6.469 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001104/0.1297, allocations: 0.6939 MB / 357.9 MB, free: 5.773 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002446/0.1299, allocations: 114.1 kB / 358.1 MB, free: 5.664 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006777/0.1306, allocations: 351 kB / 358.4 MB, free: 5.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004713/0.1311, allocations: 247 kB / 358.6 MB, free: 5.078 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.823e-05/0.1312, allocations: 20 kB / 358.7 MB, free: 5.059 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001633/0.1328, allocations: 0.7493 MB / 359.4 MB, free: 4.309 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001526/0.133, allocations: 103.6 kB / 359.5 MB, free: 4.207 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001979/0.1332, allocations: 129.5 kB / 359.6 MB, free: 4.074 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.1342, allocations: 0.7523 MB / 360.4 MB, free: 3.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.1342, allocations: 0 / 360.4 MB, free: 3.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1343, allocations: 0 / 360.4 MB, free: 3.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.59e-05/0.1343, allocations: 0 / 360.4 MB, free: 3.32 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001202/0.1355, allocations: 0.69 MB / 361.1 MB, free: 2.582 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.1355, allocations: 8.031 kB / 361.1 MB, free: 2.574 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006176/0.1362, allocations: 83.41 kB / 361.2 MB, free: 2.492 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004939/0.1367, allocations: 338.2 kB / 361.5 MB, free: 2.121 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.1367, allocations: 29 kB / 361.5 MB, free: 2.094 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.188e-05/0.1368, allocations: 36 kB / 361.6 MB, free: 2.059 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007042/0.1375, allocations: 463.5 kB / 362 MB, free: 1.562 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/0.1375, allocations: 4 kB / 362 MB, free: 1.559 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.927e-05/0.1376, allocations: 16 kB / 362 MB, free: 1.543 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.1376, allocations: 15.95 kB / 362 MB, free: 1.527 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004902/0.1381, allocations: 303.7 kB / 362.3 MB, free: 1.23 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01333/0.1514, allocations: 6.734 MB / 369.1 MB, free: 9.91 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005249/0.152, allocations: 270.5 kB / 369.3 MB, free: 9.637 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01007/0.1621, allocations: 3.873 MB / 373.2 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.199e-05/0.1622, allocations: 38.56 kB / 373.3 MB, free: 5.418 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 2.515e-06/0.1622, allocations: 0 / 373.3 MB, free: 5.418 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.01208/0.1743, allocations: 2.493 MB / 375.7 MB, free: 2.844 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.1744, allocations: 55.41 kB / 375.8 MB, free: 2.777 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003806/0.1748, allocations: 299.3 kB / 376.1 MB, free: 2.477 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.798e-05/0.1748, allocations: 37.7 kB / 376.1 MB, free: 2.434 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.175, allocations: 228 kB / 376.3 MB, free: 2.207 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.1751, allocations: 161.6 kB / 376.5 MB, free: 2.047 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.155e-05/0.1751, allocations: 8 kB / 376.5 MB, free: 2.039 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1753, allocations: 346.8 kB / 376.9 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000278/0.1756, allocations: 153.1 kB / 377 MB, free: 1.539 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003339/0.1759, allocations: 271.7 kB / 377.3 MB, free: 1.227 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003175/0.1762, allocations: 196.7 kB / 377.5 MB, free: 1.035 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1762, allocations: 0 / 377.5 MB, free: 1.035 MB / 318.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001081/0.1773, allocations: 0.5916 MB / 378.1 MB, free: 436 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.1774, allocations: 8 kB / 378.1 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.1774, allocations: 4.469 kB / 378.1 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1654/0.3428, allocations: 0.7643 MB / 378.8 MB, free: 56.17 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004758/0.3433, allocations: 106.8 kB / 378.9 MB, free: 56.17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001672/0.345, allocations: 2.459 MB / 381.4 MB, free: 53.9 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003783/0.3454, allocations: 40.89 kB / 381.4 MB, free: 53.9 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.3455, allocations: 27.31 kB / 381.5 MB, free: 53.9 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002057/0.3457, allocations: 176.8 kB / 381.6 MB, free: 53.78 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.838e-05/0.3458, allocations: 41.02 kB / 381.7 MB, free: 53.78 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/0.3471, allocations: 0.8545 MB / 382.5 MB, free: 53.69 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.3471, allocations: 11 kB / 382.5 MB, free: 53.69 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.3471, allocations: 1.453 kB / 382.5 MB, free: 53.69 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009875/0.3481, allocations: 0.958 MB / 383.5 MB, free: 53.31 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/0.3499, allocations: 1.5 MB / 385 MB, free: 52.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.3499, allocations: 0.6562 kB / 385 MB, free: 52.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003031/0.3502, allocations: 76.48 kB / 385.1 MB, free: 52.58 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003405/0.3536, allocations: 0.635 MB / 385.7 MB, free: 52.48 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.983e-05/0.3537, allocations: 15.53 kB / 385.7 MB, free: 52.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006783/0.3543, allocations: 1.283 MB / 387 MB, free: 51.33 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3544, allocations: 0 / 387 MB, free: 51.33 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/0.3558, allocations: 1.231 MB / 388.2 MB, free: 50.68 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.3559, allocations: 122 kB / 388.4 MB, free: 50.56 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.355e-05/0.356, allocations: 11.47 kB / 388.4 MB, free: 50.55 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002749/0.3563, allocations: 19.08 kB / 388.4 MB, free: 50.55 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.416e-05/0.3563, allocations: 33.67 kB / 388.4 MB, free: 50.55 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.661e-05/0.3564, allocations: 21.75 kB / 388.4 MB, free: 50.54 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002215/0.3566, allocations: 207 kB / 388.6 MB, free: 50.43 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3566, allocations: 2.656 kB / 388.6 MB, free: 50.43 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007725/0.3574, allocations: 229.4 kB / 388.9 MB, free: 50.41 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005354/0.3579, allocations: 280 kB / 389.1 MB, free: 50.3 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00109/0.359, allocations: 0.6921 MB / 389.8 MB, free: 49.98 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.3591, allocations: 3.031 kB / 389.8 MB, free: 49.98 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008598/0.3599, allocations: 427 kB / 390.3 MB, free: 49.82 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.3611, allocations: 225.1 kB / 390.5 MB, free: 49.79 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/0.3629, allocations: 1.471 MB / 391.9 MB, free: 48.91 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.3632, allocations: 0.8495 MB / 392.8 MB, free: 48.21 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000312/0.3635, allocations: 70.77 kB / 392.9 MB, free: 48.19 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.525e-05/0.3636, allocations: 41.86 kB / 392.9 MB, free: 48.18 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3636, allocations: 3.938 kB / 392.9 MB, free: 48.18 MB / 318.1 MB Notification: Performance of Templates: time 0.01713/0.3808, allocations: 11.83 MB / 404.7 MB, free: 40.16 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) Environment - environmentSimulation: