Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.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.MoistAirUnsaturatedTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion") translateModel(Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5805/0.5805, allocations: 94.77 MB / 102.2 MB, free: 10.14 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.001232/0.001232, allocations: 172 kB / 125.6 MB, free: 11.88 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.728/1.728, allocations: 170.6 MB / 319.4 MB, free: 9.316 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.001701/0.001701, allocations: 109.6 kB / 381.3 MB, free: 18.3 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.488e-05/1.497e-05, allocations: 0 / 449.1 MB, free: 1.746 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1835, allocations: 61.52 MB / 0.4987 GB, free: 4.137 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 18.06/18.24, allocations: 5.238 GB / 5.736 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003373/18.24, allocations: 81.55 kB / 5.736 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1261/18.37, allocations: 60.33 MB / 5.795 GB, free: 76.05 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.094e-06/18.37, allocations: 0 / 5.795 GB, free: 76.05 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.998e-06/18.37, allocations: 4 kB / 5.795 GB, free: 76.05 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.0004798/18.37, allocations: 374.4 kB / 5.796 GB, free: 75.64 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.89e-05/18.37, allocations: 9.438 kB / 5.796 GB, free: 75.63 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.47e-05/18.37, allocations: 7.953 kB / 5.796 GB, free: 75.62 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/18.37, allocations: 163.1 kB / 5.796 GB, free: 75.43 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.183e-05/18.37, allocations: 29.64 kB / 5.796 GB, free: 75.39 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/18.37, allocations: 4 kB / 5.796 GB, free: 75.39 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001026/18.37, allocations: 23.92 kB / 5.796 GB, free: 75.36 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.835e-05/18.37, allocations: 37.69 kB / 5.796 GB, free: 75.32 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/18.37, allocations: 0 / 5.796 GB, free: 75.32 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/18.37, allocations: 0 / 5.796 GB, free: 75.32 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.592e-05/18.37, allocations: 4 kB / 5.796 GB, free: 75.32 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003893/18.37, allocations: 247.9 kB / 5.796 GB, free: 75.04 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.292e-05/18.37, allocations: 26.52 kB / 5.796 GB, free: 75 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.777e-05/18.37, allocations: 4.859 kB / 5.796 GB, free: 75 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/18.37, allocations: 0 / 5.796 GB, free: 75 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/18.37, allocations: 30.56 kB / 5.796 GB, free: 74.96 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/18.37, allocations: 1.875 kB / 5.796 GB, free: 74.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001593/18.37, allocations: 37.75 kB / 5.796 GB, free: 74.91 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/18.37, allocations: 59.39 kB / 5.796 GB, free: 74.84 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.55e-05/18.37, allocations: 94.25 kB / 5.796 GB, free: 74.75 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/18.37, allocations: 25.7 kB / 5.797 GB, free: 74.71 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.499e-05/18.37, allocations: 88.67 kB / 5.797 GB, free: 74.62 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.013e-06/18.37, allocations: 7.891 kB / 5.797 GB, free: 74.62 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/18.37, allocations: 0 / 5.797 GB, free: 74.62 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.683e-05/18.37, allocations: 314.8 kB / 5.797 GB, free: 74.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.282e-05/18.37, allocations: 4 kB / 5.797 GB, free: 74.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.42e-05/18.37, allocations: 26.52 kB / 5.797 GB, free: 74.26 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.355e-05/18.37, allocations: 11.98 kB / 5.797 GB, free: 74.25 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/18.37, allocations: 0 / 5.797 GB, free: 74.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.19e-05/18.37, allocations: 49.62 kB / 5.797 GB, free: 74.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/18.37, allocations: 8 kB / 5.797 GB, free: 74.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/18.37, allocations: 0 / 5.797 GB, free: 74.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/18.37, allocations: 4.094 kB / 5.797 GB, free: 74.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.28e-05/18.37, allocations: 8 kB / 5.797 GB, free: 74.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/18.37, allocations: 0 / 5.797 GB, free: 74.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.718e-05/18.37, allocations: 3.953 kB / 5.797 GB, free: 74.17 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/18.37, allocations: 7.656 kB / 5.797 GB, free: 74.17 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.353e-05/18.37, allocations: 105 kB / 5.797 GB, free: 74.06 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/18.37, allocations: 8 kB / 5.797 GB, free: 74.05 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/18.37, allocations: 129.3 kB / 5.797 GB, free: 73.92 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-05/18.37, allocations: 180.5 kB / 5.797 GB, free: 73.73 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.173e-05/18.37, allocations: 180.2 kB / 5.798 GB, free: 73.55 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.716e-05/18.37, allocations: 184.1 kB / 5.798 GB, free: 73.36 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/18.37, allocations: 389.7 kB / 5.798 GB, free: 72.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.398e-05/18.37, allocations: 105 kB / 5.798 GB, free: 72.83 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.33e-05/18.37, allocations: 108.9 kB / 5.798 GB, free: 72.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-05/18.37, allocations: 180.3 kB / 5.799 GB, free: 72.53 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.31e-05/18.37, allocations: 176.3 kB / 5.799 GB, free: 72.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-05/18.37, allocations: 180.2 kB / 5.799 GB, free: 72.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.061e-05/18.37, allocations: 180.3 kB / 5.799 GB, free: 71.98 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/18.37, allocations: 315.7 kB / 5.799 GB, free: 71.65 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-05/18.37, allocations: 186.1 kB / 5.8 GB, free: 71.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.746e-05/18.37, allocations: 176.3 kB / 5.8 GB, free: 71.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/18.37, allocations: 108.9 kB / 5.8 GB, free: 71.15 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.21e-05/18.37, allocations: 184.3 kB / 5.8 GB, free: 70.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.67e-05/18.37, allocations: 105 kB / 5.8 GB, free: 70.86 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.515e-05/18.37, allocations: 83.28 kB / 5.8 GB, free: 70.77 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/18.37, allocations: 0 / 5.8 GB, free: 70.77 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004603/18.37, allocations: 83.92 kB / 5.8 GB, free: 70.69 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.001201/18.37, allocations: 0.8271 MB / 5.801 GB, free: 69.86 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8.403e-05/18.37, allocations: 12 kB / 5.801 GB, free: 69.84 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/18.37, allocations: 4 kB / 5.801 GB, free: 69.84 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.345e-06/18.37, allocations: 4 kB / 5.801 GB, free: 69.84 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/18.37, allocations: 0.5252 MB / 5.802 GB, free: 69.31 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002104/18.37, allocations: 123.5 kB / 5.802 GB, free: 69.16 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000176/18.37, allocations: 0.6807 MB / 5.802 GB, free: 68.46 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.886e-05/18.37, allocations: 4 kB / 5.802 GB, free: 68.45 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.468e-05/18.37, allocations: 11.44 kB / 5.802 GB, free: 68.44 MB / 0.5261 GB Notification: Performance of SimCode: time 1.163e-06/18.37, allocations: 0 / 5.802 GB, free: 68.44 MB / 0.5261 GB Notification: Performance of Templates: time 0.008132/18.38, allocations: 4.499 MB / 5.807 GB, free: 63.95 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.makefile (rm -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe 2>&1)