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.0008914/0.0008914, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009367/0.0009368, allocations: 168.7 kB / 15.95 MB, free: 204 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.36/1.36, allocations: 205.4 MB / 222.1 MB, free: 5.883 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.0004666/0.0004667, allocations: 18.66 kB / 278.9 MB, free: 13.06 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2251, allocations: 47.59 MB / 326.5 MB, free: 1.387 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03582/0.261, allocations: 34.6 MB / 361.1 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005636/0.2667, allocations: 4.291 MB / 365.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005041/0.2672, allocations: 7.938 kB / 365.4 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008186/0.2681, allocations: 230.7 kB / 365.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001104/0.2692, allocations: 449.7 kB / 366 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004364/0.2736, allocations: 1.288 MB / 367.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002013/0.2756, allocations: 1.612 MB / 368.9 MB, free: 8.953 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002785/0.2759, allocations: 114.1 kB / 369.1 MB, free: 8.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008032/0.2767, allocations: 418.5 kB / 369.5 MB, free: 8.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008052/0.2775, allocations: 394.5 kB / 369.9 MB, free: 8.043 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.062e-05/0.2776, allocations: 20 kB / 369.9 MB, free: 8.023 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001816/0.2794, allocations: 0.6985 MB / 370.6 MB, free: 7.324 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.2796, allocations: 111.5 kB / 370.7 MB, free: 7.215 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001692/0.2798, allocations: 129.5 kB / 370.8 MB, free: 7.082 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.2809, allocations: 0.7574 MB / 371.6 MB, free: 6.324 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2809, allocations: 0 / 371.6 MB, free: 6.324 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.2809, allocations: 0 / 371.6 MB, free: 6.324 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.004e-05/0.2809, allocations: 0 / 371.6 MB, free: 6.324 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001155/0.2821, allocations: 0.6822 MB / 372.2 MB, free: 5.594 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.2821, allocations: 12.02 kB / 372.3 MB, free: 5.582 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005746/0.2827, allocations: 83.41 kB / 372.3 MB, free: 5.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004314/0.2832, allocations: 326.2 kB / 372.7 MB, free: 5.141 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.2832, allocations: 29 kB / 372.7 MB, free: 5.113 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.484e-05/0.2832, allocations: 40 kB / 372.7 MB, free: 5.074 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006934/0.2839, allocations: 463.6 kB / 373.2 MB, free: 4.578 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.284, allocations: 3.938 kB / 373.2 MB, free: 4.574 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.438e-05/0.284, allocations: 20 kB / 373.2 MB, free: 4.555 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.2841, allocations: 11.95 kB / 373.2 MB, free: 4.543 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004871/0.2845, allocations: 299.7 kB / 373.5 MB, free: 4.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01295/0.2975, allocations: 6.75 MB / 380.3 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004885/0.298, allocations: 270.6 kB / 380.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002432/0.2983, allocations: 156.7 kB / 380.7 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009776/0.3081, allocations: 3.877 MB / 384.5 MB, free: 8.309 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.3081, allocations: 42.5 kB / 384.6 MB, free: 8.258 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 4.348e-06/0.3082, allocations: 3.984 kB / 384.6 MB, free: 8.254 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.01144/0.3196, allocations: 2.486 MB / 387.1 MB, free: 5.691 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.3197, allocations: 55.41 kB / 387.1 MB, free: 5.625 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000393/0.3201, allocations: 303.3 kB / 387.4 MB, free: 5.32 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.391e-05/0.3201, allocations: 29.7 kB / 387.5 MB, free: 5.285 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.3203, allocations: 224 kB / 387.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.3204, allocations: 161.7 kB / 387.8 MB, free: 4.902 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.332e-05/0.3205, allocations: 12 kB / 387.8 MB, free: 4.891 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3206, allocations: 346.8 kB / 388.2 MB, free: 4.543 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002662/0.3209, allocations: 149.1 kB / 388.3 MB, free: 4.395 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003635/0.3213, allocations: 267.7 kB / 388.6 MB, free: 4.086 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003355/0.3216, allocations: 196.7 kB / 388.8 MB, free: 3.895 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.3216, allocations: 7.953 kB / 388.8 MB, free: 3.887 MB / 318.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001106/0.3227, allocations: 0.5881 MB / 389.4 MB, free: 3.281 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.3228, allocations: 12.06 kB / 389.4 MB, free: 3.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.128e-06/0.3228, allocations: 4 kB / 389.4 MB, free: 3.266 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005774/0.3286, allocations: 0.7635 MB / 390.2 MB, free: 2.492 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003996/0.329, allocations: 107.8 kB / 390.3 MB, free: 2.387 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001989/0.331, allocations: 2.463 MB / 392.7 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003586/0.3314, allocations: 43.89 kB / 392.8 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.42e-05/0.3314, allocations: 20 kB / 392.8 MB, free: 15.67 MB / 334.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.0002336/0.3316, allocations: 177.7 kB / 393 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.629e-05/0.3317, allocations: 47.48 kB / 393 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/0.333, allocations: 0.8475 MB / 393.9 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.333, allocations: 8 kB / 393.9 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.333, allocations: 0 / 393.9 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001047/0.3341, allocations: 0.9612 MB / 394.8 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002038/0.3361, allocations: 1.504 MB / 396.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.3361, allocations: 0 / 396.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003112/0.3364, allocations: 75.91 kB / 396.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003223/0.3397, allocations: 0.6375 MB / 397 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.778e-05/0.3397, allocations: 15.94 kB / 397.1 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008834/0.3406, allocations: 1.28 MB / 398.3 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.3406, allocations: 7.969 kB / 398.3 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/0.3422, allocations: 1.215 MB / 399.6 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/0.3424, allocations: 124.5 kB / 399.7 MB, free: 8.508 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.794e-05/0.3425, allocations: 8 kB / 399.7 MB, free: 8.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002826/0.3428, allocations: 27.92 kB / 399.7 MB, free: 8.473 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.37e-05/0.3428, allocations: 27.97 kB / 399.7 MB, free: 8.445 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.53e-05/0.3429, allocations: 19.98 kB / 399.8 MB, free: 8.426 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002439/0.3431, allocations: 209.9 kB / 400 MB, free: 8.219 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3431, allocations: 0 / 400 MB, free: 8.219 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007965/0.3439, allocations: 231.9 kB / 400.2 MB, free: 7.992 MB / 334.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.0005908/0.3445, allocations: 279 kB / 400.5 MB, free: 7.707 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001183/0.3457, allocations: 0.6946 MB / 401.2 MB, free: 7 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3457, allocations: 0.625 kB / 401.2 MB, free: 7 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008795/0.3466, allocations: 428.1 kB / 401.6 MB, free: 6.582 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.3479, allocations: 237 kB / 401.8 MB, free: 6.352 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.3499, allocations: 1.485 MB / 403.3 MB, free: 4.844 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.3503, allocations: 0.8361 MB / 404.1 MB, free: 3.98 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003043/0.3506, allocations: 72.33 kB / 404.2 MB, free: 3.906 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.937e-05/0.3507, allocations: 39.44 kB / 404.2 MB, free: 3.867 MB / 334.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3507, allocations: 0 / 404.2 MB, free: 3.867 MB / 334.1 MB Notification: Performance of Templates: time 0.01922/0.3699, allocations: 11.83 MB / 416.1 MB, free: 8.023 MB / 350.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (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)