Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001003/0.001003, allocations: 97.91 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.000992/0.0009923, allocations: 177.3 kB / 15.95 MB, free: 216 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.321/1.321, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0004253/0.0004254, allocations: 14.81 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2184, allocations: 47.58 MB / 326.4 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.02455/0.243, allocations: 22.35 MB / 348.8 MB, free: 13.12 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006875/0.2499, allocations: 5.294 MB / 354.1 MB, free: 7.816 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004949/0.2505, allocations: 4 kB / 354.1 MB, free: 7.812 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008499/0.2513, allocations: 246.9 kB / 354.3 MB, free: 7.57 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007173/0.252, allocations: 323 kB / 354.6 MB, free: 7.254 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00406/0.2561, allocations: 1.348 MB / 356 MB, free: 5.902 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001124/0.2573, allocations: 0.7017 MB / 356.7 MB, free: 5.199 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002484/0.2575, allocations: 114.1 kB / 356.8 MB, free: 5.086 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005281/0.2581, allocations: 351 kB / 357.1 MB, free: 4.742 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003385/0.2584, allocations: 243.1 kB / 357.4 MB, free: 4.504 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.784e-05/0.2585, allocations: 20 kB / 357.4 MB, free: 4.484 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001752/0.2602, allocations: 0.757 MB / 358.2 MB, free: 3.727 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001449/0.2604, allocations: 103.6 kB / 358.3 MB, free: 3.625 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.2605, allocations: 125.5 kB / 358.4 MB, free: 3.496 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009497/0.2615, allocations: 0.7534 MB / 359.1 MB, free: 2.742 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2615, allocations: 0 / 359.1 MB, free: 2.742 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2615, allocations: 4 kB / 359.1 MB, free: 2.738 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.2615, allocations: 0 / 359.1 MB, free: 2.738 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.001069/0.2626, allocations: 0.69 MB / 359.8 MB, free: 2 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.2626, allocations: 8.031 kB / 359.8 MB, free: 1.992 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005771/0.2632, allocations: 79.41 kB / 359.9 MB, free: 1.914 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004635/0.2637, allocations: 326.2 kB / 360.2 MB, free: 1.555 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.003e-05/0.2637, allocations: 33 kB / 360.3 MB, free: 1.523 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.274e-05/0.2638, allocations: 43.98 kB / 360.3 MB, free: 1.48 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006832/0.2645, allocations: 459.6 kB / 360.8 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.2645, allocations: 4 kB / 360.8 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.397e-05/0.2646, allocations: 16 kB / 360.8 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.2646, allocations: 15.95 kB / 360.8 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004597/0.2651, allocations: 299.7 kB / 361.1 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01307/0.2781, allocations: 6.746 MB / 367.8 MB, free: 9.328 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004437/0.2786, allocations: 270.6 kB / 368.1 MB, free: 9.055 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00999/0.2886, allocations: 3.869 MB / 372 MB, free: 4.887 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.2887, allocations: 38.55 kB / 372 MB, free: 4.84 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 2.355e-06/0.2887, allocations: 4 kB / 372 MB, free: 4.836 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.01188/0.3006, allocations: 2.482 MB / 374.5 MB, free: 2.277 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.3007, allocations: 55.41 kB / 374.5 MB, free: 2.211 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003164/0.301, allocations: 303.2 kB / 374.8 MB, free: 1.906 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.667e-05/0.301, allocations: 33.7 kB / 374.9 MB, free: 1.867 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.3012, allocations: 224 kB / 375.1 MB, free: 1.645 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.3013, allocations: 169.6 kB / 375.3 MB, free: 1.477 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.082e-05/0.3013, allocations: 8 kB / 375.3 MB, free: 1.469 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.3015, allocations: 346.8 kB / 375.6 MB, free: 1.121 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000242/0.3017, allocations: 149.1 kB / 375.8 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003034/0.302, allocations: 271.7 kB / 376 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/0.3023, allocations: 192.7 kB / 376.2 MB, free: 484 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3023, allocations: 0 / 376.2 MB, free: 484 kB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001062/0.3034, allocations: 0.5954 MB / 376.8 MB, free: 15.86 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.3035, allocations: 8 kB / 376.8 MB, free: 15.85 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.3035, allocations: 4 kB / 376.8 MB, free: 15.85 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006533/0.31, allocations: 0.7756 MB / 377.6 MB, free: 15.06 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000424/0.3105, allocations: 107.8 kB / 377.7 MB, free: 14.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00191/0.3124, allocations: 2.463 MB / 380.2 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003491/0.3127, allocations: 43.89 kB / 380.2 MB, free: 12.26 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.32e-05/0.3128, allocations: 20 kB / 380.2 MB, free: 12.24 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.000228/0.313, allocations: 181.7 kB / 380.4 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.116e-05/0.3131, allocations: 43.48 kB / 380.4 MB, free: 12.01 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/0.3142, allocations: 0.8514 MB / 381.3 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/0.3143, allocations: 12 kB / 381.3 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-06/0.3143, allocations: 0 / 381.3 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000942/0.3152, allocations: 0.9496 MB / 382.3 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001894/0.3171, allocations: 1.508 MB / 383.8 MB, free: 8.535 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.3172, allocations: 0 / 383.8 MB, free: 8.535 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003243/0.3175, allocations: 79.83 kB / 383.8 MB, free: 8.457 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003363/0.3209, allocations: 0.6335 MB / 384.5 MB, free: 7.816 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.327e-05/0.3209, allocations: 20 kB / 384.5 MB, free: 7.797 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009193/0.3219, allocations: 1.28 MB / 385.8 MB, free: 6.465 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.3219, allocations: 8.156 kB / 385.8 MB, free: 6.457 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/0.3234, allocations: 1.221 MB / 387 MB, free: 5.203 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.3235, allocations: 124.5 kB / 387.1 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.968e-05/0.3236, allocations: 8 kB / 387.1 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000286/0.3239, allocations: 31.92 kB / 387.2 MB, free: 5.023 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.966e-05/0.324, allocations: 23.97 kB / 387.2 MB, free: 5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.298e-05/0.324, allocations: 19.98 kB / 387.2 MB, free: 4.98 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002118/0.3242, allocations: 205.9 kB / 387.4 MB, free: 4.777 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3242, allocations: 4 kB / 387.4 MB, free: 4.773 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007511/0.325, allocations: 235.9 kB / 387.6 MB, free: 4.543 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.0005769/0.3256, allocations: 267.1 kB / 387.9 MB, free: 4.27 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001182/0.3268, allocations: 0.7029 MB / 388.6 MB, free: 3.555 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3268, allocations: 0 / 388.6 MB, free: 3.555 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008817/0.3277, allocations: 436.1 kB / 389 MB, free: 3.129 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/0.3289, allocations: 221 kB / 389.2 MB, free: 2.914 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/0.3308, allocations: 1.474 MB / 390.7 MB, free: 1.418 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.3312, allocations: 0.8555 MB / 391.6 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002913/0.3315, allocations: 68.34 kB / 391.6 MB, free: 476 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.739e-05/0.3316, allocations: 39.42 kB / 391.7 MB, free: 436 kB / 318.1 MB Notification: Performance of SimCode: time 1.263e-06/0.3316, allocations: 4 kB / 391.7 MB, free: 432 kB / 318.1 MB Notification: Performance of Templates: time 0.01848/0.3501, allocations: 11.82 MB / 403.5 MB, free: 4.582 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) Environment - environmentSimulation: