Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation") translateModel(Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3298/0.3298, allocations: 54.42 MB / 61.89 MB, free: 13.75 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00165/0.00165, allocations: 190.8 kB / 75.61 MB, free: 0.7617 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.877/1.877, allocations: 194.3 MB / 283.5 MB, free: 14.84 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001585/0.001585, allocations: 117.1 kB / 341.6 MB, free: 4.016 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.226e-05/2.228e-05, allocations: 4 kB / 405.5 MB, free: 4.129 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4539/0.454, allocations: 57.64 MB / 463.1 MB, free: 51.82 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.75/14.2, allocations: 4.612 GB / 5.064 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/14.2, allocations: 76.81 kB / 5.065 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8357/15.04, allocations: 248.2 MB / 5.307 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.194e-06/15.04, allocations: 3.625 kB / 5.307 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.061e-05/15.04, allocations: 10.03 kB / 5.307 GB, free: 115.9 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002064/15.04, allocations: 0.7498 MB / 5.308 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/15.04, allocations: 7.594 kB / 5.308 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004659/15.04, allocations: 63.2 kB / 5.308 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005746/15.04, allocations: 316 kB / 5.308 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/15.04, allocations: 10.56 kB / 5.308 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.353e-05/15.04, allocations: 23 kB / 5.308 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006531/15.04, allocations: 358.6 kB / 5.308 GB, free: 115 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005975/15.04, allocations: 335.4 kB / 5.309 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/15.04, allocations: 1.375 kB / 5.309 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.327e-05/15.04, allocations: 0 / 5.309 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/15.04, allocations: 10.72 kB / 5.309 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002159/15.04, allocations: 1.493 MB / 5.31 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000347/15.04, allocations: 255.6 kB / 5.31 GB, free: 113.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/15.04, allocations: 138.2 kB / 5.311 GB, free: 113.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.688e-05/15.04, allocations: 17.86 kB / 5.311 GB, free: 113.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/15.04, allocations: 38.5 kB / 5.311 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 1.994e-06/15.04, allocations: 0 / 5.311 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=41): time 0.00283/15.05, allocations: 1.241 MB / 5.312 GB, free: 113 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.395e-05/15.05, allocations: 56.22 kB / 5.312 GB, free: 113 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/15.05, allocations: 221.1 kB / 5.312 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.567e-05/15.05, allocations: 28.45 kB / 5.312 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.265e-05/15.05, allocations: 195.6 kB / 5.312 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.061e-05/15.05, allocations: 144.5 kB / 5.313 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.13e-05/15.05, allocations: 0 / 5.313 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.04e-05/15.05, allocations: 341 kB / 5.313 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/15.05, allocations: 150.1 kB / 5.313 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/15.05, allocations: 197.4 kB / 5.313 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/15.05, allocations: 177 kB / 5.313 GB, free: 112 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/15.05, allocations: 7.094 kB / 5.313 GB, free: 112 MB / 0.4948 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007742/15.05, allocations: 0.5054 MB / 5.314 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/15.05, allocations: 3.812 kB / 5.314 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/15.05, allocations: 3.844 kB / 5.314 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000296/15.05, allocations: 102.8 kB / 5.314 GB, free: 111.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006432/15.05, allocations: 114.8 kB / 5.314 GB, free: 111.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002505/15.05, allocations: 3.99 MB / 5.318 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000426/15.05, allocations: 32.19 kB / 5.318 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-05/15.05, allocations: 7.75 kB / 5.318 GB, free: 107.8 MB / 0.4948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002744/15.05, allocations: 132.1 kB / 5.318 GB, free: 107.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/15.05, allocations: 34.56 kB / 5.318 GB, free: 107.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/15.05, allocations: 39.22 kB / 5.318 GB, free: 107.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/15.05, allocations: 10.95 kB / 5.318 GB, free: 107.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/15.05, allocations: 0 / 5.318 GB, free: 107.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007903/15.05, allocations: 0.626 MB / 5.319 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001542/15.06, allocations: 1.029 MB / 5.32 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/15.06, allocations: 3.812 kB / 5.32 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006532/15.06, allocations: 115.5 kB / 5.32 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001912/15.06, allocations: 63.86 kB / 5.32 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.279e-05/15.06, allocations: 10.77 kB / 5.32 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001118/15.06, allocations: 1.503 MB / 5.321 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/15.06, allocations: 0 / 5.321 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/15.06, allocations: 0.7817 MB / 5.322 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002478/15.06, allocations: 163.2 kB / 5.322 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.56e-05/15.06, allocations: 9.406 kB / 5.322 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004473/15.06, allocations: 25.11 kB / 5.322 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.495e-05/15.06, allocations: 35.06 kB / 5.322 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.771e-05/15.06, allocations: 26.16 kB / 5.322 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001747/15.06, allocations: 172 kB / 5.323 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.11e-07/15.06, allocations: 0 / 5.323 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001107/15.06, allocations: 196.1 kB / 5.323 GB, free: 104.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001987/15.06, allocations: 1.136 MB / 5.324 GB, free: 104 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001059/15.06, allocations: 0.6914 MB / 5.325 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/15.06, allocations: 3.438 kB / 5.325 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004267/15.07, allocations: 310.5 kB / 5.325 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009684/15.07, allocations: 178.4 kB / 5.325 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/15.07, allocations: 0.8369 MB / 5.326 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/15.07, allocations: 0.8369 MB / 5.327 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004917/15.07, allocations: 90.58 kB / 5.327 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/15.07, allocations: 38.59 kB / 5.327 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of SimCode: time 1.032e-06/15.07, allocations: 0 / 5.327 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.02165/15.09, allocations: 13.78 MB / 5.34 GB, free: 93.41 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation.makefile (rm -f Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation.sim & ./Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe 2>&1)