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.6725/0.6725, allocations: 132.3 MB / 144.9 MB, free: 10.55 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.001007/0.001007, allocations: 172.2 kB / 176.9 MB, free: 2.344 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.233/1.233, allocations: 170.5 MB / 379.3 MB, free: 11.89 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.001497/0.001497, allocations: 105.5 kB / 450 MB, free: 5.855 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.4454/0.4454, allocations: 73.39 MB / 0.6736 GB, free: 47.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7025/1.148, allocations: 336 MB / 1.002 GB, free: 63.36 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/1.148, allocations: 63.78 kB / 1.002 GB, free: 63.33 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.0189/1.167, allocations: 11.27 MB / 1.013 GB, free: 54.74 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.172e-06/1.167, allocations: 0 / 1.013 GB, free: 54.74 MB / 0.573 GB Notification: Performance of Transformations before backend: time 5.3e-06/1.167, allocations: 0 / 1.013 GB, free: 54.74 MB / 0.573 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.0002156/1.167, allocations: 326.8 kB / 1.013 GB, free: 54.38 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/1.167, allocations: 8.031 kB / 1.013 GB, free: 54.38 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/1.168, allocations: 6.75 kB / 1.013 GB, free: 54.37 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.106e-05/1.168, allocations: 163.1 kB / 1.013 GB, free: 54.17 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.41e-05/1.168, allocations: 33.25 kB / 1.013 GB, free: 54.14 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/1.168, allocations: 0 / 1.013 GB, free: 54.14 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.78e-05/1.168, allocations: 41.25 kB / 1.013 GB, free: 54.09 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/1.168, allocations: 3.984 kB / 1.013 GB, free: 54.09 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/1.168, allocations: 7.984 kB / 1.013 GB, free: 54.08 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/1.168, allocations: 0 / 1.013 GB, free: 54.08 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.704e-05/1.168, allocations: 11 kB / 1.013 GB, free: 54.07 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003144/1.168, allocations: 338.5 kB / 1.014 GB, free: 53.68 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 2.805e-05/1.168, allocations: 25.27 kB / 1.014 GB, free: 53.65 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.208e-05/1.168, allocations: 4.859 kB / 1.014 GB, free: 53.64 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.003e-05/1.168, allocations: 81.17 kB / 1.014 GB, free: 53.55 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.774e-05/1.168, allocations: 34.56 kB / 1.014 GB, free: 53.5 MB / 0.573 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/1.168, allocations: 0 / 1.014 GB, free: 53.5 MB / 0.573 GB Notification: Performance of matching and sorting (n=1): time 0.00011/1.168, allocations: 41.5 kB / 1.014 GB, free: 53.46 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/1.168, allocations: 51.41 kB / 1.014 GB, free: 53.4 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.521e-05/1.169, allocations: 92.94 kB / 1.014 GB, free: 53.3 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 9.848e-06/1.169, allocations: 25.7 kB / 1.014 GB, free: 53.27 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 3.874e-05/1.169, allocations: 95.23 kB / 1.014 GB, free: 53.18 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 6.252e-06/1.169, allocations: 7.891 kB / 1.014 GB, free: 53.17 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-06/1.169, allocations: 0 / 1.014 GB, free: 53.17 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 4.3e-05/1.169, allocations: 310.8 kB / 1.014 GB, free: 52.86 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.21e-05/1.169, allocations: 11.97 kB / 1.014 GB, free: 52.84 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.655e-05/1.169, allocations: 16.91 kB / 1.014 GB, free: 52.82 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.624e-05/1.169, allocations: 4 kB / 1.014 GB, free: 52.82 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/1.169, allocations: 0 / 1.014 GB, free: 52.82 MB / 0.573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.618e-05/1.169, allocations: 52.89 kB / 1.014 GB, free: 52.77 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/1.169, allocations: 9.875 kB / 1.014 GB, free: 52.76 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/1.169, allocations: 0.75 kB / 1.014 GB, free: 52.76 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/1.169, allocations: 4 kB / 1.014 GB, free: 52.75 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.448e-05/1.169, allocations: 7.984 kB / 1.014 GB, free: 52.75 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/1.169, allocations: 0 / 1.014 GB, free: 52.75 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.66e-05/1.169, allocations: 4 kB / 1.014 GB, free: 52.74 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/1.169, allocations: 2.062 kB / 1.014 GB, free: 52.74 MB / 0.573 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 4.005e-05/1.169, allocations: 101 kB / 1.015 GB, free: 52.64 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/1.169, allocations: 11.64 kB / 1.015 GB, free: 52.63 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.205e-05/1.169, allocations: 124.9 kB / 1.015 GB, free: 52.5 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.511e-05/1.169, allocations: 176.3 kB / 1.015 GB, free: 52.32 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.538e-05/1.169, allocations: 176.3 kB / 1.015 GB, free: 52.14 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.303e-05/1.169, allocations: 183.7 kB / 1.015 GB, free: 51.96 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/1.169, allocations: 409.1 kB / 1.016 GB, free: 51.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/1.169, allocations: 104.9 kB / 1.016 GB, free: 51.39 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.264e-05/1.169, allocations: 108.1 kB / 1.016 GB, free: 51.28 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.438e-05/1.169, allocations: 188.2 kB / 1.016 GB, free: 51.09 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/1.169, allocations: 180.2 kB / 1.016 GB, free: 50.91 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-05/1.169, allocations: 176.3 kB / 1.016 GB, free: 50.73 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.242e-05/1.17, allocations: 180.2 kB / 1.017 GB, free: 50.54 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.033e-05/1.17, allocations: 307.2 kB / 1.017 GB, free: 50.22 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.374e-05/1.17, allocations: 189.5 kB / 1.017 GB, free: 50.02 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/1.17, allocations: 180.2 kB / 1.017 GB, free: 49.83 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.95e-05/1.17, allocations: 114.7 kB / 1.017 GB, free: 49.71 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.028e-05/1.17, allocations: 181.6 kB / 1.017 GB, free: 49.53 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/1.17, allocations: 104.9 kB / 1.018 GB, free: 49.42 MB / 0.573 GB Notification: Performance of sorting global known variables: time 2.758e-05/1.17, allocations: 85.11 kB / 1.018 GB, free: 49.34 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.3e-07/1.17, allocations: 7.938 kB / 1.018 GB, free: 49.33 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002072/1.17, allocations: 27.73 kB / 1.018 GB, free: 49.31 MB / 0.573 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.0001594/1.17, allocations: 201.9 kB / 1.018 GB, free: 49.11 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 5.804e-05/1.17, allocations: 4 kB / 1.018 GB, free: 49.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/1.17, allocations: 0 / 1.018 GB, free: 49.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/1.17, allocations: 3.938 kB / 1.018 GB, free: 49.1 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/1.171, allocations: 0.5257 MB / 1.018 GB, free: 48.57 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001313/1.171, allocations: 130.6 kB / 1.018 GB, free: 48.43 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.898e-05/1.171, allocations: 0.677 MB / 1.019 GB, free: 47.72 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 3.611e-05/1.171, allocations: 4 kB / 1.019 GB, free: 47.72 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.408e-05/1.171, allocations: 15.44 kB / 1.019 GB, free: 47.7 MB / 0.573 GB Notification: Performance of SimCode: time 2.5e-07/1.171, allocations: 0 / 1.019 GB, free: 47.7 MB / 0.573 GB Notification: Performance of Templates: time 0.002512/1.173, allocations: 0.8307 MB / 1.02 GB, free: 46.9 MB / 0.573 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)