Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.PerfectGases.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.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion") translateModel(Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5593/0.5593, allocations: 95.62 MB / 110.6 MB, free: 9.371 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.001317/0.001317, allocations: 174 kB / 134.2 MB, free: 2.254 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.677/1.677, allocations: 170.7 MB / 328.4 MB, free: 12.28 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.001647/0.001647, allocations: 107.4 kB / 390.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004265/0.0004267, allocations: 16 kB / 462.7 MB, free: 35.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1742, allocations: 61.53 MB / 0.512 GB, free: 6.098 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.72/12.9, allocations: 4.463 GB / 4.975 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004287/12.9, allocations: 83.95 kB / 4.975 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.101/13, allocations: 53.36 MB / 5.027 GB, free: 70.13 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.464e-06/13, allocations: 0 / 5.027 GB, free: 70.13 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.004e-05/13, allocations: 4 kB / 5.027 GB, free: 70.12 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.000612/13, allocations: 411.1 kB / 5.028 GB, free: 69.68 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/13, allocations: 11.98 kB / 5.028 GB, free: 69.66 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.176e-05/13, allocations: 4 kB / 5.028 GB, free: 69.66 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/13, allocations: 167 kB / 5.028 GB, free: 69.46 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.132e-05/13, allocations: 29.7 kB / 5.028 GB, free: 69.42 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/13, allocations: 0 / 5.028 GB, free: 69.42 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/13, allocations: 53.62 kB / 5.028 GB, free: 69.36 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/13, allocations: 0 / 5.028 GB, free: 69.36 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/13, allocations: 3.938 kB / 5.028 GB, free: 69.36 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.317e-05/13, allocations: 4 kB / 5.028 GB, free: 69.36 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.499e-05/13, allocations: 19.98 kB / 5.028 GB, free: 69.34 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003475/13, allocations: 261.5 kB / 5.028 GB, free: 69.03 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.707e-05/13, allocations: 26.52 kB / 5.028 GB, free: 69 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/13, allocations: 0 / 5.028 GB, free: 69 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/13, allocations: 34.56 kB / 5.028 GB, free: 68.95 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/13, allocations: 64 / 5.028 GB, free: 68.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001483/13, allocations: 33.7 kB / 5.028 GB, free: 68.91 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/13, allocations: 55.34 kB / 5.028 GB, free: 68.85 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.993e-05/13, allocations: 113 kB / 5.028 GB, free: 68.73 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/13, allocations: 25.7 kB / 5.029 GB, free: 68.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.316e-05/13, allocations: 87.98 kB / 5.029 GB, free: 68.61 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.792e-06/13, allocations: 3.906 kB / 5.029 GB, free: 68.61 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-06/13, allocations: 0 / 5.029 GB, free: 68.61 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.85e-05/13, allocations: 322.8 kB / 5.029 GB, free: 68.28 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.344e-05/13, allocations: 0 / 5.029 GB, free: 68.28 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.13e-05/13, allocations: 22.58 kB / 5.029 GB, free: 68.25 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.515e-05/13, allocations: 15.98 kB / 5.029 GB, free: 68.23 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/13, allocations: 0 / 5.029 GB, free: 68.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.332e-05/13, allocations: 57.58 kB / 5.029 GB, free: 68.17 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/13, allocations: 9.562 kB / 5.029 GB, free: 68.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/13, allocations: 0 / 5.029 GB, free: 68.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/13, allocations: 0 / 5.029 GB, free: 68.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.831e-05/13, allocations: 8 kB / 5.029 GB, free: 68.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/13, allocations: 4.094 kB / 5.029 GB, free: 68.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.441e-05/13, allocations: 3.938 kB / 5.029 GB, free: 68.15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/13, allocations: 4 kB / 5.029 GB, free: 68.14 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 () * Number of clocked 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.529e-05/13, allocations: 117.8 kB / 5.029 GB, free: 68.02 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/13, allocations: 3.953 kB / 5.029 GB, free: 68.02 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/13, allocations: 120.8 kB / 5.029 GB, free: 67.89 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.281e-05/13, allocations: 188.2 kB / 5.029 GB, free: 67.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.202e-05/13, allocations: 176.3 kB / 5.03 GB, free: 67.52 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.203e-05/13, allocations: 187 kB / 5.03 GB, free: 67.33 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/13, allocations: 405.2 kB / 5.03 GB, free: 66.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.972e-05/13, allocations: 101 kB / 5.03 GB, free: 66.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.192e-05/13, allocations: 112.9 kB / 5.03 GB, free: 66.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.543e-05/13, allocations: 184.2 kB / 5.031 GB, free: 66.47 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.704e-05/13, allocations: 180.2 kB / 5.031 GB, free: 66.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-05/13, allocations: 184.2 kB / 5.031 GB, free: 66.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.173e-05/13, allocations: 176.3 kB / 5.031 GB, free: 65.92 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.837e-05/13, allocations: 307.8 kB / 5.031 GB, free: 65.59 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.349e-05/13, allocations: 190 kB / 5.032 GB, free: 65.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.869e-05/13, allocations: 184.2 kB / 5.032 GB, free: 65.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/13, allocations: 109 kB / 5.032 GB, free: 65.08 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/13, allocations: 184.2 kB / 5.032 GB, free: 64.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/13, allocations: 109 kB / 5.032 GB, free: 64.78 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.248e-05/13, allocations: 79.28 kB / 5.032 GB, free: 64.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/13, allocations: 0 / 5.032 GB, free: 64.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006734/13, allocations: 151.8 kB / 5.032 GB, free: 64.55 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 () * Number of clocked 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.001474/13, allocations: 0.7924 MB / 5.033 GB, free: 63.76 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8.655e-05/13, allocations: 15.92 kB / 5.033 GB, free: 63.74 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/13, allocations: 0 / 5.033 GB, free: 63.74 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.634e-06/13, allocations: 0 / 5.033 GB, free: 63.74 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/13, allocations: 0.5265 MB / 5.034 GB, free: 63.21 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002747/13.01, allocations: 191.7 kB / 5.034 GB, free: 63 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001633/13.01, allocations: 0.6809 MB / 5.034 GB, free: 62.29 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.616e-05/13.01, allocations: 11.98 kB / 5.034 GB, free: 62.28 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.43e-05/13.01, allocations: 7.438 kB / 5.034 GB, free: 62.27 MB / 0.5261 GB Notification: Performance of SimCode: time 4.4e-07/13.01, allocations: 0 / 5.034 GB, free: 62.27 MB / 0.5261 GB Notification: Performance of Templates: time 0.01324/13.02, allocations: 9.341 MB / 5.044 GB, free: 52.92 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.makefile (rm -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.pipe 2>&1)