Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 179.7 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4559/0.4559, allocations: 90.81 MB / 104.5 MB, free: 9.793 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 221.3 MB / 348.3 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000924/0.0009243, allocations: 108.6 kB / 421.2 MB, free: 5.504 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.205e-05/3.208e-05, allocations: 8 kB / 0.4896 GB, free: 5.375 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.408, allocations: 72.29 MB / 0.5602 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7168/1.125, allocations: 305 MB / 0.8581 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/1.125, allocations: 80.19 kB / 0.8582 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02163/1.147, allocations: 9.162 MB / 0.8671 GB, free: 4.332 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.494e-06/1.147, allocations: 0 / 0.8671 GB, free: 4.332 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.838e-06/1.147, allocations: 0 / 0.8671 GB, free: 4.332 MB / 0.5417 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.0004789/1.147, allocations: 334.2 kB / 0.8674 GB, free: 3.965 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.242e-05/1.147, allocations: 15.98 kB / 0.8675 GB, free: 3.949 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.103e-05/1.148, allocations: 7.859 kB / 0.8675 GB, free: 3.941 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/1.148, allocations: 159.1 kB / 0.8676 GB, free: 3.746 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.922e-05/1.148, allocations: 29.7 kB / 0.8676 GB, free: 3.711 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/1.148, allocations: 0 / 0.8676 GB, free: 3.711 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/1.148, allocations: 48.94 kB / 0.8677 GB, free: 3.66 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/1.148, allocations: 0 / 0.8677 GB, free: 3.66 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/1.148, allocations: 0 / 0.8677 GB, free: 3.66 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.812e-05/1.148, allocations: 11.94 kB / 0.8677 GB, free: 3.648 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.408e-05/1.148, allocations: 11.56 kB / 0.8677 GB, free: 3.641 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008236/1.149, allocations: 0.5923 MB / 0.8683 GB, free: 2.941 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 4.454e-05/1.149, allocations: 22.58 kB / 0.8683 GB, free: 2.91 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.299e-05/1.149, allocations: 8.844 kB / 0.8683 GB, free: 2.898 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003231/1.149, allocations: 363.4 kB / 0.8687 GB, free: 2.477 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/1.149, allocations: 38.52 kB / 0.8687 GB, free: 2.43 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/1.149, allocations: 0 / 0.8687 GB, free: 2.43 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 0.0001651/1.15, allocations: 37.19 kB / 0.8687 GB, free: 2.391 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/1.15, allocations: 51.41 kB / 0.8688 GB, free: 2.328 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.023e-05/1.15, allocations: 97.03 kB / 0.8689 GB, free: 2.227 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/1.15, allocations: 25.7 kB / 0.8689 GB, free: 2.195 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.37e-05/1.15, allocations: 91.86 kB / 0.869 GB, free: 2.105 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/1.15, allocations: 11.83 kB / 0.869 GB, free: 2.094 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-06/1.15, allocations: 0 / 0.869 GB, free: 2.094 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001382/1.15, allocations: 314.8 kB / 0.8693 GB, free: 1.777 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.361e-05/1.15, allocations: 0 / 0.8693 GB, free: 1.777 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.247e-05/1.15, allocations: 21.34 kB / 0.8693 GB, free: 1.754 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.237e-05/1.15, allocations: 8 kB / 0.8693 GB, free: 1.746 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/1.15, allocations: 0 / 0.8693 GB, free: 1.746 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.02e-05/1.15, allocations: 49.44 kB / 0.8694 GB, free: 1.695 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/1.15, allocations: 4 kB / 0.8694 GB, free: 1.691 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/1.15, allocations: 96 / 0.8694 GB, free: 1.691 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/1.15, allocations: 7.938 kB / 0.8694 GB, free: 1.684 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.321e-05/1.15, allocations: 15.92 kB / 0.8694 GB, free: 1.668 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/1.15, allocations: 64 / 0.8694 GB, free: 1.668 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.942e-05/1.15, allocations: 4 kB / 0.8694 GB, free: 1.664 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/1.15, allocations: 0 / 0.8694 GB, free: 1.664 MB / 0.5417 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 8.08e-05/1.151, allocations: 105 kB / 0.8695 GB, free: 1.555 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/1.151, allocations: 0 / 0.8695 GB, free: 1.555 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/1.151, allocations: 120.6 kB / 0.8696 GB, free: 1.43 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-05/1.151, allocations: 184.2 kB / 0.8698 GB, free: 1.242 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.362e-05/1.151, allocations: 184.3 kB / 0.87 GB, free: 1.055 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-05/1.151, allocations: 180.2 kB / 0.8702 GB, free: 0.8711 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/1.151, allocations: 404.8 kB / 0.8705 GB, free: 432 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.816e-05/1.151, allocations: 101 kB / 0.8706 GB, free: 324 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.135e-05/1.151, allocations: 108.9 kB / 0.8707 GB, free: 208 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.008e-05/1.151, allocations: 184.1 kB / 0.8709 GB, free: 20 kB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/1.151, allocations: 188.2 kB / 0.8711 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.621e-05/1.152, allocations: 177.5 kB / 0.8713 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.94e-05/1.152, allocations: 184.2 kB / 0.8714 GB, free: 15.46 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001771/1.152, allocations: 315.6 kB / 0.8717 GB, free: 15.13 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.661e-05/1.152, allocations: 186 kB / 0.8719 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.057e-05/1.152, allocations: 176.3 kB / 0.8721 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/1.152, allocations: 112.5 kB / 0.8722 GB, free: 14.63 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.855e-05/1.152, allocations: 180.2 kB / 0.8724 GB, free: 14.45 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-05/1.152, allocations: 104.9 kB / 0.8725 GB, free: 14.34 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.558e-05/1.152, allocations: 91.16 kB / 0.8725 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.164e-06/1.152, allocations: 0 / 0.8725 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002893/1.153, allocations: 35.86 kB / 0.8726 GB, free: 14.22 MB / 0.5573 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.0003318/1.153, allocations: 240 kB / 0.8728 GB, free: 13.98 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 7.717e-05/1.153, allocations: 11.56 kB / 0.8728 GB, free: 13.97 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/1.153, allocations: 1.688 kB / 0.8728 GB, free: 13.97 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.385e-06/1.153, allocations: 0 / 0.8728 GB, free: 13.97 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/1.154, allocations: 0.5207 MB / 0.8733 GB, free: 13.45 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002122/1.154, allocations: 136.1 kB / 0.8735 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/1.154, allocations: 0.677 MB / 0.8741 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.852e-05/1.154, allocations: 5.969 kB / 0.8741 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.064e-05/1.154, allocations: 11.44 kB / 0.8741 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of SimCode: time 3.1e-07/1.154, allocations: 0 / 0.8741 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of Templates: time 0.003659/1.158, allocations: 1.133 MB / 0.8752 GB, free: 11.52 MB / 0.5573 GB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)