Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.0008097/0.0008097, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.005513/0.005513, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.464/1.464, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0004998/0.0005, allocations: 8 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2771, allocations: 47.59 MB / 327 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.4462/0.7234, allocations: 140 MB / 467 MB, free: 1.246 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002794/0.7263, allocations: 1.699 MB / 468.7 MB, free: 1.176 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006025/0.7269, allocations: 6.062 kB / 468.7 MB, free: 1.176 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008932/0.7278, allocations: 154.8 kB / 468.9 MB, free: 1.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001057/0.7289, allocations: 322.6 kB / 469.2 MB, free: 1.148 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.7301, allocations: 390.8 kB / 469.6 MB, free: 1.125 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001628/0.7317, allocations: 1.302 MB / 470.9 MB, free: 1.121 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002401/0.732, allocations: 83.66 kB / 471 MB, free: 1.102 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008715/0.7328, allocations: 346.9 kB / 471.3 MB, free: 1.098 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005138/0.7334, allocations: 332.4 kB / 471.6 MB, free: 1.094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.288e-05/0.7334, allocations: 14.84 kB / 471.6 MB, free: 1.094 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003685/0.7338, allocations: 142.8 kB / 471.8 MB, free: 1.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.7339, allocations: 83 kB / 471.9 MB, free: 1.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002254/0.7341, allocations: 192.4 kB / 472 MB, free: 1.059 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005498/0.7347, allocations: 484.1 kB / 472.5 MB, free: 1.031 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.7347, allocations: 0 / 472.5 MB, free: 1.031 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.7347, allocations: 0 / 472.5 MB, free: 1.031 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.7347, allocations: 0 / 472.5 MB, free: 1.031 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.001133/0.7359, allocations: 0.5246 MB / 473 MB, free: 16.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.248e-05/0.736, allocations: 8.562 kB / 473 MB, free: 16.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004647/0.7364, allocations: 46.39 kB / 473.1 MB, free: 16.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003933/0.7368, allocations: 283.1 kB / 473.4 MB, free: 16.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.7369, allocations: 16.66 kB / 473.4 MB, free: 16.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.744e-05/0.7369, allocations: 29.62 kB / 473.4 MB, free: 16.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005045/0.7374, allocations: 297.3 kB / 473.7 MB, free: 16.28 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.7375, allocations: 1.969 kB / 473.7 MB, free: 16.28 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.496e-05/0.7375, allocations: 14.09 kB / 473.7 MB, free: 16.28 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.7375, allocations: 8.312 kB / 473.7 MB, free: 16.28 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003047/0.7378, allocations: 216.5 kB / 473.9 MB, free: 16.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/0.7395, allocations: 1.286 MB / 475.2 MB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000347/0.7398, allocations: 189.7 kB / 475.4 MB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.74, allocations: 93.64 kB / 475.5 MB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001387/0.7401, allocations: 170.6 kB / 475.7 MB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.7402, allocations: 32.31 kB / 475.7 MB, free: 15.13 MB / 398.1 MB Notification: Performance of pre-optimization done (n=21): time 1.493e-06/0.7402, allocations: 0 / 475.7 MB, free: 15.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.002312/0.7425, allocations: 1.041 MB / 476.7 MB, free: 14.61 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.7426, allocations: 57.25 kB / 476.8 MB, free: 14.54 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.7428, allocations: 258.7 kB / 477 MB, free: 14.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.7429, allocations: 29.45 kB / 477.1 MB, free: 14.4 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.743, allocations: 186 kB / 477.3 MB, free: 14.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.225e-05/0.7431, allocations: 94.94 kB / 477.4 MB, free: 14.21 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-05/0.7431, allocations: 35.27 kB / 477.4 MB, free: 14.2 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.7433, allocations: 333.7 kB / 477.7 MB, free: 13.89 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.7434, allocations: 85.7 kB / 477.8 MB, free: 13.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.7436, allocations: 186.3 kB / 478 MB, free: 13.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003305/0.7439, allocations: 284.6 kB / 478.3 MB, free: 13.65 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.744, allocations: 4 kB / 478.3 MB, free: 13.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005115/0.7445, allocations: 438.3 kB / 478.7 MB, free: 13.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.7445, allocations: 9.812 kB / 478.7 MB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.7445, allocations: 2.938 kB / 478.7 MB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001505/0.7447, allocations: 47.02 kB / 478.7 MB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002801/0.745, allocations: 73.3 kB / 478.8 MB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001722/0.7467, allocations: 2.57 MB / 481.4 MB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002103/0.7469, allocations: 22.16 kB / 481.4 MB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.094e-05/0.747, allocations: 15.22 kB / 481.4 MB, free: 10.94 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 (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.0001581/0.7471, allocations: 162.5 kB / 481.6 MB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.631e-05/0.7472, allocations: 27.98 kB / 481.6 MB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004808/0.7477, allocations: 354.2 kB / 482 MB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.7477, allocations: 6.172 kB / 482 MB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.7477, allocations: 0 / 482 MB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004981/0.7482, allocations: 0.6176 MB / 482.6 MB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008618/0.7491, allocations: 0.7535 MB / 483.3 MB, free: 9.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.7491, allocations: 0 / 483.3 MB, free: 9.688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002554/0.7493, allocations: 59.14 kB / 483.4 MB, free: 9.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.483e-05/0.7494, allocations: 23.98 kB / 483.4 MB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.7495, allocations: 6.469 kB / 483.4 MB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007819/0.7502, allocations: 1.291 MB / 484.7 MB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.7503, allocations: 0 / 484.7 MB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005631/0.7508, allocations: 0.517 MB / 485.2 MB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.421e-05/0.7509, allocations: 100.4 kB / 485.3 MB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.75e-05/0.751, allocations: 10.88 kB / 485.3 MB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002377/0.7512, allocations: 17.52 kB / 485.4 MB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.7512, allocations: 15.73 kB / 485.4 MB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.606e-05/0.7513, allocations: 17.73 kB / 485.4 MB, free: 8.023 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001467/0.7514, allocations: 185.6 kB / 485.6 MB, free: 7.945 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.7514, allocations: 0 / 485.6 MB, free: 7.945 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004697/0.7519, allocations: 108.7 kB / 485.7 MB, free: 7.938 MB / 398.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.0002804/0.7522, allocations: 139.1 kB / 485.8 MB, free: 7.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005962/0.7528, allocations: 450.5 kB / 486.2 MB, free: 7.617 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.7528, allocations: 0 / 486.2 MB, free: 7.617 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002327/0.7531, allocations: 227.9 kB / 486.5 MB, free: 7.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009416/0.754, allocations: 156.7 kB / 486.6 MB, free: 7.484 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.7551, allocations: 0.8394 MB / 487.5 MB, free: 7.008 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.7554, allocations: 0.767 MB / 488.2 MB, free: 6.305 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002682/0.7557, allocations: 58.41 kB / 488.3 MB, free: 6.289 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.88e-05/0.7558, allocations: 32.38 kB / 488.3 MB, free: 6.281 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.7558, allocations: 0 / 488.3 MB, free: 6.281 MB / 398.1 MB Notification: Performance of Templates: time 0.009682/0.7655, allocations: 5.872 MB / 494.2 MB, free: 5.816 MB / 398.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1)