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.1867/0.1875, allocations: 82.21 MB / 0.5934 GB, free: 6.043 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5706/0.7582, allocations: 124.9 MB / 0.7153 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002639/0.7585, allocations: 130 kB / 0.7154 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.971e-05/0.7586, allocations: 0.5625 kB / 0.7154 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.7587, allocations: 6.156 kB / 0.7154 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.607e-05/0.7588, allocations: 7.109 kB / 0.7154 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004873/0.7593, allocations: 72 kB / 0.7155 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.64e-05/0.7594, allocations: 17.86 kB / 0.7155 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.212e-05/0.7594, allocations: 2.625 kB / 0.7155 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.261e-05/0.7595, allocations: 14.59 kB / 0.7155 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.262e-05/0.7595, allocations: 11.83 kB / 0.7156 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.7596, allocations: 2.625 kB / 0.7156 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002901/0.7599, allocations: 52.2 kB / 0.7156 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.575e-05/0.7599, allocations: 7.891 kB / 0.7156 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.7601, allocations: 28.14 kB / 0.7156 GB, free: 17.23 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.7602, allocations: 30.17 kB / 0.7157 GB, free: 17.23 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.7602, allocations: 0 / 0.7157 GB, free: 17.23 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.913e-06/0.7602, allocations: 0 / 0.7157 GB, free: 17.23 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.7602, allocations: 0 / 0.7157 GB, free: 17.23 MB / 0.545 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.000399/0.7606, allocations: 337.7 kB / 0.716 GB, free: 16.88 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.7607, allocations: 8.906 kB / 0.716 GB, free: 16.88 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002892/0.761, allocations: 28.52 kB / 0.716 GB, free: 16.87 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.7611, allocations: 164.9 kB / 0.7162 GB, free: 16.67 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.146e-05/0.7612, allocations: 34.42 kB / 0.7162 GB, free: 16.64 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.447e-06/0.7612, allocations: 0 / 0.7162 GB, free: 16.64 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.7614, allocations: 45.8 kB / 0.7163 GB, free: 16.61 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.7614, allocations: 3.984 kB / 0.7163 GB, free: 16.6 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.7614, allocations: 0 / 0.7163 GB, free: 16.6 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.012e-05/0.7615, allocations: 6.625 kB / 0.7163 GB, free: 16.6 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.922e-05/0.7615, allocations: 19.42 kB / 0.7163 GB, free: 16.6 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000413/0.762, allocations: 253.4 kB / 0.7165 GB, free: 16.33 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.911e-05/0.762, allocations: 23.69 kB / 0.7166 GB, free: 16.3 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.762, allocations: 0 / 0.7166 GB, free: 16.3 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.7621, allocations: 35.44 kB / 0.7166 GB, free: 16.26 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.7621, allocations: 3.594 kB / 0.7166 GB, free: 16.26 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001637/0.7622, allocations: 31.58 kB / 0.7166 GB, free: 16.23 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.7623, allocations: 51.41 kB / 0.7167 GB, free: 16.17 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.866e-05/0.7624, allocations: 107.3 kB / 0.7168 GB, free: 16.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.7624, allocations: 31.5 kB / 0.7168 GB, free: 16.03 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.371e-05/0.7625, allocations: 99.47 kB / 0.7169 GB, free: 15.94 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.042e-06/0.7625, allocations: 0 / 0.7169 GB, free: 15.94 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.7625, allocations: 4.125 kB / 0.7169 GB, free: 15.93 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.7626, allocations: 316.6 kB / 0.7172 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.677e-05/0.7626, allocations: 5.25 kB / 0.7172 GB, free: 15.62 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.564e-05/0.7627, allocations: 20.02 kB / 0.7172 GB, free: 15.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.397e-05/0.7627, allocations: 8.156 kB / 0.7172 GB, free: 15.6 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.7627, allocations: 2.625 kB / 0.7172 GB, free: 15.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.338e-05/0.7628, allocations: 56.48 kB / 0.7173 GB, free: 15.56 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.7628, allocations: 5.25 kB / 0.7173 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.7628, allocations: 2.625 kB / 0.7173 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.7629, allocations: 0 / 0.7173 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.385e-05/0.7629, allocations: 9.188 kB / 0.7173 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.7629, allocations: 3.25 kB / 0.7173 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.22e-05/0.763, allocations: 3.906 kB / 0.7173 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.763, allocations: 9.531 kB / 0.7173 GB, free: 15.55 MB / 0.545 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 8.084e-05/0.7631, allocations: 120.9 kB / 0.7174 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.7631, allocations: 2.625 kB / 0.7174 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.069e-05/0.7631, allocations: 3.125 kB / 0.7174 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.7631, allocations: 0 / 0.7174 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.7632, allocations: 0 / 0.7174 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.7632, allocations: 0 / 0.7174 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002597/0.7634, allocations: 343.6 kB / 0.7178 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.7634, allocations: 0 / 0.7178 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.745e-05/0.7635, allocations: 12.95 kB / 0.7178 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.7635, allocations: 0 / 0.7178 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.7635, allocations: 0 / 0.7178 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.7635, allocations: 2.625 kB / 0.7178 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.7635, allocations: 3.938 kB / 0.7178 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.448e-05/0.7636, allocations: 54.34 kB / 0.7178 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.391e-05/0.7636, allocations: 84.92 kB / 0.7179 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.7637, allocations: 0 / 0.7179 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.854e-05/0.7637, allocations: 6.469 kB / 0.7179 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.803e-05/0.7638, allocations: 1.062 kB / 0.7179 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.7638, allocations: 1.25 kB / 0.7179 GB, free: 14.87 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.544e-05/0.7638, allocations: 87.11 kB / 0.718 GB, free: 14.79 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7638, allocations: 0 / 0.718 GB, free: 14.79 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001948/0.764, allocations: 8.094 kB / 0.718 GB, free: 14.79 MB / 0.545 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 (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.0001104/0.7641, allocations: 99.86 kB / 0.7181 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.18e-05/0.7642, allocations: 20.62 kB / 0.7181 GB, free: 14.69 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.7642, allocations: 0 / 0.7181 GB, free: 14.69 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.982e-06/0.7643, allocations: 4.828 kB / 0.7181 GB, free: 14.69 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.7645, allocations: 6.406 kB / 0.7182 GB, free: 14.69 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002738/0.7647, allocations: 111.2 kB / 0.7183 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.765, allocations: 0.6824 MB / 0.7189 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.248e-05/0.7651, allocations: 11.22 kB / 0.7189 GB, free: 13.88 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.193e-05/0.7651, allocations: 11.41 kB / 0.7189 GB, free: 13.88 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.7651, allocations: 0 / 0.7189 GB, free: 13.88 MB / 0.545 GB Notification: Performance of Templates: time 0.002956/0.7681, allocations: 433.3 kB / 0.7194 GB, free: 13.85 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: