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.1796/0.1819, allocations: 80.83 MB / 0.6706 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6692/0.8512, allocations: 147.8 MB / 0.815 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001489/0.8514, allocations: 42.97 kB / 0.815 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.125e-05/0.8515, allocations: 1.281 kB / 0.815 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001435/0.8516, allocations: 3.938 kB / 0.815 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.8518, allocations: 14.77 kB / 0.815 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005373/0.8523, allocations: 101.6 kB / 0.8151 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.8524, allocations: 31.22 kB / 0.8152 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.084e-05/0.8525, allocations: 1.031 kB / 0.8152 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.607e-05/0.8525, allocations: 17.28 kB / 0.8152 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.832e-05/0.8526, allocations: 13.08 kB / 0.8152 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.8526, allocations: 1.188 kB / 0.8152 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000282/0.8529, allocations: 81.53 kB / 0.8153 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 6.243e-05/0.853, allocations: 12.16 kB / 0.8153 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.035e-05/0.853, allocations: 8.75 kB / 0.8153 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.8532, allocations: 76.42 kB / 0.8154 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.8532, allocations: 0.9375 kB / 0.8154 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8532, allocations: 1.312 kB / 0.8154 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.8533, allocations: 0 / 0.8154 GB, free: 9.133 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.0005189/0.8538, allocations: 332.3 kB / 0.8157 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.8538, allocations: 9.031 kB / 0.8157 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002434/0.8541, allocations: 16.7 kB / 0.8157 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.8542, allocations: 168.1 kB / 0.8159 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.201e-05/0.8543, allocations: 35.86 kB / 0.8159 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.8543, allocations: 4.781 kB / 0.8159 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.8545, allocations: 50.2 kB / 0.8159 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.8545, allocations: 0.5625 kB / 0.8159 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.8545, allocations: 1.125 kB / 0.8159 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.92e-05/0.8546, allocations: 4.031 kB / 0.816 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.633e-05/0.8546, allocations: 16.45 kB / 0.816 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.855, allocations: 261.7 kB / 0.8162 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 4.438e-05/0.8551, allocations: 24.36 kB / 0.8162 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.897e-05/0.8551, allocations: 7.703 kB / 0.8162 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.816e-06/0.8551, allocations: 0 / 0.8162 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.8551, allocations: 33.92 kB / 0.8163 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.8552, allocations: 5.156 kB / 0.8163 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001347/0.8553, allocations: 30.08 kB / 0.8163 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.8553, allocations: 56.47 kB / 0.8164 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.598e-05/0.8554, allocations: 116.4 kB / 0.8165 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.8555, allocations: 25.7 kB / 0.8165 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.534e-05/0.8555, allocations: 89.23 kB / 0.8166 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.115e-06/0.8556, allocations: 5.062 kB / 0.8166 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/0.8556, allocations: 18.59 kB / 0.8166 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.8557, allocations: 316.1 kB / 0.8169 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.087e-05/0.8557, allocations: 8.562 kB / 0.8169 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.872e-05/0.8558, allocations: 24.48 kB / 0.8169 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.391e-05/0.8558, allocations: 31.12 kB / 0.817 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.8558, allocations: 5.125 kB / 0.817 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.482e-05/0.8559, allocations: 53.8 kB / 0.817 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.856, allocations: 6.219 kB / 0.817 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.856, allocations: 3.938 kB / 0.817 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.856, allocations: 1.406 kB / 0.817 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.485e-05/0.8561, allocations: 6.375 kB / 0.817 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.8561, allocations: 5.219 kB / 0.8171 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.131e-05/0.8561, allocations: 4.5 kB / 0.8171 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.8561, allocations: 1.375 kB / 0.8171 GB, free: 7.398 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 9.783e-05/0.8562, allocations: 118.8 kB / 0.8172 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.8563, allocations: 5.031 kB / 0.8172 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.74e-05/0.8563, allocations: 7.938 kB / 0.8172 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.8563, allocations: 0 / 0.8172 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.8563, allocations: 5.094 kB / 0.8172 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.8563, allocations: 2.156 kB / 0.8172 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003231/0.8567, allocations: 342.3 kB / 0.8175 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.8567, allocations: 4.031 kB / 0.8175 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.379e-05/0.8567, allocations: 1.156 kB / 0.8175 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.8567, allocations: 5.094 kB / 0.8175 GB, free: 6.875 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.8567, allocations: 0 / 0.8175 GB, free: 6.875 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.8567, allocations: 3.656 kB / 0.8175 GB, free: 6.875 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.8567, allocations: 0.875 kB / 0.8175 GB, free: 6.875 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.8568, allocations: 60.11 kB / 0.8176 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.282e-05/0.8569, allocations: 79.5 kB / 0.8177 GB, free: 6.715 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.8569, allocations: 9.219 kB / 0.8177 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.87e-05/0.857, allocations: 1.312 kB / 0.8177 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.338e-05/0.857, allocations: 3.094 kB / 0.8177 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.857, allocations: 3.938 kB / 0.8177 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.022e-05/0.8571, allocations: 85.16 kB / 0.8178 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8571, allocations: 0 / 0.8178 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000198/0.8573, allocations: 6.906 kB / 0.8178 GB, free: 6.633 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.0001205/0.8574, allocations: 103.2 kB / 0.8179 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.264e-05/0.8575, allocations: 14.64 kB / 0.8179 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.8576, allocations: 5.094 kB / 0.8179 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 7.334e-06/0.8576, allocations: 5.094 kB / 0.8179 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.8578, allocations: 3.562 kB / 0.8179 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003634/0.8582, allocations: 116.2 kB / 0.818 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005374/0.8588, allocations: 0.6745 MB / 0.8187 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.008e-05/0.8588, allocations: 10.52 kB / 0.8187 GB, free: 5.723 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.319e-05/0.8589, allocations: 8.594 kB / 0.8187 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of SimCode: time 2.21e-07/0.8589, allocations: 0 / 0.8187 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of Templates: time 0.003085/0.862, allocations: 480.1 kB / 0.8191 GB, free: 5.652 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)