Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesConstantDensity.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.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion") translateModel(Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5932/0.5932, allocations: 94.77 MB / 102.2 MB, free: 10.16 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.001516/0.001516, allocations: 181.8 kB / 125.6 MB, free: 11.9 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.952/1.952, allocations: 170.6 MB / 319.4 MB, free: 9.277 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.001831/0.001831, allocations: 114.5 kB / 381.3 MB, free: 18.35 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.839e-05/1.839e-05, allocations: 0 / 449.1 MB, free: 1.762 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2048, allocations: 61.53 MB / 0.4987 GB, free: 4.141 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.25/16.46, allocations: 5.12 GB / 5.619 GB, free: 45.98 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003088/16.46, allocations: 80.55 kB / 5.619 GB, free: 45.94 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.5673/17.03, allocations: 69.65 MB / 5.687 GB, free: 148.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.503e-06/17.03, allocations: 3.312 kB / 5.687 GB, free: 148.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.723e-06/17.03, allocations: 0 / 5.687 GB, free: 148.9 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.0005796/17.03, allocations: 418.8 kB / 5.687 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/17.03, allocations: 9.812 kB / 5.687 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/17.03, allocations: 3.125 kB / 5.687 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.478e-05/17.03, allocations: 162.8 kB / 5.687 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.963e-05/17.03, allocations: 31.94 kB / 5.687 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.139e-06/17.03, allocations: 5.656 kB / 5.687 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001084/17.03, allocations: 20.42 kB / 5.687 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.23e-05/17.03, allocations: 42.61 kB / 5.687 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/17.03, allocations: 3.281 kB / 5.687 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/17.03, allocations: 7.594 kB / 5.687 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/17.03, allocations: 2.875 kB / 5.687 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003302/17.03, allocations: 240.8 kB / 5.688 GB, free: 148 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.768e-05/17.03, allocations: 18.16 kB / 5.688 GB, free: 148 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.713e-05/17.03, allocations: 11.11 kB / 5.688 GB, free: 148 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/17.03, allocations: 1.5 kB / 5.688 GB, free: 148 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/17.03, allocations: 38.19 kB / 5.688 GB, free: 148 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/17.03, allocations: 0 / 5.688 GB, free: 148 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001802/17.03, allocations: 33.72 kB / 5.688 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/17.03, allocations: 55.62 kB / 5.688 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.148e-05/17.03, allocations: 101.5 kB / 5.688 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/17.03, allocations: 25.7 kB / 5.688 GB, free: 147.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.809e-05/17.03, allocations: 90.89 kB / 5.688 GB, free: 147.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.191e-06/17.03, allocations: 5.219 kB / 5.688 GB, free: 147.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/17.03, allocations: 0 / 5.688 GB, free: 147.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.497e-05/17.03, allocations: 313.4 kB / 5.688 GB, free: 147.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.291e-05/17.03, allocations: 4.141 kB / 5.688 GB, free: 147.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.003e-05/17.03, allocations: 25.64 kB / 5.688 GB, free: 147.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.518e-05/17.03, allocations: 7.891 kB / 5.688 GB, free: 147.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/17.03, allocations: 2.25 kB / 5.688 GB, free: 147.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.624e-05/17.03, allocations: 51.33 kB / 5.688 GB, free: 147.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/17.03, allocations: 7.812 kB / 5.688 GB, free: 147.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/17.03, allocations: 0 / 5.688 GB, free: 147.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/17.03, allocations: 0.7969 kB / 5.688 GB, free: 147.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.872e-05/17.03, allocations: 9.344 kB / 5.688 GB, free: 147.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/17.03, allocations: 4.031 kB / 5.688 GB, free: 147.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.166e-05/17.03, allocations: 0 / 5.688 GB, free: 147.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/17.03, allocations: 8.672 kB / 5.688 GB, free: 147.3 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.451e-05/17.03, allocations: 105.4 kB / 5.688 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/17.03, allocations: 7.016 kB / 5.688 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001252/17.03, allocations: 129 kB / 5.689 GB, free: 147 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.619e-05/17.03, allocations: 179.5 kB / 5.689 GB, free: 146.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.021e-05/17.03, allocations: 180.8 kB / 5.689 GB, free: 146.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.12e-05/17.03, allocations: 178.3 kB / 5.689 GB, free: 146.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/17.03, allocations: 390 kB / 5.689 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-05/17.03, allocations: 108.5 kB / 5.69 GB, free: 146 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.483e-05/17.03, allocations: 105.8 kB / 5.69 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.873e-05/17.03, allocations: 184 kB / 5.69 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.773e-05/17.03, allocations: 178 kB / 5.69 GB, free: 145.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-05/17.03, allocations: 180.2 kB / 5.69 GB, free: 145.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.484e-05/17.03, allocations: 182.7 kB / 5.69 GB, free: 145.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.685e-05/17.03, allocations: 311.2 kB / 5.691 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-05/17.03, allocations: 188.8 kB / 5.691 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.286e-05/17.03, allocations: 181 kB / 5.691 GB, free: 144.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/17.03, allocations: 105.5 kB / 5.691 GB, free: 144.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/17.03, allocations: 182.2 kB / 5.691 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.322e-05/17.03, allocations: 104.6 kB / 5.691 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.794e-05/17.03, allocations: 85.7 kB / 5.691 GB, free: 144 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/17.03, allocations: 0 / 5.691 GB, free: 144 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006697/17.03, allocations: 150.7 kB / 5.692 GB, free: 144 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.001536/17.03, allocations: 0.9364 MB / 5.693 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.327e-05/17.03, allocations: 8.984 kB / 5.693 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/17.03, allocations: 0 / 5.693 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.425e-06/17.03, allocations: 6.906 kB / 5.693 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/17.03, allocations: 0.524 MB / 5.693 GB, free: 143.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001792/17.03, allocations: 136.9 kB / 5.693 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001567/17.03, allocations: 0.6762 MB / 5.694 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.879e-05/17.03, allocations: 8.984 kB / 5.694 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.035e-05/17.03, allocations: 8.141 kB / 5.694 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of SimCode: time 2.5e-07/17.03, allocations: 0 / 5.694 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.01148/17.04, allocations: 5.308 MB / 5.699 GB, free: 141.6 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion.makefile (rm -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion.pipe 2>&1)