Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.0009159/0.000916, allocations: 98.61 kB / 15.05 MB, free: 1.105 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.0009451/0.0009452, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.288/1.288, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.0004359/0.000436, allocations: 8 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2069, allocations: 47.57 MB / 326.4 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.02173/0.2286, allocations: 22.35 MB / 348.8 MB, free: 13.12 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006195/0.2349, allocations: 5.286 MB / 354.1 MB, free: 7.82 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003536/0.2353, allocations: 7.938 kB / 354.1 MB, free: 7.812 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008261/0.2361, allocations: 242.9 kB / 354.3 MB, free: 7.574 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000606/0.2367, allocations: 323 kB / 354.6 MB, free: 7.258 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003804/0.2405, allocations: 1.352 MB / 356 MB, free: 5.902 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009405/0.2415, allocations: 0.7056 MB / 356.7 MB, free: 5.195 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002182/0.2417, allocations: 114.1 kB / 356.8 MB, free: 5.082 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004898/0.2422, allocations: 355 kB / 357.1 MB, free: 4.734 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003118/0.2425, allocations: 243.1 kB / 357.4 MB, free: 4.496 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.028e-05/0.2426, allocations: 20 kB / 357.4 MB, free: 4.477 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001551/0.2441, allocations: 0.7493 MB / 358.2 MB, free: 3.727 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.2443, allocations: 103.6 kB / 358.3 MB, free: 3.625 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.2444, allocations: 125.5 kB / 358.4 MB, free: 3.496 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009051/0.2453, allocations: 0.7572 MB / 359.1 MB, free: 2.738 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.2453, allocations: 4 kB / 359.1 MB, free: 2.734 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2453, allocations: 0 / 359.1 MB, free: 2.734 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.2454, allocations: 0 / 359.1 MB, free: 2.734 MB / 286.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.001028/0.2464, allocations: 0.69 MB / 359.8 MB, free: 1.996 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.2464, allocations: 8.031 kB / 359.8 MB, free: 1.988 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005573/0.247, allocations: 75.41 kB / 359.9 MB, free: 1.914 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004313/0.2474, allocations: 338.2 kB / 360.2 MB, free: 1.543 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/0.2475, allocations: 29 kB / 360.3 MB, free: 1.516 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.932e-05/0.2475, allocations: 40 kB / 360.3 MB, free: 1.477 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000631/0.2482, allocations: 459.6 kB / 360.8 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.2482, allocations: 0 / 360.8 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.504e-05/0.2483, allocations: 20 kB / 360.8 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.157e-05/0.2483, allocations: 11.95 kB / 360.8 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004422/0.2487, allocations: 299.7 kB / 361.1 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01283/0.2616, allocations: 6.746 MB / 367.8 MB, free: 9.328 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004636/0.2621, allocations: 270.6 kB / 368.1 MB, free: 9.055 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009786/0.2719, allocations: 3.869 MB / 372 MB, free: 4.887 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.272, allocations: 42.55 kB / 372 MB, free: 4.836 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 2.715e-06/0.272, allocations: 4 kB / 372 MB, free: 4.832 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.01161/0.2836, allocations: 2.485 MB / 374.5 MB, free: 2.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.2836, allocations: 55.41 kB / 374.5 MB, free: 2.203 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003074/0.284, allocations: 303.2 kB / 374.8 MB, free: 1.898 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.284, allocations: 29.7 kB / 374.9 MB, free: 1.863 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.2841, allocations: 220 kB / 375.1 MB, free: 1.645 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.2843, allocations: 169.7 kB / 375.2 MB, free: 1.477 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.08e-05/0.2843, allocations: 12 kB / 375.3 MB, free: 1.465 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.2844, allocations: 346.8 kB / 375.6 MB, free: 1.117 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/0.2846, allocations: 153 kB / 375.7 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003104/0.285, allocations: 275.7 kB / 376 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002854/0.2853, allocations: 192.7 kB / 376.2 MB, free: 472 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2853, allocations: 0 / 376.2 MB, free: 472 kB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009945/0.2863, allocations: 0.5955 MB / 376.8 MB, free: 15.84 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.2863, allocations: 4 kB / 376.8 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2863, allocations: 4 kB / 376.8 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006418/0.2927, allocations: 0.7756 MB / 377.6 MB, free: 15.05 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004033/0.2932, allocations: 115.8 kB / 377.7 MB, free: 14.94 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001768/0.2949, allocations: 2.467 MB / 380.2 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003353/0.2953, allocations: 35.83 kB / 380.2 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/0.2953, allocations: 20 kB / 380.2 MB, free: 12.23 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002117/0.2955, allocations: 177.8 kB / 380.4 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.453e-05/0.2956, allocations: 47.48 kB / 380.4 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/0.2967, allocations: 0.8475 MB / 381.3 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.2968, allocations: 8 kB / 381.3 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2968, allocations: 4 kB / 381.3 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008996/0.2977, allocations: 0.9536 MB / 382.3 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001839/0.2995, allocations: 1.507 MB / 383.8 MB, free: 8.523 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.2996, allocations: 0 / 383.8 MB, free: 8.523 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000299/0.2999, allocations: 79.83 kB / 383.8 MB, free: 8.445 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003322/0.3032, allocations: 0.6335 MB / 384.5 MB, free: 7.805 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.625e-05/0.3032, allocations: 8 kB / 384.5 MB, free: 7.797 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008537/0.3041, allocations: 1.288 MB / 385.8 MB, free: 6.457 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3041, allocations: 0 / 385.8 MB, free: 6.457 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/0.3055, allocations: 1.225 MB / 387 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001782/0.3057, allocations: 124.5 kB / 387.1 MB, free: 5.059 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.854e-05/0.3058, allocations: 12.06 kB / 387.1 MB, free: 5.047 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002749/0.3061, allocations: 23.92 kB / 387.1 MB, free: 5.023 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.3061, allocations: 31.95 kB / 387.2 MB, free: 4.992 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.204e-05/0.3062, allocations: 16 kB / 387.2 MB, free: 4.977 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002231/0.3064, allocations: 205.9 kB / 387.4 MB, free: 4.773 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3064, allocations: 4 kB / 387.4 MB, free: 4.77 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007995/0.3072, allocations: 235.9 kB / 387.6 MB, free: 4.539 MB / 318.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 (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 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005811/0.3078, allocations: 275.1 kB / 387.9 MB, free: 4.258 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001132/0.309, allocations: 0.6991 MB / 388.6 MB, free: 3.547 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.309, allocations: 0 / 388.6 MB, free: 3.547 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008606/0.3098, allocations: 432.1 kB / 389 MB, free: 3.125 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.311, allocations: 228.9 kB / 389.2 MB, free: 2.902 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.3128, allocations: 1.474 MB / 390.7 MB, free: 1.406 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/0.3132, allocations: 0.8555 MB / 391.6 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002654/0.3135, allocations: 64.36 kB / 391.6 MB, free: 468 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.873e-05/0.3136, allocations: 39.42 kB / 391.7 MB, free: 428 kB / 318.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3136, allocations: 0 / 391.7 MB, free: 428 kB / 318.1 MB Notification: Performance of Templates: time 0.0188/0.3324, allocations: 11.82 MB / 403.5 MB, free: 4.582 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) Environment - environmentSimulation: