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/Buildings 3.0.0/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) 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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.6589/0.6589, allocations: 132.3 MB / 144.9 MB, free: 10.69 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009534/0.0009534, allocations: 177.8 kB / 176.9 MB, free: 2.164 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.131/1.131, allocations: 170.5 MB / 379.3 MB, free: 11.93 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001519/0.001519, allocations: 115.4 kB / 450 MB, free: 5.848 MB / 346.7 MB [/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.4118/0.4118, allocations: 73.38 MB / 0.6736 GB, free: 47.7 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.626/10.04, allocations: 4.625 GB / 5.299 GB, free: 190.5 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/10.04, allocations: 83.09 kB / 5.299 GB, free: 190.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.07381/10.11, allocations: 45.05 MB / 5.343 GB, free: 147.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.126e-06/10.11, allocations: 4 kB / 5.343 GB, free: 147.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.233e-06/10.11, allocations: 0 / 5.343 GB, free: 147.2 MB / 0.6198 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.0002911/10.11, allocations: 330.5 kB / 5.343 GB, free: 146.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/10.11, allocations: 12.03 kB / 5.343 GB, free: 146.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000201/10.11, allocations: 17.86 kB / 5.343 GB, free: 146.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/10.11, allocations: 167 kB / 5.343 GB, free: 146.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.605e-05/10.11, allocations: 29.69 kB / 5.343 GB, free: 146.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/10.11, allocations: 4 kB / 5.343 GB, free: 146.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/10.11, allocations: 45.69 kB / 5.343 GB, free: 146.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/10.11, allocations: 0 / 5.343 GB, free: 146.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/10.11, allocations: 3.938 kB / 5.343 GB, free: 146.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/10.11, allocations: 4 kB / 5.343 GB, free: 146.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.036e-05/10.11, allocations: 23.97 kB / 5.343 GB, free: 146.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003594/10.11, allocations: 260.8 kB / 5.344 GB, free: 146.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.275e-05/10.11, allocations: 20.36 kB / 5.344 GB, free: 146.2 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.682e-05/10.11, allocations: 4.859 kB / 5.344 GB, free: 146.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/10.11, allocations: 4.062 kB / 5.344 GB, free: 146.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/10.11, allocations: 34.59 kB / 5.344 GB, free: 146.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/10.11, allocations: 0 / 5.344 GB, free: 146.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001346/10.11, allocations: 45.5 kB / 5.344 GB, free: 146.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/10.11, allocations: 51.41 kB / 5.344 GB, free: 146 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.705e-05/10.11, allocations: 97.03 kB / 5.344 GB, free: 145.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/10.11, allocations: 25.7 kB / 5.344 GB, free: 145.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.416e-05/10.11, allocations: 92.03 kB / 5.344 GB, free: 145.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.281e-06/10.11, allocations: 3.906 kB / 5.344 GB, free: 145.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/10.11, allocations: 4 kB / 5.344 GB, free: 145.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.784e-05/10.11, allocations: 310.8 kB / 5.344 GB, free: 145.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.372e-05/10.11, allocations: 8 kB / 5.344 GB, free: 145.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.932e-05/10.11, allocations: 18.58 kB / 5.344 GB, free: 145.4 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.002e-05/10.11, allocations: 11.98 kB / 5.344 GB, free: 145.4 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/10.11, allocations: 0 / 5.344 GB, free: 145.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.286e-05/10.11, allocations: 53.62 kB / 5.344 GB, free: 145.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/10.11, allocations: 8 kB / 5.344 GB, free: 145.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/10.11, allocations: 2.625 kB / 5.344 GB, free: 145.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/10.11, allocations: 0 / 5.344 GB, free: 145.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.969e-05/10.11, allocations: 20.03 kB / 5.344 GB, free: 145.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/10.11, allocations: 7.938 kB / 5.344 GB, free: 145.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.327e-05/10.11, allocations: 0 / 5.344 GB, free: 145.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/10.11, allocations: 8 kB / 5.344 GB, free: 145.3 MB / 0.6198 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 4.542e-05/10.11, allocations: 104.9 kB / 5.344 GB, free: 145.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/10.11, allocations: 0 / 5.344 GB, free: 145.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.13e-05/10.11, allocations: 11.11 kB / 5.344 GB, free: 145.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/10.11, allocations: 0 / 5.344 GB, free: 145.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/10.11, allocations: 0 / 5.344 GB, free: 145.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/10.11, allocations: 7.953 kB / 5.344 GB, free: 145.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/10.11, allocations: 346.7 kB / 5.345 GB, free: 144.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/10.11, allocations: 0 / 5.345 GB, free: 144.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.103e-05/10.11, allocations: 3.938 kB / 5.345 GB, free: 144.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/10.11, allocations: 4 kB / 5.345 GB, free: 144.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.658e-06/10.11, allocations: 0 / 5.345 GB, free: 144.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/10.11, allocations: 3.953 kB / 5.345 GB, free: 144.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/10.11, allocations: 0 / 5.345 GB, free: 144.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.67e-05/10.11, allocations: 69.06 kB / 5.345 GB, free: 144.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.073e-05/10.11, allocations: 77.11 kB / 5.345 GB, free: 144.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/10.11, allocations: 0 / 5.345 GB, free: 144.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.129e-05/10.11, allocations: 0 / 5.345 GB, free: 144.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.712e-05/10.11, allocations: 11.94 kB / 5.345 GB, free: 144.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-06/10.11, allocations: 0 / 5.345 GB, free: 144.6 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.668e-05/10.11, allocations: 83.56 kB / 5.345 GB, free: 144.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/10.11, allocations: 0 / 5.345 GB, free: 144.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003079/10.11, allocations: 44.02 kB / 5.345 GB, free: 144.5 MB / 0.6198 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 (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.0005843/10.12, allocations: 0.5475 MB / 5.346 GB, free: 143.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.165e-05/10.12, allocations: 19.94 kB / 5.346 GB, free: 143.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/10.12, allocations: 0 / 5.346 GB, free: 143.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.039e-06/10.12, allocations: 4 kB / 5.346 GB, free: 143.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/10.12, allocations: 4 kB / 5.346 GB, free: 143.9 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000155/10.12, allocations: 54.08 kB / 5.346 GB, free: 143.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001444/10.12, allocations: 0.6848 MB / 5.346 GB, free: 143.1 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.35e-05/10.12, allocations: 12.23 kB / 5.346 GB, free: 143.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.791e-05/10.12, allocations: 7.438 kB / 5.346 GB, free: 143.1 MB / 0.6198 GB Notification: Performance of SimCode: time 4.31e-07/10.12, allocations: 3.938 kB / 5.346 GB, free: 143.1 MB / 0.6198 GB Notification: Performance of Templates: time 0.009801/10.13, allocations: 9.593 MB / 5.356 GB, free: 133.5 MB / 0.6198 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)