Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Examples.AirTestImplementation.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.Examples.AirTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.AirTestImplementation") translateModel(Annex60.Media.Examples.AirTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.AirTestImplementation") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2807/0.2807, allocations: 54.4 MB / 61.69 MB, free: 11.14 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.001202/0.001202, allocations: 185.3 kB / 75.38 MB, free: 1.535 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.662/1.662, allocations: 194.2 MB / 283.2 MB, free: 3.484 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001784/0.001784, allocations: 113.3 kB / 341.3 MB, free: 9.367 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.664e-06/7.684e-06, allocations: 4 kB / 404.9 MB, free: 27.69 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1395, allocations: 57.64 MB / 462.6 MB, free: 1.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.188/5.328, allocations: 2.115 GB / 2.567 GB, free: 89.6 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003875/5.328, allocations: 69.28 kB / 2.567 GB, free: 89.53 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.833/6.161, allocations: 238.9 MB / 2.8 GB, free: 51.09 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.455e-05/6.161, allocations: 12 kB / 2.8 GB, free: 51.08 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001899/6.163, allocations: 0.6739 MB / 2.801 GB, free: 50.36 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/6.163, allocations: 11.97 kB / 2.801 GB, free: 50.35 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005491/6.164, allocations: 59.52 kB / 2.801 GB, free: 50.29 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006833/6.165, allocations: 338 kB / 2.801 GB, free: 49.92 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/6.165, allocations: 12 kB / 2.801 GB, free: 49.91 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-05/6.165, allocations: 20 kB / 2.801 GB, free: 49.89 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006469/6.165, allocations: 317.4 kB / 2.802 GB, free: 49.58 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006416/6.166, allocations: 334.1 kB / 2.802 GB, free: 49.25 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/6.166, allocations: 0 / 2.802 GB, free: 49.25 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.317e-05/6.166, allocations: 3.984 kB / 2.802 GB, free: 49.24 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/6.166, allocations: 19.89 kB / 2.802 GB, free: 49.22 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002468/6.169, allocations: 1.462 MB / 2.803 GB, free: 47.62 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003082/6.169, allocations: 210.8 kB / 2.804 GB, free: 47.41 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/6.169, allocations: 161.2 kB / 2.804 GB, free: 47.25 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.823e-05/6.169, allocations: 8.281 kB / 2.804 GB, free: 47.24 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/6.169, allocations: 34.84 kB / 2.804 GB, free: 47.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 2.004e-06/6.169, allocations: 4 kB / 2.804 GB, free: 47.19 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.00234/6.172, allocations: 1.039 MB / 2.805 GB, free: 46.09 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/6.172, allocations: 59.34 kB / 2.805 GB, free: 46.02 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/6.172, allocations: 216 kB / 2.805 GB, free: 45.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.688e-05/6.172, allocations: 25.7 kB / 2.805 GB, free: 45.77 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.309e-05/6.172, allocations: 184.2 kB / 2.805 GB, free: 45.59 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.695e-05/6.172, allocations: 130 kB / 2.805 GB, free: 45.46 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.831e-05/6.172, allocations: 4 kB / 2.805 GB, free: 45.46 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.868e-05/6.172, allocations: 338.8 kB / 2.806 GB, free: 45.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/6.172, allocations: 128.8 kB / 2.806 GB, free: 44.99 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/6.173, allocations: 184.1 kB / 2.806 GB, free: 44.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/6.173, allocations: 161.8 kB / 2.806 GB, free: 44.64 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/6.173, allocations: 0 / 2.806 GB, free: 44.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006168/6.174, allocations: 439.5 kB / 2.807 GB, free: 44.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/6.174, allocations: 4 kB / 2.807 GB, free: 44.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/6.174, allocations: 4 kB / 2.807 GB, free: 44.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001639/6.174, allocations: 41.7 kB / 2.807 GB, free: 44.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004193/6.174, allocations: 96.02 kB / 2.807 GB, free: 44.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001587/6.176, allocations: 2.488 MB / 2.809 GB, free: 41.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003398/6.176, allocations: 32.08 kB / 2.809 GB, free: 41.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.865e-05/6.176, allocations: 12 kB / 2.809 GB, free: 41.29 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: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * 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: 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 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002246/6.176, allocations: 116.9 kB / 2.809 GB, free: 41.17 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.311e-05/6.176, allocations: 35.62 kB / 2.809 GB, free: 41.13 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.82e-05/6.177, allocations: 38.95 kB / 2.809 GB, free: 41.09 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/6.177, allocations: 4 kB / 2.809 GB, free: 41.09 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/6.177, allocations: 4 kB / 2.809 GB, free: 41.09 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000539/6.177, allocations: 0.5651 MB / 2.81 GB, free: 40.45 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/6.179, allocations: 0.9525 MB / 2.811 GB, free: 39.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/6.179, allocations: 0 / 2.811 GB, free: 39.44 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004794/6.179, allocations: 92.08 kB / 2.811 GB, free: 39.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/6.179, allocations: 11.88 kB / 2.811 GB, free: 39.34 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.468e-05/6.179, allocations: 11.98 kB / 2.811 GB, free: 39.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/6.179, allocations: 4 kB / 2.811 GB, free: 39.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/6.179, allocations: 3.938 kB / 2.811 GB, free: 39.32 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007535/6.18, allocations: 0.7151 MB / 2.812 GB, free: 38.53 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002132/6.18, allocations: 160.7 kB / 2.812 GB, free: 38.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.36e-05/6.18, allocations: 4 kB / 2.812 GB, free: 38.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004276/6.181, allocations: 27.81 kB / 2.812 GB, free: 38.32 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/6.181, allocations: 27.91 kB / 2.812 GB, free: 38.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-05/6.181, allocations: 23.98 kB / 2.812 GB, free: 38.27 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0001405/6.181, allocations: 172.5 kB / 2.812 GB, free: 38.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008196/6.182, allocations: 176 kB / 2.812 GB, free: 37.93 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (volume.medium.Xi[1],volume.medium.T,volume.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001664/6.183, allocations: 1.172 MB / 2.813 GB, free: 36.75 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007329/6.184, allocations: 0.5151 MB / 2.814 GB, free: 36.21 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/6.184, allocations: 0 / 2.814 GB, free: 36.21 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002022/6.184, allocations: 172.3 kB / 2.814 GB, free: 36.04 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009494/6.185, allocations: 157 kB / 2.814 GB, free: 35.89 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/6.187, allocations: 0.7582 MB / 2.815 GB, free: 35.09 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004392/6.187, allocations: 0.8699 MB / 2.816 GB, free: 34.19 MB / 0.4948 GB Notification: Performance of SimCode: time 2.7e-07/6.187, allocations: 0 / 2.816 GB, free: 34.19 MB / 0.4948 GB Notification: Performance of Templates: time 0.02201/6.209, allocations: 13.96 MB / 2.829 GB, free: 20.23 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.AirTestImplementation.makefile (rm -f Annex60_1.0.0_Annex60.Media.Examples.AirTestImplementation.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Examples.AirTestImplementation.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Examples.AirTestImplementation.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Examples.AirTestImplementation.sim & ./Annex60_1.0.0_Annex60.Media.Examples.AirTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Examples.AirTestImplementation.pipe 2>&1)