Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.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.DryAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001447, allocations: 112 kB / 17.06 MB, free: 5.992 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.001461/0.001461, allocations: 194.9 kB / 18.01 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.395/1.395, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.001732/0.001732, allocations: 43.94 kB / 327.9 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09171/0.09346, allocations: 46.62 MB / 374.5 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.1821/0.2755, allocations: 27.04 MB / 401.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005125/0.2807, allocations: 4.163 MB / 405.7 MB, free: 9.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002809/0.281, allocations: 11.06 kB / 405.7 MB, free: 9.012 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006842/0.2818, allocations: 199.8 kB / 405.9 MB, free: 8.898 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000731/0.2825, allocations: 348 kB / 406.3 MB, free: 8.684 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004672/0.2872, allocations: 1.467 MB / 407.7 MB, free: 7.934 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001254/0.2885, allocations: 0.8852 MB / 408.6 MB, free: 7.523 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002028/0.2887, allocations: 101.8 kB / 408.7 MB, free: 7.488 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006124/0.2948, allocations: 4.052 MB / 412.8 MB, free: 5.773 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003829/0.2953, allocations: 278.4 kB / 413 MB, free: 5.621 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.435e-05/0.2953, allocations: 31.44 kB / 413.1 MB, free: 5.621 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001593/0.2969, allocations: 0.7218 MB / 413.8 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.2971, allocations: 99.58 kB / 413.9 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002221/0.2973, allocations: 191.3 kB / 414.1 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001243/0.2985, allocations: 0.8504 MB / 414.9 MB, free: 4.543 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2986, allocations: 5.25 kB / 414.9 MB, free: 4.539 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2986, allocations: 0 / 414.9 MB, free: 4.539 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.2986, allocations: 0 / 414.9 MB, free: 4.539 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0009247/0.2995, allocations: 0.6585 MB / 415.6 MB, free: 3.957 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.2996, allocations: 9.844 kB / 415.6 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004524/0.3, allocations: 56.69 kB / 415.6 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004188/0.3004, allocations: 302.5 kB / 415.9 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.3005, allocations: 20.03 kB / 416 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.73e-05/0.3005, allocations: 26.34 kB / 416 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005106/0.301, allocations: 343.4 kB / 416.3 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.3011, allocations: 3.938 kB / 416.3 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.356e-05/0.3011, allocations: 15.97 kB / 416.3 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.3011, allocations: 8.125 kB / 416.3 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003283/0.3015, allocations: 207.6 kB / 416.5 MB, free: 3.258 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01231/0.3138, allocations: 5.91 MB / 422.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003159/0.3141, allocations: 180.2 kB / 422.6 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.3143, allocations: 88.33 kB / 422.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01006/0.3244, allocations: 3.888 MB / 426.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.333e-05/0.3244, allocations: 34.56 kB / 426.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.083e-06/0.3244, allocations: 3.938 kB / 426.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.006426/0.3309, allocations: 1.411 MB / 428.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.331, allocations: 55.41 kB / 428.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003155/0.3313, allocations: 262.5 kB / 428.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.3313, allocations: 33.7 kB / 428.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.3315, allocations: 192.4 kB / 428.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.494e-05/0.3315, allocations: 91.22 kB / 428.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.959e-05/0.3316, allocations: 73.64 kB / 428.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.3318, allocations: 334.8 kB / 429.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.3319, allocations: 95.75 kB / 429.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/0.3321, allocations: 194.8 kB / 429.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003713/0.3325, allocations: 295 kB / 429.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3325, allocations: 0 / 429.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000641/0.3332, allocations: 402.8 kB / 430 MB, free: 6.906 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.3332, allocations: 4 kB / 430 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.3332, allocations: 4.875 kB / 430.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003794/0.337, allocations: 0.9342 MB / 431 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002672/0.3373, allocations: 71.91 kB / 431.1 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/0.3388, allocations: 1.981 MB / 433 MB, free: 3.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002214/0.339, allocations: 11.97 kB / 433 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/0.3391, allocations: 16 kB / 433.1 MB, free: 3.719 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001699/0.3393, allocations: 163 kB / 433.2 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.194e-05/0.3393, allocations: 35.73 kB / 433.3 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006774/0.34, allocations: 490.8 kB / 433.7 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.34, allocations: 3.984 kB / 433.7 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.34, allocations: 4 kB / 433.7 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006222/0.3407, allocations: 0.7168 MB / 434.5 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001174/0.3419, allocations: 0.9457 MB / 435.4 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.3419, allocations: 0 / 435.4 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/0.3421, allocations: 51.94 kB / 435.5 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001594/0.3437, allocations: 312.3 kB / 435.8 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/0.3437, allocations: 11.98 kB / 435.8 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004563/0.3442, allocations: 0.6421 MB / 436.4 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.3442, allocations: 3.984 kB / 436.4 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.3454, allocations: 0.7144 MB / 437.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.232e-05/0.3455, allocations: 112.8 kB / 437.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.049e-05/0.3455, allocations: 7.938 kB / 437.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.3457, allocations: 12.12 kB / 437.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-05/0.3457, allocations: 11.98 kB / 437.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.3458, allocations: 15.98 kB / 437.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001743/0.3459, allocations: 186 kB / 437.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3459, allocations: 0 / 437.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007406/0.3467, allocations: 187.7 kB / 437.7 MB, free: 14.89 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000557/0.3473, allocations: 271.9 kB / 437.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007631/0.348, allocations: 458.3 kB / 438.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.348, allocations: 0 / 438.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004895/0.3485, allocations: 232.7 kB / 438.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009177/0.3495, allocations: 176.1 kB / 438.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.3507, allocations: 0.8107 MB / 439.6 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.351, allocations: 0.776 MB / 440.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001854/0.3512, allocations: 54.92 kB / 440.4 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.428e-05/0.3513, allocations: 27.44 kB / 440.4 MB, free: 12.03 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3513, allocations: 0 / 440.4 MB, free: 12.03 MB / 366.1 MB Notification: Performance of Templates: time 0.01434/0.3656, allocations: 9.986 MB / 450.4 MB, free: 2.027 MB / 366.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1)