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.001145/0.001145, allocations: 92.56 kB / 16.31 MB, free: 5.609 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.001393/0.001393, allocations: 180.5 kB / 17.21 MB, free: 5.523 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.423/1.423, allocations: 205.4 MB / 223.4 MB, free: 5.535 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.0007152/0.0007155, allocations: 12 kB / 280.1 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2344, allocations: 47.58 MB / 327.7 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02467/0.2591, allocations: 24.93 MB / 352.7 MB, free: 10.53 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004435/0.2636, allocations: 3.886 MB / 356.5 MB, free: 6.633 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003324/0.2639, allocations: 0 / 356.5 MB, free: 6.633 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005606/0.2645, allocations: 163.1 kB / 356.7 MB, free: 6.473 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006186/0.2651, allocations: 322.3 kB / 357 MB, free: 6.156 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003443/0.2686, allocations: 1.148 MB / 358.2 MB, free: 5.004 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001182/0.2698, allocations: 1.106 MB / 359.3 MB, free: 3.895 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001741/0.27, allocations: 72.69 kB / 359.3 MB, free: 3.824 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009758/0.2797, allocations: 7.48 MB / 366.8 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003594/0.2801, allocations: 270.9 kB / 367.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.007e-05/0.2802, allocations: 16 kB / 367.1 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001383/0.2816, allocations: 0.6712 MB / 367.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.769e-05/0.2817, allocations: 79.7 kB / 367.8 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.2818, allocations: 97.58 kB / 367.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006966/0.2825, allocations: 0.6079 MB / 368.6 MB, free: 10.6 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2825, allocations: 0 / 368.6 MB, free: 10.6 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2825, allocations: 0 / 368.6 MB, free: 10.6 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.2825, allocations: 0 / 368.6 MB, free: 10.6 MB / 302.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.0007745/0.2833, allocations: 0.5885 MB / 369.1 MB, free: 9.961 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.2833, allocations: 8.031 kB / 369.1 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004055/0.2838, allocations: 51.69 kB / 369.2 MB, free: 9.902 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/0.2841, allocations: 278.5 kB / 369.5 MB, free: 9.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.2841, allocations: 20.56 kB / 369.5 MB, free: 9.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.328e-05/0.2842, allocations: 24 kB / 369.5 MB, free: 9.547 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004909/0.2847, allocations: 342.4 kB / 369.8 MB, free: 9.172 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.2847, allocations: 7.953 kB / 369.9 MB, free: 9.164 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.361e-05/0.2848, allocations: 12 kB / 369.9 MB, free: 9.152 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.2848, allocations: 4 kB / 369.9 MB, free: 9.148 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003051/0.2851, allocations: 206 kB / 370.1 MB, free: 8.949 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01154/0.2966, allocations: 5.924 MB / 376 MB, free: 2.523 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003051/0.297, allocations: 175.2 kB / 376.2 MB, free: 2.344 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.2971, allocations: 93.14 kB / 376.3 MB, free: 2.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009287/0.3064, allocations: 3.873 MB / 380.1 MB, free: 14.08 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.3065, allocations: 42.69 kB / 380.2 MB, free: 14.03 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.724e-06/0.3065, allocations: 0 / 380.2 MB, free: 14.03 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.005968/0.3124, allocations: 1.416 MB / 381.6 MB, free: 12.54 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.3125, allocations: 51.41 kB / 381.6 MB, free: 12.47 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/0.3128, allocations: 258.5 kB / 381.9 MB, free: 12.21 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/0.3128, allocations: 29.7 kB / 381.9 MB, free: 12.18 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.313, allocations: 188.1 kB / 382.1 MB, free: 11.99 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.496e-05/0.3131, allocations: 98.64 kB / 382.2 MB, free: 11.89 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.395e-05/0.3131, allocations: 4 kB / 382.2 MB, free: 11.89 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.3132, allocations: 338.8 kB / 382.5 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.3134, allocations: 91.95 kB / 382.6 MB, free: 11.46 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.3136, allocations: 190.6 kB / 382.8 MB, free: 11.23 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/0.3138, allocations: 119.9 kB / 382.9 MB, free: 11.11 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3138, allocations: 3.953 kB / 382.9 MB, free: 11.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006876/0.3145, allocations: 395.1 kB / 383.3 MB, free: 10.71 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.3145, allocations: 8.062 kB / 383.3 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.3145, allocations: 4 kB / 383.3 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002954/0.3175, allocations: 401.3 kB / 383.7 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/0.3178, allocations: 71.84 kB / 383.8 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/0.3192, allocations: 1.875 MB / 385.7 MB, free: 8.199 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/0.3195, allocations: 27.95 kB / 385.7 MB, free: 8.172 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.3195, allocations: 16 kB / 385.7 MB, free: 8.156 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001682/0.3197, allocations: 158 kB / 385.9 MB, free: 7.992 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-05/0.3197, allocations: 27.72 kB / 385.9 MB, free: 7.965 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007331/0.3205, allocations: 498.6 kB / 386.4 MB, free: 7.465 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.3205, allocations: 7.984 kB / 386.4 MB, free: 7.457 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3205, allocations: 7.953 kB / 386.4 MB, free: 7.449 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006541/0.3212, allocations: 0.7196 MB / 387.1 MB, free: 6.641 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.3225, allocations: 0.9414 MB / 388.1 MB, free: 5.633 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.3225, allocations: 4 kB / 388.1 MB, free: 5.629 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/0.3227, allocations: 47.91 kB / 388.1 MB, free: 5.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001608/0.3243, allocations: 340.2 kB / 388.4 MB, free: 5.246 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.3244, allocations: 7.984 kB / 388.4 MB, free: 5.238 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004917/0.3249, allocations: 0.6305 MB / 389.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.3249, allocations: 12.03 kB / 389.1 MB, free: 4.57 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009/0.3258, allocations: 0.724 MB / 389.8 MB, free: 3.82 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.3259, allocations: 108.8 kB / 389.9 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.245e-05/0.326, allocations: 4 kB / 389.9 MB, free: 3.691 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.3262, allocations: 16.06 kB / 389.9 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.3262, allocations: 15.97 kB / 390 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/0.3262, allocations: 12 kB / 390 MB, free: 3.648 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001953/0.3264, allocations: 182 kB / 390.1 MB, free: 3.473 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3264, allocations: 0 / 390.1 MB, free: 3.473 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006486/0.3271, allocations: 195.9 kB / 390.3 MB, free: 3.281 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006796/0.3278, allocations: 266.9 kB / 390.6 MB, free: 3.008 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008244/0.3286, allocations: 442.4 kB / 391 MB, free: 2.562 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3286, allocations: 0.75 kB / 391 MB, free: 2.562 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004891/0.3291, allocations: 235.7 kB / 391.3 MB, free: 2.332 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009021/0.3301, allocations: 172.4 kB / 391.4 MB, free: 2.164 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.3314, allocations: 0.9447 MB / 392.4 MB, free: 1.191 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.3317, allocations: 0.7838 MB / 393.2 MB, free: 388 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002379/0.332, allocations: 54.92 kB / 393.2 MB, free: 336 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.25e-05/0.3321, allocations: 27.44 kB / 393.2 MB, free: 308 kB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3321, allocations: 0 / 393.2 MB, free: 308 kB / 318.1 MB Notification: Performance of Templates: time 0.01624/0.3483, allocations: 9.354 MB / 402.6 MB, free: 6.941 MB / 334.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)