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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6039/0.6039, allocations: 94.77 MB / 102.2 MB, free: 10.13 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.001459/0.001459, allocations: 172.7 kB / 125.6 MB, free: 11.87 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.933/1.933, allocations: 170.6 MB / 319.4 MB, free: 9.324 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.001686/0.001686, allocations: 118.4 kB / 381.3 MB, free: 18.27 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.958e-05/1.96e-05, allocations: 4 kB / 449.1 MB, free: 1.742 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1884, allocations: 61.52 MB / 0.4987 GB, free: 4.137 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.46/14.65, allocations: 4.465 GB / 4.964 GB, free: 163.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004672/14.65, allocations: 77.03 kB / 4.964 GB, free: 163.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.068/15.72, allocations: 257.2 MB / 5.215 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.257e-06/15.72, allocations: 1.406 kB / 5.215 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.008e-05/15.72, allocations: 10.23 kB / 5.215 GB, free: 104.8 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.003676/15.72, allocations: 1.086 MB / 5.216 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/15.72, allocations: 7.562 kB / 5.216 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003331/15.72, allocations: 63.19 kB / 5.216 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005519/15.72, allocations: 360.5 kB / 5.217 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/15.72, allocations: 17.72 kB / 5.217 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.375e-05/15.72, allocations: 23.09 kB / 5.217 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000949/15.72, allocations: 0.5591 MB / 5.217 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007978/15.72, allocations: 441.3 kB / 5.218 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/15.72, allocations: 0 / 5.218 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.292e-05/15.72, allocations: 0 / 5.218 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/15.72, allocations: 11.56 kB / 5.218 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002844/15.73, allocations: 1.638 MB / 5.219 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/15.73, allocations: 0.528 MB / 5.22 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003421/15.73, allocations: 239.2 kB / 5.22 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002174/15.73, allocations: 192.9 kB / 5.22 GB, free: 102 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/15.73, allocations: 46.81 kB / 5.22 GB, free: 102 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=53): time 2.394e-06/15.73, allocations: 0 / 5.22 GB, free: 102 MB / 0.5261 GB Notification: Performance of matching and sorting (n=65): time 0.01407/15.74, allocations: 3.738 MB / 5.224 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/15.74, allocations: 59.31 kB / 5.224 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003015/15.74, allocations: 215.5 kB / 5.224 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.371e-05/15.74, allocations: 29.7 kB / 5.224 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/15.74, allocations: 194.8 kB / 5.224 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/15.74, allocations: 220 kB / 5.225 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/15.74, allocations: 0 / 5.225 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001112/15.74, allocations: 343.3 kB / 5.225 GB, free: 99.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003746/15.74, allocations: 270.9 kB / 5.225 GB, free: 99.69 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004355/15.74, allocations: 331.5 kB / 5.226 GB, free: 99.52 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008007/15.74, allocations: 368.2 kB / 5.226 GB, free: 99.39 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/15.74, allocations: 3.094 kB / 5.226 GB, free: 99.39 MB / 0.5261 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.004538/15.75, allocations: 1.393 MB / 5.227 GB, free: 98.97 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/15.75, allocations: 3.844 kB / 5.227 GB, free: 98.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/15.75, allocations: 3.812 kB / 5.227 GB, free: 98.97 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001211/15.75, allocations: 305.7 kB / 5.228 GB, free: 98.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005538/15.75, allocations: 121.9 kB / 5.228 GB, free: 98.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009829/15.76, allocations: 6.343 MB / 5.234 GB, free: 93.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008857/15.76, allocations: 50.66 kB / 5.234 GB, free: 93.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.608e-05/15.76, allocations: 32.22 kB / 5.234 GB, free: 93.81 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.0003518/15.76, allocations: 128.2 kB / 5.234 GB, free: 93.69 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/15.76, allocations: 40.53 kB / 5.234 GB, free: 93.67 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004346/15.77, allocations: 1.376 MB / 5.235 GB, free: 93.24 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/15.77, allocations: 7.781 kB / 5.235 GB, free: 93.24 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/15.77, allocations: 7.141 kB / 5.235 GB, free: 93.23 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003713/15.77, allocations: 1.425 MB / 5.237 GB, free: 92.59 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005232/15.77, allocations: 2.014 MB / 5.239 GB, free: 91.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/15.78, allocations: 0 / 5.239 GB, free: 91.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005796/15.78, allocations: 125 kB / 5.239 GB, free: 91.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001314/15.78, allocations: 288.5 kB / 5.239 GB, free: 91.71 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.146e-05/15.78, allocations: 18.45 kB / 5.239 GB, free: 91.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003588/15.78, allocations: 2.309 MB / 5.241 GB, free: 89.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/15.78, allocations: 0 / 5.241 GB, free: 89.97 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004712/15.79, allocations: 1.66 MB / 5.243 GB, free: 89.34 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005565/15.79, allocations: 208.6 kB / 5.243 GB, free: 89.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/15.79, allocations: 7.422 kB / 5.243 GB, free: 89.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008428/15.79, allocations: 46.3 kB / 5.243 GB, free: 89.18 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/15.79, allocations: 54.72 kB / 5.243 GB, free: 89.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/15.79, allocations: 35.53 kB / 5.243 GB, free: 89.16 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002462/15.79, allocations: 182.2 kB / 5.244 GB, free: 89.05 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/15.79, allocations: 0 / 5.244 GB, free: 89.05 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002568/15.79, allocations: 466.2 kB / 5.244 GB, free: 88.93 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.00326/15.79, allocations: 1.268 MB / 5.245 GB, free: 88.54 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002185/15.8, allocations: 1.027 MB / 5.246 GB, free: 87.95 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/15.8, allocations: 3.906 kB / 5.246 GB, free: 87.95 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009757/15.8, allocations: 0.4997 MB / 5.247 GB, free: 87.69 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001662/15.8, allocations: 232.3 kB / 5.247 GB, free: 87.63 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002867/15.8, allocations: 1.026 MB / 5.248 GB, free: 87.14 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005075/15.8, allocations: 0.8747 MB / 5.249 GB, free: 86.43 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008058/15.8, allocations: 130.1 kB / 5.249 GB, free: 86.41 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002261/15.8, allocations: 61.08 kB / 5.249 GB, free: 86.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.803e-06/15.8, allocations: 0 / 5.249 GB, free: 86.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.04135/15.84, allocations: 20.8 MB / 5.269 GB, free: 72.95 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)