Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion.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.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion") translateModel(Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5423/0.5423, allocations: 94.78 MB / 102.3 MB, free: 10.15 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.001108/0.001108, allocations: 175.1 kB / 125.6 MB, free: 11.89 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.823/1.823, allocations: 170.6 MB / 319.4 MB, free: 9.359 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.001801/0.001801, allocations: 108.3 kB / 381.3 MB, free: 18.27 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.02e-05/2.022e-05, allocations: 4 kB / 449.1 MB, free: 1.758 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2107, allocations: 61.52 MB / 0.4987 GB, free: 4.141 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.6/17.81, allocations: 5.17 GB / 5.668 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003347/17.81, allocations: 77.45 kB / 5.668 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1495/17.96, allocations: 69.57 MB / 5.736 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.665e-06/17.96, allocations: 1.188 kB / 5.736 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.057e-05/17.96, allocations: 0 / 5.736 GB, free: 128.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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007478/17.96, allocations: 413.8 kB / 5.737 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.776e-05/17.96, allocations: 8.719 kB / 5.737 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.543e-05/17.96, allocations: 5.422 kB / 5.737 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/17.96, allocations: 160.5 kB / 5.737 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.64e-05/17.96, allocations: 31.39 kB / 5.737 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/17.96, allocations: 1.406 kB / 5.737 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001042/17.96, allocations: 28.44 kB / 5.737 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.77e-05/17.96, allocations: 49.14 kB / 5.737 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/17.96, allocations: 0 / 5.737 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/17.96, allocations: 1.062 kB / 5.737 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.548e-05/17.96, allocations: 1.406 kB / 5.737 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003846/17.97, allocations: 238.2 kB / 5.737 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.369e-05/17.97, allocations: 21.09 kB / 5.737 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.862e-05/17.97, allocations: 5.891 kB / 5.737 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/17.97, allocations: 5.406 kB / 5.737 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/17.97, allocations: 35.72 kB / 5.737 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/17.97, allocations: 0 / 5.737 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.000196/17.97, allocations: 30.8 kB / 5.737 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/17.97, allocations: 55.44 kB / 5.737 GB, free: 127.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.287e-05/17.97, allocations: 96.92 kB / 5.737 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/17.97, allocations: 25.7 kB / 5.737 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.76e-05/17.97, allocations: 93.64 kB / 5.738 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.316e-06/17.97, allocations: 5.156 kB / 5.738 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/17.97, allocations: 0 / 5.738 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.408e-05/17.97, allocations: 316.1 kB / 5.738 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.604e-05/17.97, allocations: 6.469 kB / 5.738 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.045e-05/17.97, allocations: 23.48 kB / 5.738 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.72e-05/17.97, allocations: 12.44 kB / 5.738 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/17.97, allocations: 1.344 kB / 5.738 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.039e-05/17.97, allocations: 52.7 kB / 5.738 GB, free: 127 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/17.97, allocations: 6.375 kB / 5.738 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/17.97, allocations: 0 / 5.738 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/17.97, allocations: 13.14 kB / 5.738 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.3e-05/17.97, allocations: 6.312 kB / 5.738 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/17.97, allocations: 1.344 kB / 5.738 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.305e-05/17.97, allocations: 1.344 kB / 5.738 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/17.97, allocations: 4.406 kB / 5.738 GB, free: 127 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 6.456e-05/17.97, allocations: 102.2 kB / 5.738 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/17.97, allocations: 5.203 kB / 5.738 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/17.97, allocations: 133.1 kB / 5.738 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-05/17.97, allocations: 181.7 kB / 5.738 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.284e-05/17.97, allocations: 177.7 kB / 5.739 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-05/17.97, allocations: 176.3 kB / 5.739 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/17.97, allocations: 389.3 kB / 5.739 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.658e-05/17.97, allocations: 101 kB / 5.739 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.666e-05/17.97, allocations: 110.2 kB / 5.739 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-05/17.97, allocations: 185.4 kB / 5.739 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-05/17.97, allocations: 177.4 kB / 5.74 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.547e-05/17.97, allocations: 184.2 kB / 5.74 GB, free: 125 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.752e-05/17.97, allocations: 181.4 kB / 5.74 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/17.97, allocations: 312.2 kB / 5.74 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.759e-05/17.97, allocations: 179.2 kB / 5.74 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.113e-05/17.97, allocations: 181.5 kB / 5.741 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/17.97, allocations: 103.7 kB / 5.741 GB, free: 124 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.099e-05/17.97, allocations: 189.7 kB / 5.741 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.68e-05/17.97, allocations: 102 kB / 5.741 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.163e-05/17.97, allocations: 88.14 kB / 5.741 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/17.97, allocations: 0.8438 kB / 5.741 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008105/17.97, allocations: 157.6 kB / 5.741 GB, free: 123.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.001804/17.97, allocations: 0.94 MB / 5.742 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.929e-05/17.97, allocations: 6.812 kB / 5.742 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/17.97, allocations: 1.344 kB / 5.742 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.793e-06/17.97, allocations: 7.938 kB / 5.742 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/17.97, allocations: 0.525 MB / 5.743 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002163/17.97, allocations: 122.2 kB / 5.743 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001554/17.97, allocations: 0.6773 MB / 5.743 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.99e-05/17.97, allocations: 20.44 kB / 5.743 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.165e-05/17.97, allocations: 12.16 kB / 5.743 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of SimCode: time 2.1e-07/17.97, allocations: 1.031 kB / 5.743 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.01133/17.98, allocations: 5.286 MB / 5.749 GB, free: 119.1 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion.makefile (rm -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion.pipe 2>&1)