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/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.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7934/0.7934, allocations: 132.4 MB / 139.9 MB, free: 2.801 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001044/0.001044, allocations: 173.5 kB / 171.8 MB, free: 4.965 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.35/1.35, allocations: 170.6 MB / 374.2 MB, free: 172 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001554/0.001555, allocations: 102.1 kB / 444.8 MB, free: 14.17 MB / 314.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.1504/0.1504, allocations: 73.4 MB / 0.6666 GB, free: 15.67 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.83/5.981, allocations: 2.114 GB / 2.781 GB, free: 73.88 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/5.981, allocations: 67.97 kB / 2.781 GB, free: 73.82 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.06397/6.045, allocations: 35.73 MB / 2.816 GB, free: 37.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.412e-06/6.045, allocations: 0 / 2.816 GB, free: 37.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.452e-06/6.045, allocations: 0 / 2.816 GB, free: 37.59 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.0002839/6.046, allocations: 335 kB / 2.816 GB, free: 37.22 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/6.046, allocations: 8.031 kB / 2.816 GB, free: 37.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002369/6.046, allocations: 27.97 kB / 2.816 GB, free: 37.19 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.594e-05/6.046, allocations: 167 kB / 2.816 GB, free: 36.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.291e-05/6.046, allocations: 25.7 kB / 2.816 GB, free: 36.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/6.046, allocations: 4 kB / 2.816 GB, free: 36.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.315e-05/6.046, allocations: 19.98 kB / 2.816 GB, free: 36.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.395e-05/6.046, allocations: 41.69 kB / 2.816 GB, free: 36.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/6.046, allocations: 0 / 2.816 GB, free: 36.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/6.046, allocations: 0 / 2.816 GB, free: 36.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.907e-05/6.046, allocations: 4 kB / 2.816 GB, free: 36.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004363/6.047, allocations: 339.1 kB / 2.817 GB, free: 36.49 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.517e-05/6.047, allocations: 14.58 kB / 2.817 GB, free: 36.47 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.723e-05/6.047, allocations: 4.859 kB / 2.817 GB, free: 36.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.961e-06/6.047, allocations: 3.938 kB / 2.817 GB, free: 36.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/6.047, allocations: 38.62 kB / 2.817 GB, free: 36.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/6.047, allocations: 0 / 2.817 GB, free: 36.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0002032/6.047, allocations: 45.59 kB / 2.817 GB, free: 36.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.233e-05/6.047, allocations: 51.41 kB / 2.817 GB, free: 36.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.159e-05/6.047, allocations: 92.94 kB / 2.817 GB, free: 36.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/6.047, allocations: 29.7 kB / 2.817 GB, free: 36.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.892e-05/6.047, allocations: 88.05 kB / 2.817 GB, free: 36.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.492e-06/6.047, allocations: 11.95 kB / 2.817 GB, free: 36.06 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/6.047, allocations: 0 / 2.817 GB, free: 36.06 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.442e-05/6.047, allocations: 314.8 kB / 2.817 GB, free: 35.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.216e-05/6.047, allocations: 8 kB / 2.817 GB, free: 35.74 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.01e-05/6.047, allocations: 18.58 kB / 2.817 GB, free: 35.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.004e-05/6.047, allocations: 7.984 kB / 2.817 GB, free: 35.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/6.047, allocations: 4 kB / 2.817 GB, free: 35.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.174e-05/6.047, allocations: 53.55 kB / 2.817 GB, free: 35.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/6.048, allocations: 6.344 kB / 2.817 GB, free: 35.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/6.048, allocations: 4 kB / 2.817 GB, free: 35.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/6.048, allocations: 0 / 2.817 GB, free: 35.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.909e-05/6.048, allocations: 7.984 kB / 2.817 GB, free: 35.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/6.048, allocations: 4 kB / 2.818 GB, free: 35.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.361e-05/6.048, allocations: 0 / 2.818 GB, free: 35.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/6.048, allocations: 0 / 2.818 GB, free: 35.62 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 5.565e-05/6.048, allocations: 117 kB / 2.818 GB, free: 35.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/6.048, allocations: 288 / 2.818 GB, free: 35.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.235e-05/6.048, allocations: 7.688 kB / 2.818 GB, free: 35.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/6.048, allocations: 3.984 kB / 2.818 GB, free: 35.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/6.048, allocations: 4 kB / 2.818 GB, free: 35.49 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/6.048, allocations: 0 / 2.818 GB, free: 35.49 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/6.048, allocations: 323.3 kB / 2.818 GB, free: 35.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/6.048, allocations: 8.031 kB / 2.818 GB, free: 35.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.269e-05/6.048, allocations: 4 kB / 2.818 GB, free: 35.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/6.048, allocations: 3.938 kB / 2.818 GB, free: 35.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-06/6.048, allocations: 0 / 2.818 GB, free: 35.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/6.048, allocations: 0 / 2.818 GB, free: 35.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/6.048, allocations: 0 / 2.818 GB, free: 35.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.498e-05/6.048, allocations: 68.94 kB / 2.818 GB, free: 35.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.524e-05/6.048, allocations: 81.09 kB / 2.818 GB, free: 34.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/6.048, allocations: 4.031 kB / 2.818 GB, free: 34.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.248e-05/6.048, allocations: 4 kB / 2.818 GB, free: 34.92 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.149e-05/6.048, allocations: 0 / 2.818 GB, free: 34.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-06/6.048, allocations: 0 / 2.818 GB, free: 34.92 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.563e-05/6.048, allocations: 83.22 kB / 2.818 GB, free: 34.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/6.048, allocations: 0 / 2.818 GB, free: 34.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002535/6.049, allocations: 35.98 kB / 2.818 GB, free: 34.8 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.0006886/6.049, allocations: 0.6399 MB / 2.819 GB, free: 34.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.868e-05/6.049, allocations: 8 kB / 2.819 GB, free: 34.15 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/6.049, allocations: 4.188 kB / 2.819 GB, free: 34.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.16e-06/6.049, allocations: 3.938 kB / 2.819 GB, free: 34.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/6.049, allocations: 11.05 kB / 2.819 GB, free: 34.13 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001631/6.05, allocations: 60.42 kB / 2.819 GB, free: 34.05 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/6.05, allocations: 0.6768 MB / 2.82 GB, free: 33.35 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.502e-05/6.05, allocations: 8.062 kB / 2.82 GB, free: 33.34 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.186e-05/6.05, allocations: 7.438 kB / 2.82 GB, free: 33.33 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/6.05, allocations: 0 / 2.82 GB, free: 33.33 MB / 0.6198 GB Notification: Performance of Templates: time 0.005881/6.056, allocations: 3.595 MB / 2.823 GB, free: 29.74 MB / 0.6198 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)