Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") [/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.1997/0.2017, allocations: 80.83 MB / 0.6706 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.7468/0.9486, allocations: 148.3 MB / 0.8154 GB, free: 9 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.000168/0.9488, allocations: 50.75 kB / 0.8154 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.894e-05/0.9488, allocations: 0 / 0.8154 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.9491, allocations: 1.219 kB / 0.8154 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 9.705e-05/0.9492, allocations: 16.22 kB / 0.8154 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008401/0.95, allocations: 204.5 kB / 0.8156 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.9502, allocations: 35.34 kB / 0.8157 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.279e-05/0.9502, allocations: 5.156 kB / 0.8157 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.215e-05/0.9503, allocations: 18.25 kB / 0.8157 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 9.645e-05/0.9504, allocations: 11.98 kB / 0.8157 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.9504, allocations: 1.062 kB / 0.8157 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005002/0.9509, allocations: 198.4 kB / 0.8159 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 6.324e-05/0.951, allocations: 8.766 kB / 0.8159 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.859e-05/0.951, allocations: 8.781 kB / 0.8159 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.9513, allocations: 113.2 kB / 0.816 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.9513, allocations: 0 / 0.816 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.544e-06/0.9513, allocations: 0.75 kB / 0.816 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.767e-06/0.9513, allocations: 5.156 kB / 0.816 GB, free: 8.805 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.000603/0.952, allocations: 339.2 kB / 0.8163 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 7.062e-05/0.952, allocations: 9.312 kB / 0.8164 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000498/0.9525, allocations: 25.34 kB / 0.8164 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.9527, allocations: 167.8 kB / 0.8165 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.26e-05/0.9528, allocations: 30.8 kB / 0.8166 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.9529, allocations: 2.281 kB / 0.8166 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.953, allocations: 53.78 kB / 0.8166 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.9531, allocations: 3.984 kB / 0.8166 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.9531, allocations: 1.125 kB / 0.8166 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/0.9531, allocations: 3.688 kB / 0.8166 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.408e-05/0.9532, allocations: 22.67 kB / 0.8166 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004451/0.9536, allocations: 263.8 kB / 0.8169 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 6.973e-05/0.9537, allocations: 23.36 kB / 0.8169 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.897e-05/0.9538, allocations: 10.58 kB / 0.8169 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001825/0.9539, allocations: 91.5 kB / 0.817 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.954, allocations: 31.69 kB / 0.8171 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.432e-06/0.954, allocations: 0 / 0.8171 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0002848/0.9543, allocations: 56.28 kB / 0.8171 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.9543, allocations: 51.41 kB / 0.8172 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.926e-05/0.9544, allocations: 105.3 kB / 0.8173 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.9544, allocations: 25.7 kB / 0.8173 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.812e-05/0.9545, allocations: 89.17 kB / 0.8174 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.178e-05/0.9545, allocations: 14.61 kB / 0.8174 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.192e-05/0.9545, allocations: 13.16 kB / 0.8174 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.9547, allocations: 317.7 kB / 0.8177 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.93e-05/0.9547, allocations: 7.469 kB / 0.8177 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.568e-05/0.9547, allocations: 24.97 kB / 0.8177 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.414e-05/0.9548, allocations: 31.14 kB / 0.8178 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.9548, allocations: 3.938 kB / 0.8178 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.15e-05/0.9549, allocations: 57.47 kB / 0.8178 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.9549, allocations: 5.688 kB / 0.8178 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.9549, allocations: 1.438 kB / 0.8178 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.101e-05/0.955, allocations: 1.281 kB / 0.8178 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.196e-05/0.955, allocations: 7.797 kB / 0.8178 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.955, allocations: 1.438 kB / 0.8178 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.129e-05/0.9551, allocations: 5.219 kB / 0.8178 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.9551, allocations: 2.094 kB / 0.8178 GB, free: 6.977 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.732e-05/0.9552, allocations: 123.8 kB / 0.818 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.9552, allocations: 6.5 kB / 0.818 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.785e-05/0.9553, allocations: 8.219 kB / 0.818 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.9553, allocations: 1.562 kB / 0.818 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.9553, allocations: 0 / 0.818 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.9553, allocations: 3.938 kB / 0.818 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003204/0.9556, allocations: 362.4 kB / 0.8183 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.9556, allocations: 1.281 kB / 0.8183 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.703e-05/0.9557, allocations: 10.47 kB / 0.8183 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.9557, allocations: 5.281 kB / 0.8183 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.9557, allocations: 0 / 0.8183 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.9557, allocations: 1.406 kB / 0.8183 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.9557, allocations: 2.391 kB / 0.8183 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.462e-05/0.9558, allocations: 65.8 kB / 0.8184 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.813e-05/0.9558, allocations: 82.52 kB / 0.8185 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.9559, allocations: 8.938 kB / 0.8185 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.428e-05/0.9559, allocations: 5.438 kB / 0.8185 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.418e-05/0.9559, allocations: 3.312 kB / 0.8185 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.9559, allocations: 1.312 kB / 0.8185 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.197e-05/0.956, allocations: 86.06 kB / 0.8186 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.956, allocations: 0 / 0.8186 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000188/0.9562, allocations: 5.688 kB / 0.8186 GB, free: 6.184 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.000127/0.9563, allocations: 100.4 kB / 0.8187 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.988e-05/0.9564, allocations: 19.41 kB / 0.8187 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.9564, allocations: 0 / 0.8187 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.036e-05/0.9565, allocations: 4.219 kB / 0.8187 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/0.9567, allocations: 13.61 kB / 0.8187 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002848/0.9569, allocations: 126.2 kB / 0.8188 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.9572, allocations: 0.6798 MB / 0.8195 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.92e-05/0.9573, allocations: 5.703 kB / 0.8195 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.175e-05/0.9573, allocations: 8.125 kB / 0.8195 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of SimCode: time 2.5e-07/0.9573, allocations: 7.938 kB / 0.8195 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of Templates: time 0.003015/0.9603, allocations: 0.5241 MB / 0.82 GB, free: 5.191 MB / 0.5919 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)