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.767/0.767, allocations: 132.4 MB / 139.9 MB, free: 15.39 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.001338/0.001338, allocations: 173 kB / 171.8 MB, free: 1.984 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.562/1.562, allocations: 170.6 MB / 374.2 MB, free: 15.67 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.00179/0.00179, allocations: 111.3 kB / 444.8 MB, free: 9.191 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.5131/0.5131, allocations: 73.4 MB / 0.6666 GB, free: 46.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7881/1.301, allocations: 335.3 MB / 0.994 GB, free: 70.82 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/1.302, allocations: 70.91 kB / 0.9941 GB, free: 70.78 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.02119/1.323, allocations: 11.21 MB / 1.005 GB, free: 62.35 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.464e-06/1.323, allocations: 0 / 1.005 GB, free: 62.35 MB / 0.573 GB Notification: Performance of Transformations before backend: time 6.953e-06/1.323, allocations: 4 kB / 1.005 GB, free: 62.34 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.0002862/1.323, allocations: 330.1 kB / 1.005 GB, free: 61.98 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/1.323, allocations: 13.53 kB / 1.005 GB, free: 61.97 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.006e-05/1.323, allocations: 4.438 kB / 1.005 GB, free: 61.97 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/1.323, allocations: 163.1 kB / 1.006 GB, free: 61.77 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.048e-05/1.324, allocations: 29.7 kB / 1.006 GB, free: 61.73 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/1.324, allocations: 0 / 1.006 GB, free: 61.73 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001005/1.324, allocations: 11.98 kB / 1.006 GB, free: 61.72 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.932e-05/1.324, allocations: 45.12 kB / 1.006 GB, free: 61.68 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/1.324, allocations: 3.984 kB / 1.006 GB, free: 61.68 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/1.324, allocations: 0 / 1.006 GB, free: 61.68 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/1.324, allocations: 7.922 kB / 1.006 GB, free: 61.67 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003787/1.324, allocations: 307.5 kB / 1.006 GB, free: 61.32 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.329e-05/1.324, allocations: 22.53 kB / 1.006 GB, free: 61.29 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.559e-05/1.324, allocations: 4.859 kB / 1.006 GB, free: 61.28 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 6.382e-05/1.324, allocations: 89.16 kB / 1.006 GB, free: 61.18 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.381e-05/1.324, allocations: 37.88 kB / 1.006 GB, free: 61.13 MB / 0.573 GB Notification: Performance of pre-optimization done (n=1): time 1.273e-06/1.324, allocations: 0 / 1.006 GB, free: 61.13 MB / 0.573 GB Notification: Performance of matching and sorting (n=1): time 0.0001854/1.325, allocations: 30.64 kB / 1.006 GB, free: 61.1 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.005e-05/1.325, allocations: 55.34 kB / 1.006 GB, free: 61.03 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.661e-05/1.325, allocations: 92.98 kB / 1.006 GB, free: 60.93 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 9.809e-06/1.325, allocations: 25.7 kB / 1.006 GB, free: 60.9 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 3.591e-05/1.325, allocations: 96.52 kB / 1.006 GB, free: 60.81 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 5.681e-06/1.325, allocations: 3.906 kB / 1.006 GB, free: 60.8 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/1.325, allocations: 0 / 1.006 GB, free: 60.8 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 5.176e-05/1.325, allocations: 310.8 kB / 1.007 GB, free: 60.49 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.189e-05/1.325, allocations: 4 kB / 1.007 GB, free: 60.49 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.646e-05/1.325, allocations: 13.53 kB / 1.007 GB, free: 60.47 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.869e-05/1.325, allocations: 15.92 kB / 1.007 GB, free: 60.46 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.325, allocations: 4 kB / 1.007 GB, free: 60.45 MB / 0.573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.138e-05/1.325, allocations: 45.62 kB / 1.007 GB, free: 60.4 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/1.325, allocations: 11.95 kB / 1.007 GB, free: 60.39 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/1.325, allocations: 2.578 kB / 1.007 GB, free: 60.39 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/1.325, allocations: 0 / 1.007 GB, free: 60.39 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.142e-05/1.325, allocations: 5.188 kB / 1.007 GB, free: 60.39 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/1.325, allocations: 3.938 kB / 1.007 GB, free: 60.38 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.053e-05/1.325, allocations: 7.375 kB / 1.007 GB, free: 60.38 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/1.325, allocations: 3.984 kB / 1.007 GB, free: 60.38 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 5.091e-05/1.325, allocations: 106.7 kB / 1.007 GB, free: 60.27 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/1.325, allocations: 4 kB / 1.007 GB, free: 60.26 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/1.325, allocations: 121.5 kB / 1.007 GB, free: 60.14 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.941e-05/1.325, allocations: 176.3 kB / 1.007 GB, free: 59.96 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.29e-05/1.325, allocations: 180.2 kB / 1.007 GB, free: 59.77 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-05/1.325, allocations: 187.8 kB / 1.008 GB, free: 59.59 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/1.326, allocations: 381.8 kB / 1.008 GB, free: 59.17 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.286e-05/1.326, allocations: 103.5 kB / 1.008 GB, free: 59.06 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.324e-05/1.326, allocations: 108.9 kB / 1.008 GB, free: 58.95 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.842e-05/1.326, allocations: 180.3 kB / 1.008 GB, free: 58.77 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-05/1.326, allocations: 179.6 kB / 1.008 GB, free: 58.59 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.534e-05/1.326, allocations: 184.2 kB / 1.009 GB, free: 58.4 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.564e-05/1.326, allocations: 184.2 kB / 1.009 GB, free: 58.21 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.058e-05/1.326, allocations: 306.6 kB / 1.009 GB, free: 57.89 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.838e-05/1.326, allocations: 186.1 kB / 1.009 GB, free: 57.68 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.96e-05/1.326, allocations: 180.3 kB / 1.009 GB, free: 57.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/1.326, allocations: 104.9 kB / 1.01 GB, free: 57.39 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/1.326, allocations: 184.2 kB / 1.01 GB, free: 57.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/1.326, allocations: 106.3 kB / 1.01 GB, free: 57.09 MB / 0.573 GB Notification: Performance of sorting global known variables: time 3.152e-05/1.326, allocations: 82.69 kB / 1.01 GB, free: 57.02 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.5e-07/1.326, allocations: 0 / 1.01 GB, free: 57.02 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002503/1.327, allocations: 19.94 kB / 1.01 GB, free: 57 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.0002081/1.327, allocations: 206.6 kB / 1.01 GB, free: 56.79 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 6.557e-05/1.327, allocations: 15.92 kB / 1.01 GB, free: 56.77 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.327, allocations: 4.125 kB / 1.01 GB, free: 56.77 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 1.674e-06/1.327, allocations: 0 / 1.01 GB, free: 56.77 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/1.327, allocations: 0.5234 MB / 1.011 GB, free: 56.24 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001994/1.327, allocations: 122.8 kB / 1.011 GB, free: 56.1 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/1.327, allocations: 0.6806 MB / 1.011 GB, free: 55.39 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 4.55e-05/1.328, allocations: 12.97 kB / 1.011 GB, free: 55.38 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.914e-05/1.328, allocations: 7.438 kB / 1.011 GB, free: 55.38 MB / 0.573 GB Notification: Performance of SimCode: time 2.41e-07/1.328, allocations: 0 / 1.011 GB, free: 55.38 MB / 0.573 GB Notification: Performance of Templates: time 0.0028/1.33, allocations: 0.6561 MB / 1.012 GB, free: 54.75 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)