Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1915/0.1936, allocations: 80.82 MB / 0.6706 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.768/0.9616, allocations: 147.8 MB / 0.815 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0002079/0.9619, allocations: 50.62 kB / 0.815 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.479e-05/0.9619, allocations: 1.812 kB / 0.815 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001621/0.9622, allocations: 3.938 kB / 0.815 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 9.62e-05/0.9623, allocations: 14.02 kB / 0.815 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000579/0.9628, allocations: 98.55 kB / 0.8151 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.963, allocations: 30.42 kB / 0.8152 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.476e-05/0.963, allocations: 7.312 kB / 0.8152 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.27e-05/0.9631, allocations: 8 kB / 0.8152 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.9632, allocations: 12.3 kB / 0.8152 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.9632, allocations: 2.062 kB / 0.8152 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000319/0.9635, allocations: 87.8 kB / 0.8153 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.463e-05/0.9636, allocations: 17.72 kB / 0.8153 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.095e-05/0.9637, allocations: 4.094 kB / 0.8153 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.9639, allocations: 77.62 kB / 0.8154 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.9639, allocations: 0 / 0.8154 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.665e-06/0.9639, allocations: 0 / 0.8154 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.964, allocations: 1.219 kB / 0.8154 GB, free: 9.105 MB / 0.5919 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.000504/0.9645, allocations: 332.5 kB / 0.8157 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.9645, allocations: 9.094 kB / 0.8157 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002554/0.9648, allocations: 21.23 kB / 0.8157 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.9649, allocations: 171.5 kB / 0.8159 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-05/0.965, allocations: 31.52 kB / 0.8159 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.965, allocations: 1.125 kB / 0.8159 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.9652, allocations: 46.77 kB / 0.816 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.9652, allocations: 0 / 0.816 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.9652, allocations: 1.375 kB / 0.816 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/0.9652, allocations: 3.938 kB / 0.816 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.427e-05/0.9653, allocations: 25.23 kB / 0.816 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003966/0.9657, allocations: 260.6 kB / 0.8162 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 3.952e-05/0.9658, allocations: 16.64 kB / 0.8162 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.844e-05/0.9658, allocations: 6.359 kB / 0.8163 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-06/0.9658, allocations: 1.469 kB / 0.8163 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.9658, allocations: 36.62 kB / 0.8163 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.9659, allocations: 0 / 0.8163 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001266/0.966, allocations: 38.7 kB / 0.8163 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.966, allocations: 54.53 kB / 0.8164 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.192e-05/0.9661, allocations: 105.7 kB / 0.8165 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.9662, allocations: 28.94 kB / 0.8165 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.666e-05/0.9662, allocations: 93.33 kB / 0.8166 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.47e-06/0.9662, allocations: 7.375 kB / 0.8166 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.011e-05/0.9663, allocations: 16.06 kB / 0.8166 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.9664, allocations: 315.7 kB / 0.8169 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.759e-05/0.9664, allocations: 2.75 kB / 0.8169 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.94e-05/0.9665, allocations: 26.22 kB / 0.8169 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.172e-05/0.9665, allocations: 38.47 kB / 0.817 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.9665, allocations: 1.969 kB / 0.817 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.987e-05/0.9666, allocations: 51.73 kB / 0.817 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.9666, allocations: 6.062 kB / 0.817 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.9667, allocations: 2.25 kB / 0.817 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.9667, allocations: 1.781 kB / 0.817 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.682e-05/0.9667, allocations: 6.25 kB / 0.817 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.9667, allocations: 5.719 kB / 0.8171 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.738e-05/0.9668, allocations: 9.828 kB / 0.8171 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-06/0.9668, allocations: 5.75 kB / 0.8171 GB, free: 7.367 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.192e-05/0.9669, allocations: 117.1 kB / 0.8172 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/0.9669, allocations: 1.812 kB / 0.8172 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.754e-05/0.9669, allocations: 3.125 kB / 0.8172 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.9669, allocations: 3.938 kB / 0.8172 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.967, allocations: 5.75 kB / 0.8172 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.967, allocations: 4.344 kB / 0.8172 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002736/0.9672, allocations: 342.9 kB / 0.8175 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.9673, allocations: 0 / 0.8175 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.311e-05/0.9673, allocations: 1.875 kB / 0.8175 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.9673, allocations: 3.938 kB / 0.8175 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-06/0.9673, allocations: 288 / 0.8175 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.9673, allocations: 0 / 0.8175 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.9673, allocations: 1.188 kB / 0.8175 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.381e-05/0.9674, allocations: 65.3 kB / 0.8176 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.041e-05/0.9674, allocations: 83.16 kB / 0.8177 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.9674, allocations: 4.906 kB / 0.8177 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.054e-05/0.9675, allocations: 5.75 kB / 0.8177 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.035e-05/0.9675, allocations: 2.531 kB / 0.8177 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.9675, allocations: 5.031 kB / 0.8177 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.993e-05/0.9676, allocations: 79.81 kB / 0.8178 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9676, allocations: 0 / 0.8178 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000175/0.9678, allocations: 5.594 kB / 0.8178 GB, free: 6.605 MB / 0.5919 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000104/0.9679, allocations: 106.2 kB / 0.8179 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.754e-05/0.968, allocations: 18.81 kB / 0.8179 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.968, allocations: 0 / 0.8179 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 5.861e-06/0.968, allocations: 6.188 kB / 0.8179 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.9682, allocations: 6.938 kB / 0.8179 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002975/0.9685, allocations: 107.4 kB / 0.818 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.9688, allocations: 0.675 MB / 0.8187 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.321e-05/0.9689, allocations: 5.438 kB / 0.8187 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.256e-05/0.9689, allocations: 8.594 kB / 0.8187 GB, free: 5.695 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/0.9689, allocations: 1.125 kB / 0.8187 GB, free: 5.695 MB / 0.5919 GB Notification: Performance of Templates: time 0.003256/0.9722, allocations: 465.9 kB / 0.8191 GB, free: 5.641 MB / 0.5919 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)