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.00113/0.00113, allocations: 93.86 kB / 16.65 MB, free: 6.535 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.001321/0.001321, allocations: 176.6 kB / 17.56 MB, free: 6.18 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.291/1.291, allocations: 205.4 MB / 223.7 MB, free: 12.99 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.0006276/0.0006277, allocations: 8.516 kB / 280.7 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08481/0.08545, allocations: 47.59 MB / 328.3 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2305/0.316, allocations: 65.99 MB / 394.3 MB, free: 10.69 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005734/0.3218, allocations: 5.478 MB / 399.8 MB, free: 10.6 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006066/0.3225, allocations: 6.688 kB / 399.8 MB, free: 10.6 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.3235, allocations: 311.6 kB / 400.1 MB, free: 10.6 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001326/0.3248, allocations: 0.4971 MB / 400.6 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01426/0.3391, allocations: 5.908 MB / 406.5 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002122/0.3413, allocations: 2.308 MB / 408.8 MB, free: 9.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002372/0.3415, allocations: 168.8 kB / 409 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000614/0.3421, allocations: 0.5149 MB / 409.5 MB, free: 9.609 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005449/0.3427, allocations: 0.5749 MB / 410.1 MB, free: 9.457 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.292e-05/0.3428, allocations: 38.25 kB / 410.1 MB, free: 9.457 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01454/0.3573, allocations: 10.27 MB / 420.4 MB, free: 5.855 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003312/0.3577, allocations: 274.9 kB / 420.6 MB, free: 5.688 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004911/0.3582, allocations: 410.3 kB / 421 MB, free: 5.453 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009649/0.3678, allocations: 5.982 MB / 427 MB, free: 328 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3679, allocations: 0 / 427 MB, free: 328 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3679, allocations: 0 / 427 MB, free: 328 kB / 318.1 MB Notification: Performance of Transformations before backend: time 9.368e-06/0.3679, allocations: 0 / 427 MB, free: 328 kB / 318.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.003049/0.371, allocations: 1.4 MB / 428.4 MB, free: 14.87 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.371, allocations: 8.031 kB / 428.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003734/0.3714, allocations: 91.92 kB / 428.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005449/0.3719, allocations: 431.5 kB / 428.9 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.838e-05/0.372, allocations: 49.31 kB / 429 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.406e-05/0.3721, allocations: 67.98 kB / 429.1 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/0.3737, allocations: 0.8006 MB / 429.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.3738, allocations: 11.91 kB / 429.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.985e-05/0.3738, allocations: 28 kB / 429.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.3739, allocations: 12 kB / 429.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001769/0.3756, allocations: 1.036 MB / 430.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01589/0.3915, allocations: 12.82 MB / 443.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/0.3932, allocations: 0.7646 MB / 444.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005589/0.3938, allocations: 407.3 kB / 444.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01433/0.4081, allocations: 12.3 MB / 457.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.434e-05/0.4082, allocations: 43.22 kB / 457.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 2.564e-06/0.4082, allocations: 4 kB / 457.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=88): time 0.009134/0.4174, allocations: 3.42 MB / 460.7 MB, free: 10 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.4174, allocations: 60.41 kB / 460.8 MB, free: 9.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003659/0.4178, allocations: 352.5 kB / 461.1 MB, free: 9.582 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.835e-05/0.4179, allocations: 45.64 kB / 461.1 MB, free: 9.531 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.418, allocations: 241.7 kB / 461.4 MB, free: 9.289 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002031/0.4182, allocations: 309.1 kB / 461.7 MB, free: 8.992 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.93e-05/0.4183, allocations: 69.69 kB / 461.7 MB, free: 8.918 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.4185, allocations: 362.8 kB / 462.1 MB, free: 8.555 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005495/0.419, allocations: 373.8 kB / 462.5 MB, free: 8.188 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008446/0.4199, allocations: 498.7 kB / 463 MB, free: 7.672 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001619/0.4215, allocations: 0.8943 MB / 463.8 MB, free: 6.746 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.4215, allocations: 8 kB / 463.9 MB, free: 6.738 MB / 366.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00238/0.4239, allocations: 1.121 MB / 465 MB, free: 5.598 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.4239, allocations: 4 kB / 465 MB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.4239, allocations: 4 kB / 465 MB, free: 5.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007461/0.4247, allocations: 163.6 kB / 465.1 MB, free: 5.418 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007149/0.4254, allocations: 191.7 kB / 465.3 MB, free: 5.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002528/0.428, allocations: 3.919 MB / 469.3 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004937/0.4285, allocations: 59.91 kB / 469.3 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.433e-05/0.4286, allocations: 43.97 kB / 469.4 MB, free: 0.8945 MB / 366.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.000308/0.4289, allocations: 229.6 kB / 469.6 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003406/0.4292, allocations: 67.28 kB / 469.6 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002227/0.4315, allocations: 1.275 MB / 470.9 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.4315, allocations: 12 kB / 470.9 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.4315, allocations: 0 / 470.9 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001676/0.4332, allocations: 1.327 MB / 472.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002869/0.4361, allocations: 1.976 MB / 474.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.4361, allocations: 0 / 474.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006656/0.4367, allocations: 163.8 kB / 474.4 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001708/0.4385, allocations: 297.2 kB / 474.7 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.417e-05/0.4385, allocations: 23.98 kB / 474.7 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006884/0.4392, allocations: 1.293 MB / 476 MB, free: 9.977 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.4392, allocations: 4.031 kB / 476 MB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002341/0.4416, allocations: 1.413 MB / 477.4 MB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.4417, allocations: 136.5 kB / 477.6 MB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.131e-05/0.4418, allocations: 31.88 kB / 477.6 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005845/0.4424, allocations: 63.78 kB / 477.6 MB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.917e-05/0.4425, allocations: 48.92 kB / 477.7 MB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.968e-05/0.4426, allocations: 43.97 kB / 477.7 MB, free: 8.195 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002908/0.4429, allocations: 283 kB / 478 MB, free: 7.922 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4429, allocations: 0 / 478 MB, free: 7.922 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003244/0.4462, allocations: 1.394 MB / 479.4 MB, free: 6.527 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.004437/0.4506, allocations: 1.734 MB / 481.1 MB, free: 4.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001896/0.4525, allocations: 1.152 MB / 482.3 MB, free: 3.723 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.4525, allocations: 4 kB / 482.3 MB, free: 3.719 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008304/0.4534, allocations: 491.2 kB / 482.8 MB, free: 3.234 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001988/0.4554, allocations: 374.5 kB / 483.1 MB, free: 2.867 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00275/0.4581, allocations: 2.055 MB / 485.2 MB, free: 0.7852 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004937/0.4586, allocations: 0.9089 MB / 486.1 MB, free: 15.85 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007503/0.4594, allocations: 213.3 kB / 486.3 MB, free: 15.64 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002066/0.4596, allocations: 71.42 kB / 486.4 MB, free: 15.57 MB / 398.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4596, allocations: 0 / 486.4 MB, free: 15.57 MB / 398.1 MB Notification: Performance of Templates: time 0.0679/0.5275, allocations: 50.39 MB / 0.5242 GB, free: 13.13 MB / 446.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)