Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.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.DryAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 116.6 kB / 17.06 MB, free: 5.996 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.001603/0.001603, allocations: 198.8 kB / 18 MB, free: 5.074 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.362/1.362, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.001261/0.001261, allocations: 59.86 kB / 327.9 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08812/0.08939, allocations: 46.61 MB / 374.5 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.2206/0.31, allocations: 37.45 MB / 412 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006534/0.3166, allocations: 4.572 MB / 416.5 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007115/0.3174, allocations: 9.438 kB / 416.5 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.3188, allocations: 293.8 kB / 416.8 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001713/0.3205, allocations: 483.6 kB / 417.3 MB, free: 292 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006213/0.3268, allocations: 1.64 MB / 418.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00199/0.3288, allocations: 1.27 MB / 420.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000335/0.3291, allocations: 169 kB / 420.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.3302, allocations: 478.8 kB / 420.8 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007987/0.331, allocations: 402.5 kB / 421.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.3311, allocations: 45.25 kB / 421.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002106/0.3332, allocations: 0.7618 MB / 422 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002411/0.3335, allocations: 129.7 kB / 422.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007366/0.3342, allocations: 277.8 kB / 422.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002092/0.3363, allocations: 1.05 MB / 423.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3363, allocations: 1.469 kB / 423.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3364, allocations: 0 / 423.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.167e-05/0.3364, allocations: 4 kB / 423.5 MB, free: 12.46 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001425/0.3378, allocations: 0.7773 MB / 424.3 MB, free: 11.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.3379, allocations: 12.95 kB / 424.3 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005984/0.3385, allocations: 74.44 kB / 424.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005563/0.339, allocations: 352.2 kB / 424.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.902e-05/0.3391, allocations: 28.81 kB / 424.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.205e-05/0.3392, allocations: 42.38 kB / 424.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006745/0.3398, allocations: 469.9 kB / 425.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.3399, allocations: 2.094 kB / 425.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.695e-05/0.3399, allocations: 21.69 kB / 425.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.3399, allocations: 11.81 kB / 425.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000441/0.3404, allocations: 300.9 kB / 425.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01337/0.3538, allocations: 6.733 MB / 432.3 MB, free: 5.062 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004609/0.3543, allocations: 282.4 kB / 432.6 MB, free: 4.777 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/0.3545, allocations: 152.8 kB / 432.7 MB, free: 4.625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01035/0.3648, allocations: 3.885 MB / 436.6 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.302e-05/0.3649, allocations: 46.5 kB / 436.6 MB, free: 396 kB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 2.324e-06/0.3649, allocations: 0 / 436.6 MB, free: 396 kB / 350.1 MB Notification: Performance of matching and sorting (n=45): time 0.01211/0.377, allocations: 2.449 MB / 439.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.3771, allocations: 63.34 kB / 439.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00035/0.3775, allocations: 295.3 kB / 439.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.894e-05/0.3775, allocations: 33.7 kB / 439.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.3777, allocations: 228 kB / 439.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.3778, allocations: 165.6 kB / 439.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.378, allocations: 90.25 kB / 439.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.3781, allocations: 346.8 kB / 440.3 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000245/0.3783, allocations: 153.1 kB / 440.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003188/0.3787, allocations: 279.7 kB / 440.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00063/0.3793, allocations: 468.2 kB / 441.2 MB, free: 11.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.3793, allocations: 4 kB / 441.2 MB, free: 11.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001054/0.3804, allocations: 0.5927 MB / 441.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.3804, allocations: 11.94 kB / 441.8 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.547e-06/0.3804, allocations: 7.938 kB / 441.8 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007986/0.3884, allocations: 1.844 MB / 443.6 MB, free: 9.168 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004223/0.3889, allocations: 107.9 kB / 443.7 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001975/0.3909, allocations: 2.563 MB / 446.3 MB, free: 6.309 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003376/0.3912, allocations: 12 kB / 446.3 MB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.227e-05/0.3913, allocations: 32.12 kB / 446.3 MB, free: 6.266 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002396/0.3915, allocations: 177.6 kB / 446.5 MB, free: 6.082 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.679e-05/0.3916, allocations: 39.53 kB / 446.5 MB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001159/0.3928, allocations: 0.8551 MB / 447.4 MB, free: 5.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.3928, allocations: 8.875 kB / 447.4 MB, free: 5.172 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3928, allocations: 7.984 kB / 447.4 MB, free: 5.164 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009401/0.3938, allocations: 0.9535 MB / 448.4 MB, free: 4.133 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001874/0.3956, allocations: 1.482 MB / 449.9 MB, free: 2.586 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/0.3957, allocations: 0 / 449.9 MB, free: 2.586 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000305/0.396, allocations: 83.83 kB / 449.9 MB, free: 2.504 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003431/0.3994, allocations: 0.6178 MB / 450.6 MB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.882e-05/0.3995, allocations: 15.98 kB / 450.6 MB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008979/0.4004, allocations: 1.284 MB / 451.9 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.4004, allocations: 0 / 451.9 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/0.4018, allocations: 1.221 MB / 453.1 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.402, allocations: 116.6 kB / 453.2 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.059e-05/0.402, allocations: 12.12 kB / 453.2 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002376/0.4023, allocations: 12 kB / 453.2 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/0.4024, allocations: 31.89 kB / 453.2 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.361e-05/0.4024, allocations: 15.98 kB / 453.3 MB, free: 15.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002051/0.4026, allocations: 213.9 kB / 453.5 MB, free: 14.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4026, allocations: 0 / 453.5 MB, free: 14.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008577/0.4035, allocations: 239.9 kB / 453.7 MB, free: 14.63 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00057/0.4041, allocations: 278.9 kB / 454 MB, free: 14.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001158/0.4052, allocations: 0.7023 MB / 454.7 MB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.4052, allocations: 0 / 454.7 MB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000884/0.4061, allocations: 437 kB / 455.1 MB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.4074, allocations: 251.5 kB / 455.3 MB, free: 12.97 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.4091, allocations: 1.214 MB / 456.6 MB, free: 11.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.4095, allocations: 0.8324 MB / 457.4 MB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002621/0.4098, allocations: 76.33 kB / 457.5 MB, free: 10.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.897e-05/0.4098, allocations: 35.44 kB / 457.5 MB, free: 10.75 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4099, allocations: 0 / 457.5 MB, free: 10.75 MB / 382.1 MB Notification: Performance of Templates: time 0.01901/0.4289, allocations: 12.78 MB / 470.3 MB, free: 13.96 MB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1)