Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Media.PerfectGases.Examples.TestMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir") translateModel(Buildings.Media.PerfectGases.Examples.TestMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir") [: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/Buildings 1.6.0+build.1/package.mo): time 0.4995/0.4995, allocations: 94.74 MB / 102 MB, free: 10.36 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001101/0.001101, allocations: 180.4 kB / 125.3 MB, free: 12 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.324/1.324, allocations: 170.5 MB / 319 MB, free: 9.508 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001717/0.001717, allocations: 109.2 kB / 381 MB, free: 18.16 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.113e-06/7.163e-06, allocations: 224 / 448.6 MB, free: 2.121 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1573, allocations: 61.52 MB / 0.4981 GB, free: 4.508 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.69/10.85, allocations: 4.465 GB / 4.963 GB, free: 173.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003897/10.85, allocations: 75.58 kB / 4.963 GB, free: 173.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.9196/11.77, allocations: 259.9 MB / 5.217 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.081e-05/11.77, allocations: 12.97 kB / 5.217 GB, free: 109.3 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.004773/11.78, allocations: 1.079 MB / 5.218 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.76e-05/11.78, allocations: 8.719 kB / 5.218 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008265/11.78, allocations: 63.23 kB / 5.218 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/11.78, allocations: 358.4 kB / 5.219 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.566e-05/11.78, allocations: 16.22 kB / 5.219 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/11.78, allocations: 29.31 kB / 5.219 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001554/11.78, allocations: 0.5686 MB / 5.219 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/11.78, allocations: 439.3 kB / 5.22 GB, free: 108 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.91e-05/11.78, allocations: 0 / 5.22 GB, free: 108 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.126e-05/11.78, allocations: 1.344 kB / 5.22 GB, free: 108 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.195e-05/11.78, allocations: 9.938 kB / 5.22 GB, free: 108 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004156/11.78, allocations: 1.637 MB / 5.221 GB, free: 107 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/11.79, allocations: 365.7 kB / 5.222 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005168/11.79, allocations: 239.2 kB / 5.222 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000269/11.79, allocations: 197.2 kB / 5.222 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.756e-05/11.79, allocations: 42.16 kB / 5.222 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=53): time 2.565e-06/11.79, allocations: 1.125 kB / 5.222 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=65): time 0.01644/11.8, allocations: 3.823 MB / 5.226 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/11.8, allocations: 59.97 kB / 5.226 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003124/11.8, allocations: 222.5 kB / 5.226 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001111/11.8, allocations: 32.64 kB / 5.226 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/11.8, allocations: 177.6 kB / 5.226 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001857/11.8, allocations: 214.3 kB / 5.227 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/11.8, allocations: 0 / 5.227 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001082/11.8, allocations: 349.8 kB / 5.227 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004252/11.8, allocations: 264.2 kB / 5.227 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004963/11.81, allocations: 339.8 kB / 5.227 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009519/11.81, allocations: 373.7 kB / 5.228 GB, free: 104 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/11.81, allocations: 3.531 kB / 5.228 GB, free: 104 MB / 0.5261 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.005299/11.81, allocations: 1.43 MB / 5.229 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/11.81, allocations: 6.719 kB / 5.229 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/11.81, allocations: 2.516 kB / 5.229 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001369/11.81, allocations: 313.5 kB / 5.23 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006299/11.81, allocations: 121.5 kB / 5.23 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01101/11.82, allocations: 6.273 MB / 5.236 GB, free: 98.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000989/11.83, allocations: 51.77 kB / 5.236 GB, free: 98.65 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/11.83, allocations: 29.52 kB / 5.236 GB, free: 98.64 MB / 0.5261 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: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 65 * 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 {(2,100.0%) 6} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000425/11.83, allocations: 130.2 kB / 5.236 GB, free: 98.52 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001928/11.83, allocations: 37.78 kB / 5.236 GB, free: 98.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005078/11.83, allocations: 1.441 MB / 5.237 GB, free: 98.06 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.598e-05/11.83, allocations: 7.688 kB / 5.237 GB, free: 98.06 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/11.83, allocations: 0 / 5.237 GB, free: 98.06 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004458/11.84, allocations: 1.459 MB / 5.239 GB, free: 97.42 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006528/11.84, allocations: 2.179 MB / 5.241 GB, free: 96.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/11.84, allocations: 3.469 kB / 5.241 GB, free: 96.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006658/11.84, allocations: 130.8 kB / 5.241 GB, free: 96.49 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001485/11.84, allocations: 303.2 kB / 5.241 GB, free: 96.43 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.495e-05/11.84, allocations: 20.66 kB / 5.241 GB, free: 96.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004045/11.85, allocations: 2.288 MB / 5.244 GB, free: 94.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.637e-06/11.85, allocations: 4.016 kB / 5.244 GB, free: 94.73 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006024/11.86, allocations: 1.885 MB / 5.246 GB, free: 93.86 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006509/11.86, allocations: 216.3 kB / 5.246 GB, free: 93.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001773/11.86, allocations: 6.469 kB / 5.246 GB, free: 93.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009879/11.86, allocations: 49.28 kB / 5.246 GB, free: 93.69 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/11.86, allocations: 57.89 kB / 5.246 GB, free: 93.67 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/11.86, allocations: 40.27 kB / 5.246 GB, free: 93.67 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0002819/11.86, allocations: 185.5 kB / 5.246 GB, free: 93.55 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002841/11.86, allocations: 469.4 kB / 5.246 GB, free: 93.43 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (66): * Single equations (assignments): 65 * 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 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003299/11.86, allocations: 1.275 MB / 5.248 GB, free: 93.06 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00197/11.87, allocations: 1.006 MB / 5.249 GB, free: 92.49 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.365e-06/11.87, allocations: 0 / 5.249 GB, free: 92.49 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008699/11.87, allocations: 0.5031 MB / 5.249 GB, free: 92.24 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/11.87, allocations: 220.5 kB / 5.249 GB, free: 92.19 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003284/11.87, allocations: 1.124 MB / 5.251 GB, free: 91.63 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006327/11.87, allocations: 0.9507 MB / 5.251 GB, free: 90.9 MB / 0.5261 GB Notification: Performance of SimCode: time 9.22e-07/11.87, allocations: 0 / 5.251 GB, free: 90.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.03403/11.91, allocations: 21.93 MB / 5.273 GB, free: 72.4 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir.makefile (rm -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir.pipe ; mkfifo Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir.pipe >> ../files/Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir.sim & ./Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir.pipe 2>&1)