Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.691/1.691, allocations: 289.7 MB / 302.2 MB, free: 2.156 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 182.1 kB / 371.6 MB, free: 3.391 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.63/1.63, allocations: 205.1 MB / 0.6309 GB, free: 11.79 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009165/0.0009166, allocations: 91.97 kB / 0.745 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.699e-05/3.702e-05, allocations: 4 kB / 0.8662 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2905, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.109/1.4, allocations: 342.4 MB / 1.314 GB, free: 5.262 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/1.4, allocations: 78.73 kB / 1.314 GB, free: 5.219 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01695/1.417, allocations: 7.687 MB / 1.322 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.316e-06/1.417, allocations: 4 kB / 1.322 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 9.948e-06/1.417, allocations: 4 kB / 1.322 GB, free: 15.13 MB / 0.9011 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.0004015/1.418, allocations: 338.4 kB / 1.322 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/1.418, allocations: 8.031 kB / 1.322 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.792e-05/1.418, allocations: 8.969 kB / 1.322 GB, free: 14.74 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/1.418, allocations: 161.1 kB / 1.322 GB, free: 14.55 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.61e-05/1.418, allocations: 33.89 kB / 1.322 GB, free: 14.51 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/1.418, allocations: 4 kB / 1.322 GB, free: 14.51 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/1.418, allocations: 45.33 kB / 1.322 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/1.418, allocations: 0 / 1.322 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/1.418, allocations: 3.984 kB / 1.322 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.242e-05/1.418, allocations: 0 / 1.322 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.256e-05/1.418, allocations: 8 kB / 1.322 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008302/1.419, allocations: 0.5958 MB / 1.323 GB, free: 13.75 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.1e-05/1.419, allocations: 26.52 kB / 1.323 GB, free: 13.71 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.867e-05/1.419, allocations: 4.859 kB / 1.323 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000297/1.42, allocations: 358.9 kB / 1.323 GB, free: 13.29 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/1.42, allocations: 34.56 kB / 1.323 GB, free: 13.24 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 1.332e-06/1.42, allocations: 0 / 1.323 GB, free: 13.24 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001586/1.42, allocations: 37.06 kB / 1.323 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/1.42, allocations: 54.91 kB / 1.323 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.197e-05/1.42, allocations: 103.4 kB / 1.323 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/1.42, allocations: 25.7 kB / 1.324 GB, free: 13 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.708e-05/1.42, allocations: 91.97 kB / 1.324 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 5.571e-06/1.42, allocations: 3.938 kB / 1.324 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-06/1.42, allocations: 0 / 1.324 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001536/1.42, allocations: 322.2 kB / 1.324 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.381e-05/1.42, allocations: 4 kB / 1.324 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.977e-05/1.42, allocations: 13.72 kB / 1.324 GB, free: 12.57 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.215e-05/1.42, allocations: 8 kB / 1.324 GB, free: 12.56 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.42, allocations: 0 / 1.324 GB, free: 12.56 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.087e-05/1.421, allocations: 53.62 kB / 1.324 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/1.421, allocations: 4.656 kB / 1.324 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/1.421, allocations: 0 / 1.324 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/1.421, allocations: 0 / 1.324 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.196e-05/1.421, allocations: 7.984 kB / 1.324 GB, free: 12.49 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/1.421, allocations: 4.625 kB / 1.324 GB, free: 12.49 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.889e-05/1.421, allocations: 7.969 kB / 1.324 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/1.421, allocations: 3.312 kB / 1.324 GB, free: 12.48 MB / 0.9011 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 9.255e-05/1.421, allocations: 113.7 kB / 1.324 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/1.421, allocations: 0 / 1.324 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000158/1.421, allocations: 124.3 kB / 1.324 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.257e-05/1.421, allocations: 176.3 kB / 1.324 GB, free: 12.05 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.818e-05/1.421, allocations: 181.3 kB / 1.325 GB, free: 11.87 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.592e-05/1.421, allocations: 184.2 kB / 1.325 GB, free: 11.68 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002666/1.422, allocations: 404.4 kB / 1.325 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.736e-05/1.422, allocations: 108.9 kB / 1.325 GB, free: 11.12 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.643e-05/1.422, allocations: 101 kB / 1.325 GB, free: 11.02 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.255e-05/1.422, allocations: 185 kB / 1.326 GB, free: 10.83 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.13e-05/1.422, allocations: 187.8 kB / 1.326 GB, free: 10.64 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.477e-05/1.422, allocations: 181 kB / 1.326 GB, free: 10.46 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.333e-05/1.422, allocations: 180.2 kB / 1.326 GB, free: 10.27 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002086/1.422, allocations: 318.8 kB / 1.326 GB, free: 9.941 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 9.461e-05/1.422, allocations: 178.1 kB / 1.327 GB, free: 9.742 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/1.423, allocations: 180.3 kB / 1.327 GB, free: 9.559 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/1.423, allocations: 117.2 kB / 1.327 GB, free: 9.441 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.072e-05/1.423, allocations: 176.3 kB / 1.327 GB, free: 9.262 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.67e-05/1.423, allocations: 104.9 kB / 1.327 GB, free: 9.152 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 5.898e-05/1.423, allocations: 91.47 kB / 1.327 GB, free: 9.066 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.4e-07/1.423, allocations: 0 / 1.327 GB, free: 9.066 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003417/1.423, allocations: 27.98 kB / 1.327 GB, free: 9.039 MB / 0.9011 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.0003815/1.424, allocations: 241.5 kB / 1.327 GB, free: 8.805 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 8.792e-05/1.424, allocations: 8 kB / 1.327 GB, free: 8.797 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.424, allocations: 0 / 1.327 GB, free: 8.797 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/1.424, allocations: 0 / 1.327 GB, free: 8.797 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004541/1.424, allocations: 0.5324 MB / 1.328 GB, free: 8.266 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002367/1.424, allocations: 127.3 kB / 1.328 GB, free: 8.121 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/1.425, allocations: 0.677 MB / 1.329 GB, free: 7.418 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 4.445e-05/1.425, allocations: 4 kB / 1.329 GB, free: 7.414 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.897e-05/1.425, allocations: 11.44 kB / 1.329 GB, free: 7.406 MB / 0.9011 GB Notification: Performance of SimCode: time 2.31e-07/1.425, allocations: 0 / 1.329 GB, free: 7.406 MB / 0.9011 GB Notification: Performance of Templates: time 0.00421/1.429, allocations: 1.099 MB / 1.33 GB, free: 6.387 MB / 0.9011 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)