Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8386/0.8386, allocations: 132.4 MB / 139.9 MB, free: 2.84 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.001142/0.001142, allocations: 176 kB / 171.8 MB, free: 4.91 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.551/1.551, 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.001634/0.001634, allocations: 113.5 kB / 444.8 MB, free: 14.14 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.1689/0.169, allocations: 73.41 MB / 0.6666 GB, free: 15.64 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.167/1.336, allocations: 335.3 MB / 0.9941 GB, free: 122.4 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002093/1.336, allocations: 67.78 kB / 0.9941 GB, free: 122.3 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02098/1.357, allocations: 11.21 MB / 1.005 GB, free: 113.8 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.883e-06/1.357, allocations: 0 / 1.005 GB, free: 113.8 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.636e-06/1.357, allocations: 0 / 1.005 GB, free: 113.8 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002905/1.358, allocations: 330.6 kB / 1.005 GB, free: 113.4 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.006e-05/1.358, allocations: 8.031 kB / 1.005 GB, free: 113.4 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.852e-05/1.358, allocations: 0 / 1.005 GB, free: 113.4 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/1.358, allocations: 167.1 kB / 1.006 GB, free: 113.2 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.904e-05/1.358, allocations: 29.7 kB / 1.006 GB, free: 113.2 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/1.358, allocations: 3.953 kB / 1.006 GB, free: 113.2 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.719e-05/1.358, allocations: 11.98 kB / 1.006 GB, free: 113.2 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.385e-05/1.358, allocations: 36.7 kB / 1.006 GB, free: 113.1 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/1.358, allocations: 0 / 1.006 GB, free: 113.1 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/1.358, allocations: 0 / 1.006 GB, free: 113.1 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/1.358, allocations: 3.984 kB / 1.006 GB, free: 113.1 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/1.359, allocations: 317 kB / 1.006 GB, free: 112.8 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.593e-05/1.359, allocations: 18.58 kB / 1.006 GB, free: 112.8 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.93e-05/1.359, allocations: 12.05 kB / 1.006 GB, free: 112.7 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.445e-05/1.359, allocations: 89.16 kB / 1.006 GB, free: 112.6 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/1.359, allocations: 30.56 kB / 1.006 GB, free: 112.6 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/1.359, allocations: 0 / 1.006 GB, free: 112.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001899/1.359, allocations: 29.7 kB / 1.006 GB, free: 112.6 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/1.359, allocations: 59.44 kB / 1.006 GB, free: 112.5 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.708e-05/1.359, allocations: 100 kB / 1.006 GB, free: 112.4 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/1.359, allocations: 25.7 kB / 1.006 GB, free: 112.4 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.8e-05/1.359, allocations: 88.61 kB / 1.006 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.011e-06/1.359, allocations: 3.906 kB / 1.006 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-06/1.359, allocations: 0 / 1.006 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.735e-05/1.359, allocations: 314.2 kB / 1.007 GB, free: 111.9 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.232e-05/1.359, allocations: 4 kB / 1.007 GB, free: 111.9 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.406e-05/1.359, allocations: 17.91 kB / 1.007 GB, free: 111.9 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.321e-05/1.359, allocations: 11.61 kB / 1.007 GB, free: 111.9 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/1.359, allocations: 0 / 1.007 GB, free: 111.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.875e-05/1.36, allocations: 53.58 kB / 1.007 GB, free: 111.9 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/1.36, allocations: 4 kB / 1.007 GB, free: 111.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/1.36, allocations: 0 / 1.007 GB, free: 111.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/1.36, allocations: 96 / 1.007 GB, free: 111.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.063e-05/1.36, allocations: 11.98 kB / 1.007 GB, free: 111.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/1.36, allocations: 4.922 kB / 1.007 GB, free: 111.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.709e-05/1.36, allocations: 0 / 1.007 GB, free: 111.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/1.36, allocations: 7.984 kB / 1.007 GB, free: 111.8 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 6.445e-05/1.36, allocations: 106.6 kB / 1.007 GB, free: 111.7 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/1.36, allocations: 3.953 kB / 1.007 GB, free: 111.7 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/1.36, allocations: 117 kB / 1.007 GB, free: 111.6 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.66e-05/1.36, allocations: 180.2 kB / 1.007 GB, free: 111.4 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.161e-05/1.36, allocations: 184.2 kB / 1.007 GB, free: 111.2 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.91e-05/1.36, allocations: 180.3 kB / 1.008 GB, free: 111 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/1.36, allocations: 389.3 kB / 1.008 GB, free: 110.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.12e-05/1.36, allocations: 105 kB / 1.008 GB, free: 110.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.397e-05/1.36, allocations: 105 kB / 1.008 GB, free: 110.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.798e-05/1.36, allocations: 184.2 kB / 1.008 GB, free: 110.2 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.576e-05/1.36, allocations: 176.3 kB / 1.008 GB, free: 110 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.373e-05/1.36, allocations: 180.2 kB / 1.009 GB, free: 109.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.823e-05/1.361, allocations: 188.2 kB / 1.009 GB, free: 109.7 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/1.361, allocations: 311.2 kB / 1.009 GB, free: 109.3 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.9e-05/1.361, allocations: 182.1 kB / 1.009 GB, free: 109.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.72e-05/1.361, allocations: 180 kB / 1.009 GB, free: 109 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/1.361, allocations: 105 kB / 1.01 GB, free: 108.8 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/1.361, allocations: 184.2 kB / 1.01 GB, free: 108.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/1.361, allocations: 110.2 kB / 1.01 GB, free: 108.5 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.934e-05/1.361, allocations: 83.28 kB / 1.01 GB, free: 108.5 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.5e-07/1.361, allocations: 3.938 kB / 1.01 GB, free: 108.5 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002538/1.361, allocations: 23.5 kB / 1.01 GB, free: 108.4 MB / 0.5886 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 (0): * Single equations (assignments): 0 * 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.0002443/1.361, allocations: 208.7 kB / 1.01 GB, free: 108.2 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 7.792e-05/1.362, allocations: 11.92 kB / 1.01 GB, free: 108.2 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.362, allocations: 0 / 1.01 GB, free: 108.2 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/1.362, allocations: 0 / 1.01 GB, free: 108.2 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/1.362, allocations: 0.525 MB / 1.011 GB, free: 107.7 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001759/1.362, allocations: 123.5 kB / 1.011 GB, free: 107.5 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001772/1.362, allocations: 0.6768 MB / 1.011 GB, free: 106.8 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.654e-05/1.362, allocations: 7.984 kB / 1.011 GB, free: 106.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.889e-05/1.362, allocations: 11.44 kB / 1.011 GB, free: 106.8 MB / 0.5886 GB Notification: Performance of SimCode: time 2.31e-07/1.362, allocations: 0 / 1.011 GB, free: 106.8 MB / 0.5886 GB Notification: Performance of Templates: time 0.003016/1.365, allocations: 0.6605 MB / 1.012 GB, free: 106.2 MB / 0.5886 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)