Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.0008309/0.000831, allocations: 86.48 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.001034/0.001034, 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.372/1.372, allocations: 205.4 MB / 222.1 MB, free: 5.383 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.0007934/0.0007937, allocations: 8 kB / 278.9 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2309, allocations: 47.59 MB / 326.5 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02333/0.2543, allocations: 24.92 MB / 351.4 MB, free: 10.51 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004382/0.2587, allocations: 3.901 MB / 355.3 MB, free: 6.598 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002828/0.259, allocations: 4 kB / 355.3 MB, free: 6.594 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005205/0.2595, allocations: 163.1 kB / 355.5 MB, free: 6.434 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005861/0.2601, allocations: 306.4 kB / 355.8 MB, free: 6.133 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003345/0.2635, allocations: 1.148 MB / 356.9 MB, free: 4.98 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001128/0.2646, allocations: 1.11 MB / 358 MB, free: 3.867 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.2648, allocations: 76.67 kB / 358.1 MB, free: 3.793 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00992/0.2747, allocations: 7.48 MB / 365.6 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004339/0.2752, allocations: 274.9 kB / 365.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.324e-05/0.2753, allocations: 16 kB / 365.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00146/0.2767, allocations: 0.6673 MB / 366.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.2769, allocations: 79.7 kB / 366.6 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.277, allocations: 97.58 kB / 366.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008148/0.2778, allocations: 0.6079 MB / 367.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2778, allocations: 4 kB / 367.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2778, allocations: 0 / 367.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.158e-06/0.2779, allocations: 0 / 367.3 MB, free: 10.56 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.0008802/0.2787, allocations: 0.5807 MB / 367.9 MB, free: 9.934 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2788, allocations: 8.031 kB / 367.9 MB, free: 9.926 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004399/0.2792, allocations: 51.69 kB / 367.9 MB, free: 9.875 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003503/0.2796, allocations: 278.5 kB / 368.2 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.2796, allocations: 28.56 kB / 368.2 MB, free: 9.535 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.395e-05/0.2797, allocations: 31.92 kB / 368.3 MB, free: 9.504 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004957/0.2802, allocations: 334.4 kB / 368.6 MB, free: 9.137 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.2802, allocations: 7.953 kB / 368.6 MB, free: 9.129 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.273e-05/0.2803, allocations: 15.94 kB / 368.6 MB, free: 9.113 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.2803, allocations: 8 kB / 368.6 MB, free: 9.105 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003338/0.2806, allocations: 210 kB / 368.8 MB, free: 8.902 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01151/0.2921, allocations: 5.904 MB / 374.7 MB, free: 2.496 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002988/0.2924, allocations: 171.2 kB / 374.9 MB, free: 2.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.2926, allocations: 89.2 kB / 375 MB, free: 2.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009485/0.3021, allocations: 3.881 MB / 378.9 MB, free: 14.05 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.996e-05/0.3022, allocations: 42.69 kB / 378.9 MB, free: 14 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.084e-06/0.3022, allocations: 8 kB / 378.9 MB, free: 13.99 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006044/0.3082, allocations: 1.416 MB / 380.3 MB, free: 12.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.3083, allocations: 55.41 kB / 380.4 MB, free: 12.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002997/0.3086, allocations: 254.5 kB / 380.6 MB, free: 12.18 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.3086, allocations: 33.7 kB / 380.7 MB, free: 12.14 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.3088, allocations: 184 kB / 380.9 MB, free: 11.95 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.721e-05/0.3088, allocations: 90.66 kB / 380.9 MB, free: 11.86 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.658e-05/0.3089, allocations: 16 kB / 381 MB, free: 11.85 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.309, allocations: 334.8 kB / 381.3 MB, free: 11.51 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.3091, allocations: 87.95 kB / 381.4 MB, free: 11.43 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.3094, allocations: 186.7 kB / 381.6 MB, free: 11.2 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/0.3096, allocations: 119.9 kB / 381.7 MB, free: 11.09 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.3096, allocations: 11.95 kB / 381.7 MB, free: 11.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006828/0.3103, allocations: 390.7 kB / 382.1 MB, free: 10.68 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.3103, allocations: 4.375 kB / 382.1 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.3103, allocations: 8 kB / 382.1 MB, free: 10.67 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002954/0.3133, allocations: 401.3 kB / 382.5 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.3135, allocations: 67.91 kB / 382.5 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/0.315, allocations: 1.887 MB / 384.4 MB, free: 8.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002447/0.3153, allocations: 23.92 kB / 384.4 MB, free: 8.137 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.3153, allocations: 12 kB / 384.5 MB, free: 8.125 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.0001842/0.3155, allocations: 162 kB / 384.6 MB, free: 7.957 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.924e-05/0.3156, allocations: 27.7 kB / 384.6 MB, free: 7.93 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007282/0.3163, allocations: 498.6 kB / 385.1 MB, free: 7.43 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.3163, allocations: 7.922 kB / 385.1 MB, free: 7.422 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3163, allocations: 7.953 kB / 385.1 MB, free: 7.414 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006886/0.317, allocations: 0.7197 MB / 385.9 MB, free: 6.605 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/0.3185, allocations: 0.9375 MB / 386.8 MB, free: 5.602 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/0.3185, allocations: 7.938 kB / 386.8 MB, free: 5.594 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.3187, allocations: 47.92 kB / 386.9 MB, free: 5.547 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001577/0.3203, allocations: 332.3 kB / 387.2 MB, free: 5.219 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.3203, allocations: 8 kB / 387.2 MB, free: 5.211 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004855/0.3208, allocations: 0.6422 MB / 387.8 MB, free: 4.543 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3208, allocations: 0 / 387.8 MB, free: 4.543 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009331/0.3218, allocations: 0.7241 MB / 388.6 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.3219, allocations: 104.8 kB / 388.7 MB, free: 3.672 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.953e-05/0.3219, allocations: 8 kB / 388.7 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/0.3221, allocations: 16 kB / 388.7 MB, free: 3.648 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/0.3222, allocations: 19.97 kB / 388.7 MB, free: 3.629 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.3222, allocations: 8 kB / 388.7 MB, free: 3.621 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001796/0.3224, allocations: 186 kB / 388.9 MB, free: 3.441 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3224, allocations: 0 / 388.9 MB, free: 3.441 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007269/0.3231, allocations: 191.9 kB / 389.1 MB, free: 3.254 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.0007264/0.3239, allocations: 274.9 kB / 389.3 MB, free: 2.973 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008117/0.3247, allocations: 446.4 kB / 389.8 MB, free: 2.523 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.3247, allocations: 0 / 389.8 MB, free: 2.523 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005121/0.3252, allocations: 236.5 kB / 390 MB, free: 2.293 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009394/0.3262, allocations: 168.4 kB / 390.2 MB, free: 2.129 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.3276, allocations: 0.9408 MB / 391.1 MB, free: 1.16 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.328, allocations: 0.7798 MB / 391.9 MB, free: 360 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002462/0.3282, allocations: 54.92 kB / 392 MB, free: 308 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.3283, allocations: 27.44 kB / 392 MB, free: 280 kB / 318.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3283, allocations: 0 / 392 MB, free: 280 kB / 318.1 MB Notification: Performance of Templates: time 0.01715/0.3455, allocations: 9.365 MB / 401.3 MB, free: 6.902 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1)