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.0007931/0.000793, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008209/0.0008209, allocations: 172.7 kB / 15.95 MB, free: 208 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.315/1.315, allocations: 205.4 MB / 222.1 MB, free: 5.883 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.0004254/0.0004254, allocations: 18.66 kB / 278.9 MB, free: 13.06 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2089, allocations: 47.59 MB / 326.5 MB, free: 1.367 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.06164/0.2706, allocations: 60.67 MB / 387.1 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006743/0.2774, allocations: 5.106 MB / 392.3 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005014/0.2779, allocations: 7.938 kB / 392.3 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007336/0.2787, allocations: 238.6 kB / 392.5 MB, free: 1.352 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008561/0.2796, allocations: 493.4 kB / 393 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01324/0.2928, allocations: 5.191 MB / 398.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002076/0.2949, allocations: 1.914 MB / 400.1 MB, free: 9.742 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002823/0.2952, allocations: 155.4 kB / 400.2 MB, free: 9.586 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007471/0.296, allocations: 0.5333 MB / 400.8 MB, free: 9.051 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006821/0.2966, allocations: 0.5528 MB / 401.3 MB, free: 8.496 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.217e-05/0.2967, allocations: 36 kB / 401.4 MB, free: 8.461 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0153/0.312, allocations: 8.512 MB / 409.9 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004196/0.3125, allocations: 275.3 kB / 410.1 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002595/0.3128, allocations: 173.4 kB / 410.3 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006526/0.3193, allocations: 3.832 MB / 414.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3193, allocations: 0 / 414.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3193, allocations: 0 / 414.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.3194, allocations: 4 kB / 414.1 MB, free: 11.65 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.003179/0.3225, allocations: 1.407 MB / 415.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.3226, allocations: 8.031 kB / 415.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000375/0.323, allocations: 83.23 kB / 415.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000545/0.3235, allocations: 425.1 kB / 416 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.37e-05/0.3236, allocations: 49.31 kB / 416.1 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.299e-05/0.3237, allocations: 60 kB / 416.2 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/0.3254, allocations: 0.8068 MB / 417 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.3254, allocations: 3.906 kB / 417 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.579e-05/0.3255, allocations: 28 kB / 417 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.3255, allocations: 19.95 kB / 417 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001815/0.3273, allocations: 1.02 MB / 418 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01622/0.3436, allocations: 12.82 MB / 430.9 MB, free: 8.688 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/0.3453, allocations: 0.7531 MB / 431.6 MB, free: 7.926 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000603/0.3459, allocations: 407.3 kB / 432 MB, free: 7.527 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01409/0.36, allocations: 12.3 MB / 444.3 MB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.953e-05/0.3601, allocations: 47.22 kB / 444.3 MB, free: 8.793 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 3.417e-06/0.3601, allocations: 0 / 444.3 MB, free: 8.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=88): time 0.009292/0.3694, allocations: 3.427 MB / 447.8 MB, free: 5.273 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.3695, allocations: 60.41 kB / 447.8 MB, free: 5.203 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003896/0.3699, allocations: 348.5 kB / 448.2 MB, free: 4.855 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.836e-05/0.3699, allocations: 45.7 kB / 448.2 MB, free: 4.805 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.3701, allocations: 248.6 kB / 448.5 MB, free: 4.555 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002164/0.3703, allocations: 303.6 kB / 448.8 MB, free: 4.254 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.682e-05/0.3704, allocations: 16 kB / 448.8 MB, free: 4.238 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.3705, allocations: 370.7 kB / 449.1 MB, free: 3.867 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005854/0.3711, allocations: 369.8 kB / 449.5 MB, free: 3.504 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00089/0.372, allocations: 488.2 kB / 450 MB, free: 2.996 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009088/0.3729, allocations: 438.9 kB / 450.4 MB, free: 2.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3729, allocations: 0 / 450.4 MB, free: 2.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00253/0.3755, allocations: 1.105 MB / 451.5 MB, free: 1.445 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.3755, allocations: 7.953 kB / 451.5 MB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.3755, allocations: 4 kB / 451.5 MB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007876/0.3763, allocations: 175.4 kB / 451.7 MB, free: 1.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000759/0.3771, allocations: 187.8 kB / 451.9 MB, free: 1.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1503/0.5274, allocations: 3.898 MB / 455.8 MB, free: 114.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006261/0.5281, allocations: 66.03 kB / 455.8 MB, free: 114.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/0.5282, allocations: 44.22 kB / 455.9 MB, free: 114.3 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 (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 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.0003693/0.5286, allocations: 226 kB / 456.1 MB, free: 114.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003742/0.529, allocations: 63.67 kB / 456.2 MB, free: 114.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002484/0.5315, allocations: 1.287 MB / 457.5 MB, free: 114 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.5315, allocations: 7.812 kB / 457.5 MB, free: 114 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.5315, allocations: 4.656 kB / 457.5 MB, free: 114 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001709/0.5332, allocations: 1.325 MB / 458.8 MB, free: 113.1 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003108/0.5363, allocations: 1.963 MB / 460.8 MB, free: 112.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.5364, allocations: 5.047 kB / 460.8 MB, free: 112.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006492/0.537, allocations: 163.5 kB / 460.9 MB, free: 112.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001646/0.5387, allocations: 298.1 kB / 461.2 MB, free: 112.1 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.668e-05/0.5388, allocations: 26.67 kB / 461.2 MB, free: 112 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005594/0.5393, allocations: 1.294 MB / 462.5 MB, free: 110.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.5393, allocations: 0 / 462.5 MB, free: 110.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002239/0.5416, allocations: 1.415 MB / 463.9 MB, free: 110.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.5417, allocations: 140.9 kB / 464.1 MB, free: 110 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.752e-05/0.5418, allocations: 19.94 kB / 464.1 MB, free: 110 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005135/0.5424, allocations: 63.03 kB / 464.2 MB, free: 110 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.605e-05/0.5425, allocations: 54.22 kB / 464.2 MB, free: 110 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.002e-05/0.5425, allocations: 45.14 kB / 464.3 MB, free: 110 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002945/0.5428, allocations: 279.1 kB / 464.5 MB, free: 109.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5429, allocations: 0 / 464.5 MB, free: 109.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00417/0.547, allocations: 1.381 MB / 465.9 MB, free: 109.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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004574/0.5516, allocations: 1.619 MB / 467.5 MB, free: 109.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001783/0.5534, allocations: 1.146 MB / 468.7 MB, free: 108.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.5534, allocations: 5.844 kB / 468.7 MB, free: 108.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007343/0.5542, allocations: 485.6 kB / 469.2 MB, free: 108.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/0.5558, allocations: 377.3 kB / 469.5 MB, free: 108.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00236/0.5582, allocations: 1.974 MB / 471.5 MB, free: 107 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.5585, allocations: 0.9113 MB / 472.4 MB, free: 106.1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007122/0.5592, allocations: 209.1 kB / 472.6 MB, free: 105.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.5594, allocations: 79.41 kB / 472.7 MB, free: 105.8 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.5594, allocations: 4 kB / 472.7 MB, free: 105.8 MB / 382.1 MB Notification: Performance of Templates: time 0.04943/0.6088, allocations: 50.22 MB / 0.5107 GB, free: 55.57 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)