Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.MoistAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000766/0.000766, allocations: 91.14 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.004862/0.004862, 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.328/1.328, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.0004345/0.0004345, allocations: 12.28 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2035, allocations: 47.59 MB / 327 MB, free: 1.742 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07101/0.2746, allocations: 66 MB / 393 MB, free: 1.426 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006868/0.2815, allocations: 5.485 MB / 398.5 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004777/0.282, allocations: 4 kB / 398.5 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009759/0.283, allocations: 306.5 kB / 398.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001086/0.2841, allocations: 0.4975 MB / 399.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0166/0.3007, allocations: 5.907 MB / 405.2 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00246/0.3032, allocations: 2.308 MB / 407.5 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003548/0.3036, allocations: 162.1 kB / 407.7 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009887/0.3046, allocations: 0.5215 MB / 408.2 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009027/0.3055, allocations: 0.5683 MB / 408.8 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001269/0.3056, allocations: 40 kB / 408.8 MB, free: 1.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01679/0.3224, allocations: 10.27 MB / 419.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003947/0.3229, allocations: 275.2 kB / 419.4 MB, free: 7.031 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005268/0.3234, allocations: 412 kB / 419.8 MB, free: 6.621 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01187/0.3353, allocations: 5.979 MB / 425.7 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.3353, allocations: 7.984 kB / 425.7 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.3353, allocations: 4 kB / 425.7 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.771e-05/0.3354, allocations: 3.938 kB / 425.8 MB, free: 0.6133 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003477/0.3389, allocations: 1.384 MB / 427.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.3389, allocations: 8.031 kB / 427.1 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000409/0.3393, allocations: 83.23 kB / 427.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005607/0.3399, allocations: 444.8 kB / 427.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.651e-05/0.3399, allocations: 49.25 kB / 427.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.337e-05/0.34, allocations: 64 kB / 427.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.3417, allocations: 0.8068 MB / 428.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.3417, allocations: 3.906 kB / 428.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.907e-05/0.3418, allocations: 32 kB / 428.6 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.3418, allocations: 16 kB / 428.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001797/0.3436, allocations: 1.024 MB / 429.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01657/0.3602, allocations: 12.83 MB / 442.5 MB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.3619, allocations: 0.7567 MB / 443.2 MB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005832/0.3625, allocations: 422.1 kB / 443.7 MB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1577/0.5202, allocations: 12.29 MB / 455.9 MB, free: 116.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.336e-05/0.5203, allocations: 44 kB / 456 MB, free: 116.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 2.514e-06/0.5203, allocations: 0.5938 kB / 456 MB, free: 116.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=88): time 0.009796/0.5301, allocations: 3.424 MB / 459.4 MB, free: 115.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.5302, allocations: 60.66 kB / 459.5 MB, free: 115.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003793/0.5306, allocations: 357.5 kB / 459.8 MB, free: 115.1 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.021e-05/0.5307, allocations: 43.23 kB / 459.9 MB, free: 115.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.5308, allocations: 235.8 kB / 460.1 MB, free: 114.9 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001689/0.531, allocations: 306.5 kB / 460.4 MB, free: 114.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.471e-05/0.5311, allocations: 74.67 kB / 460.5 MB, free: 114.6 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.929e-05/0.5311, allocations: 369 kB / 460.8 MB, free: 114.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005536/0.5317, allocations: 369.4 kB / 461.2 MB, free: 114.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008114/0.5325, allocations: 497.6 kB / 461.7 MB, free: 113.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001515/0.534, allocations: 0.8965 MB / 462.6 MB, free: 113.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.5341, allocations: 3.969 kB / 462.6 MB, free: 113.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002208/0.5363, allocations: 1.112 MB / 463.7 MB, free: 113 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.5363, allocations: 7.906 kB / 463.7 MB, free: 113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.5363, allocations: 4.672 kB / 463.7 MB, free: 113 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007496/0.5371, allocations: 170.4 kB / 463.9 MB, free: 112.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006633/0.5377, allocations: 190.8 kB / 464 MB, free: 112.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001739/0.5395, allocations: 3.92 MB / 468 MB, free: 109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004812/0.54, allocations: 62.73 kB / 468 MB, free: 109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.022e-05/0.5401, allocations: 44.75 kB / 468.1 MB, free: 109 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000301/0.5404, allocations: 221.9 kB / 468.3 MB, free: 108.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003288/0.5407, allocations: 66.41 kB / 468.4 MB, free: 108.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001944/0.5427, allocations: 1.283 MB / 469.6 MB, free: 108 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.5427, allocations: 8.969 kB / 469.6 MB, free: 108 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.5427, allocations: 0 / 469.6 MB, free: 108 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001383/0.5441, allocations: 1.322 MB / 471 MB, free: 107 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002463/0.5466, allocations: 1.974 MB / 472.9 MB, free: 105.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.5466, allocations: 0 / 472.9 MB, free: 105.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006255/0.5472, allocations: 156.3 kB / 473.1 MB, free: 105.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001668/0.5489, allocations: 301.8 kB / 473.4 MB, free: 105.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.094e-05/0.549, allocations: 31.55 kB / 473.4 MB, free: 105.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004642/0.5494, allocations: 1.296 MB / 474.7 MB, free: 104.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5494, allocations: 0 / 474.7 MB, free: 104.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002079/0.5515, allocations: 1.417 MB / 476.1 MB, free: 103.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.5516, allocations: 141.7 kB / 476.3 MB, free: 103.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.358e-05/0.5517, allocations: 25.81 kB / 476.3 MB, free: 103.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005723/0.5523, allocations: 52.67 kB / 476.3 MB, free: 103.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.764e-05/0.5524, allocations: 60.3 kB / 476.4 MB, free: 103.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.129e-05/0.5525, allocations: 43.53 kB / 476.4 MB, free: 103.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002282/0.5527, allocations: 280.1 kB / 476.7 MB, free: 103 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5527, allocations: 0 / 476.7 MB, free: 103 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002946/0.5557, allocations: 1.392 MB / 478.1 MB, free: 101.7 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004338/0.56, allocations: 1.748 MB / 479.9 MB, free: 100.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001659/0.5617, allocations: 1.146 MB / 481 MB, free: 99.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.5617, allocations: 4 kB / 481 MB, free: 99.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007161/0.5624, allocations: 491.2 kB / 481.5 MB, free: 98.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00186/0.5643, allocations: 379.9 kB / 481.9 MB, free: 98.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/0.5665, allocations: 2.042 MB / 483.9 MB, free: 96.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.5668, allocations: 0.9088 MB / 484.8 MB, free: 95.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006668/0.5675, allocations: 213.3 kB / 485 MB, free: 95.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/0.5677, allocations: 75.42 kB / 485.1 MB, free: 95 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.5677, allocations: 0 / 485.1 MB, free: 95 MB / 382.1 MB Notification: Performance of Templates: time 0.05366/0.6214, allocations: 50.39 MB / 0.5229 GB, free: 44.55 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1)