Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0008564/0.0008565, allocations: 88.39 kB / 16.31 MB, free: 6.449 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.0009149/0.000915, allocations: 183.1 kB / 17.21 MB, free: 6.316 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.431/1.431, allocations: 205.4 MB / 223.4 MB, free: 5.281 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.0004289/0.0004291, allocations: 15.98 kB / 280.1 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.212, allocations: 47.59 MB / 327.7 MB, free: 1.672 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.06684/0.2789, allocations: 60.67 MB / 388.4 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007248/0.2862, allocations: 5.102 MB / 393.5 MB, free: 1.695 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006971/0.2869, allocations: 11.94 kB / 393.5 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.288, allocations: 234.5 kB / 393.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001159/0.2892, allocations: 489.5 kB / 394.2 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01512/0.3043, allocations: 5.191 MB / 399.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002273/0.3066, allocations: 1.91 MB / 401.3 MB, free: 9.852 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003658/0.307, allocations: 159.4 kB / 401.5 MB, free: 9.691 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001068/0.308, allocations: 0.5333 MB / 402 MB, free: 9.156 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00097/0.309, allocations: 0.5528 MB / 402.6 MB, free: 8.602 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001459/0.3092, allocations: 40 kB / 402.6 MB, free: 8.562 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01632/0.3255, allocations: 8.508 MB / 411.1 MB, free: 44 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006352/0.3262, allocations: 271.3 kB / 411.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000474/0.3267, allocations: 173.4 kB / 411.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008929/0.3356, allocations: 3.836 MB / 415.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.338e-06/0.3357, allocations: 3.984 kB / 415.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.3357, allocations: 0 / 415.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.477e-05/0.3358, allocations: 0 / 415.4 MB, free: 11.75 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.004017/0.3398, allocations: 1.407 MB / 416.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.3399, allocations: 8.031 kB / 416.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005008/0.3404, allocations: 83.23 kB / 416.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000806/0.3412, allocations: 425.1 kB / 417.3 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.778e-05/0.3412, allocations: 45.31 kB / 417.3 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/0.3414, allocations: 60 kB / 417.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001962/0.3434, allocations: 0.8107 MB / 418.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.3434, allocations: 3.906 kB / 418.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-05/0.3435, allocations: 31.94 kB / 418.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.3435, allocations: 15.95 kB / 418.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001958/0.3455, allocations: 1.032 MB / 419.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01749/0.363, allocations: 12.82 MB / 432.1 MB, free: 8.785 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001808/0.3648, allocations: 0.7529 MB / 432.9 MB, free: 8.023 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006334/0.3655, allocations: 407.3 kB / 433.3 MB, free: 7.625 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0145/0.38, allocations: 12.31 MB / 445.6 MB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.474e-05/0.3801, allocations: 51.16 kB / 445.6 MB, free: 8.879 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 3.296e-06/0.3801, allocations: 0 / 445.6 MB, free: 8.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=88): time 0.009282/0.3894, allocations: 3.412 MB / 449 MB, free: 5.375 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.3895, allocations: 64.41 kB / 449.1 MB, free: 5.301 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004009/0.3899, allocations: 348.5 kB / 449.4 MB, free: 4.953 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.193e-05/0.39, allocations: 45.7 kB / 449.5 MB, free: 4.902 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.3901, allocations: 240.6 kB / 449.7 MB, free: 4.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000222/0.3904, allocations: 299.6 kB / 450 MB, free: 4.363 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.728e-05/0.3904, allocations: 20 kB / 450 MB, free: 4.344 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.3906, allocations: 362.8 kB / 450.4 MB, free: 3.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005693/0.3911, allocations: 369.8 kB / 450.7 MB, free: 3.617 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008794/0.392, allocations: 492.2 kB / 451.2 MB, free: 3.105 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008973/0.3929, allocations: 438.9 kB / 451.7 MB, free: 2.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.3929, allocations: 0 / 451.7 MB, free: 2.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002505/0.3955, allocations: 1.109 MB / 452.8 MB, free: 1.551 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.3955, allocations: 11.95 kB / 452.8 MB, free: 1.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.3955, allocations: 3.984 kB / 452.8 MB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007777/0.3963, allocations: 167.5 kB / 452.9 MB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007225/0.397, allocations: 191.7 kB / 453.1 MB, free: 1.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1514/0.5484, allocations: 3.9 MB / 457 MB, free: 114.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006117/0.5491, allocations: 58.03 kB / 457.1 MB, free: 114.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.5492, allocations: 48.59 kB / 457.1 MB, free: 114.6 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.0003656/0.5496, allocations: 225.9 kB / 457.4 MB, free: 114.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003553/0.55, allocations: 65.23 kB / 457.4 MB, free: 114.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00238/0.5523, allocations: 1.286 MB / 458.7 MB, free: 114.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.5524, allocations: 14.17 kB / 458.7 MB, free: 114.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.5524, allocations: 0 / 458.7 MB, free: 114.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00151/0.5539, allocations: 1.321 MB / 460 MB, free: 113.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002695/0.5566, allocations: 1.978 MB / 462 MB, free: 112.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.5566, allocations: 2.5 kB / 462 MB, free: 112.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006505/0.5573, allocations: 163.2 kB / 462.2 MB, free: 112.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001654/0.5589, allocations: 293.8 kB / 462.5 MB, free: 112.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-05/0.559, allocations: 33.56 kB / 462.5 MB, free: 112.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004942/0.5595, allocations: 1.285 MB / 463.8 MB, free: 111.1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.5595, allocations: 7.516 kB / 463.8 MB, free: 111.1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002129/0.5617, allocations: 1.414 MB / 465.2 MB, free: 110.4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.5618, allocations: 136.8 kB / 465.3 MB, free: 110.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.98e-05/0.5619, allocations: 25.14 kB / 465.4 MB, free: 110.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005136/0.5624, allocations: 51.42 kB / 465.4 MB, free: 110.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.822e-05/0.5625, allocations: 63.31 kB / 465.5 MB, free: 110.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-05/0.5626, allocations: 40.59 kB / 465.5 MB, free: 110.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002508/0.5628, allocations: 280.4 kB / 465.8 MB, free: 110.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5628, allocations: 3.625 kB / 465.8 MB, free: 110.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003146/0.566, allocations: 1.389 MB / 467.2 MB, free: 110 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.00425/0.5703, allocations: 1.6 MB / 468.8 MB, free: 109.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001885/0.5722, allocations: 1.152 MB / 469.9 MB, free: 109 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.5722, allocations: 2.844 kB / 469.9 MB, free: 109 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007093/0.5729, allocations: 490.1 kB / 470.4 MB, free: 108.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001635/0.5745, allocations: 381 kB / 470.8 MB, free: 108.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002308/0.5769, allocations: 1.966 MB / 472.8 MB, free: 107.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.5771, allocations: 0.9127 MB / 473.7 MB, free: 106.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007011/0.5778, allocations: 209.2 kB / 473.9 MB, free: 106.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/0.578, allocations: 79.36 kB / 473.9 MB, free: 106.1 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.578, allocations: 4 kB / 473.9 MB, free: 106.1 MB / 382.1 MB Notification: Performance of Templates: time 0.05142/0.6295, allocations: 50.22 MB / 0.5119 GB, free: 55.82 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1)