Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7672/0.7672, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 194.9 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 221.3 MB / 441.4 MB, free: 4.586 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 92.44 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002073/0.002074, allocations: 272.3 kB / 0.5939 GB, free: 7.93 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 5.263e-05/5.287e-05, allocations: 7.984 kB / 0.6834 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5557/0.5558, allocations: 82.75 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8903/1.446, allocations: 313.6 MB / 1.071 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/1.446, allocations: 84.19 kB / 1.071 GB, free: 11.15 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.02122/1.468, allocations: 9.151 MB / 1.08 GB, free: 3.727 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.874e-06/1.468, allocations: 0 / 1.08 GB, free: 3.727 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.178e-06/1.468, allocations: 0 / 1.08 GB, free: 3.727 MB / 0.6042 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.0004344/1.468, allocations: 345.5 kB / 1.08 GB, free: 3.348 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.574e-05/1.468, allocations: 8.031 kB / 1.08 GB, free: 3.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.785e-05/1.468, allocations: 4 kB / 1.08 GB, free: 3.336 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/1.469, allocations: 159.1 kB / 1.08 GB, free: 3.141 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-05/1.469, allocations: 29.66 kB / 1.08 GB, free: 3.105 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/1.469, allocations: 4 kB / 1.08 GB, free: 3.102 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/1.469, allocations: 41.62 kB / 1.08 GB, free: 3.059 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/1.469, allocations: 7.938 kB / 1.08 GB, free: 3.051 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/1.469, allocations: 3.984 kB / 1.08 GB, free: 3.047 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.263e-05/1.469, allocations: 7.922 kB / 1.08 GB, free: 3.039 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.821e-05/1.469, allocations: 11.75 kB / 1.08 GB, free: 3.031 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007904/1.47, allocations: 0.601 MB / 1.081 GB, free: 2.324 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.645e-05/1.47, allocations: 18.58 kB / 1.081 GB, free: 2.297 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.801e-05/1.47, allocations: 4.859 kB / 1.081 GB, free: 2.289 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003085/1.47, allocations: 372 kB / 1.081 GB, free: 1.859 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/1.47, allocations: 30.56 kB / 1.081 GB, free: 1.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.382e-06/1.47, allocations: 0 / 1.081 GB, free: 1.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001539/1.47, allocations: 37.59 kB / 1.081 GB, free: 1.777 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/1.47, allocations: 55.41 kB / 1.081 GB, free: 1.711 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.056e-05/1.47, allocations: 96.92 kB / 1.081 GB, free: 1.613 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/1.47, allocations: 29.73 kB / 1.081 GB, free: 1.578 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.967e-05/1.471, allocations: 87.98 kB / 1.081 GB, free: 1.488 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.092e-05/1.471, allocations: 7.984 kB / 1.081 GB, free: 1.48 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-06/1.471, allocations: 3.562 kB / 1.081 GB, free: 1.48 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001243/1.471, allocations: 314.8 kB / 1.082 GB, free: 1.164 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.387e-05/1.471, allocations: 4 kB / 1.082 GB, free: 1.16 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.476e-05/1.471, allocations: 20.97 kB / 1.082 GB, free: 1.137 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.232e-05/1.471, allocations: 8 kB / 1.082 GB, free: 1.129 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/1.471, allocations: 0 / 1.082 GB, free: 1.129 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.232e-05/1.471, allocations: 45.25 kB / 1.082 GB, free: 1.082 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/1.471, allocations: 4 kB / 1.082 GB, free: 1.078 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/1.471, allocations: 0 / 1.082 GB, free: 1.078 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/1.471, allocations: 4 kB / 1.082 GB, free: 1.074 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.372e-05/1.471, allocations: 11.92 kB / 1.082 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.445e-06/1.471, allocations: 0 / 1.082 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.728e-05/1.471, allocations: 3.938 kB / 1.082 GB, free: 1.059 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/1.471, allocations: 8.062 kB / 1.082 GB, free: 1.051 MB / 0.6042 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 7.42e-05/1.471, allocations: 104.9 kB / 1.082 GB, free: 0.9414 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/1.471, allocations: 7.906 kB / 1.082 GB, free: 0.9336 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001274/1.471, allocations: 118.4 kB / 1.082 GB, free: 0.8164 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.886e-05/1.471, allocations: 184.2 kB / 1.082 GB, free: 0.6289 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.9e-05/1.471, allocations: 176.3 kB / 1.082 GB, free: 460 kB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.708e-05/1.472, allocations: 184.2 kB / 1.083 GB, free: 268 kB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002653/1.472, allocations: 408 kB / 1.083 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.303e-05/1.472, allocations: 101 kB / 1.083 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.784e-05/1.472, allocations: 108.9 kB / 1.083 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.862e-05/1.472, allocations: 188.1 kB / 1.083 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.656e-05/1.472, allocations: 184.2 kB / 1.084 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.095e-05/1.472, allocations: 180.3 kB / 1.084 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.13e-05/1.472, allocations: 176.4 kB / 1.084 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/1.472, allocations: 315.2 kB / 1.084 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.902e-05/1.472, allocations: 186 kB / 1.084 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.281e-05/1.473, allocations: 180.3 kB / 1.085 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/1.473, allocations: 112.7 kB / 1.085 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.331e-05/1.473, allocations: 180.2 kB / 1.085 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.802e-05/1.473, allocations: 106.2 kB / 1.085 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.928e-05/1.473, allocations: 87.08 kB / 1.085 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/1.473, allocations: 0 / 1.085 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002958/1.473, allocations: 35.94 kB / 1.085 GB, free: 13.61 MB / 0.6198 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.0002926/1.473, allocations: 234.4 kB / 1.085 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.905e-05/1.474, allocations: 7.375 kB / 1.085 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.474, allocations: 0 / 1.085 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/1.474, allocations: 4 kB / 1.085 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/1.474, allocations: 0.5146 MB / 1.086 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002026/1.474, allocations: 148.2 kB / 1.086 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/1.474, allocations: 0.677 MB / 1.087 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.722e-05/1.475, allocations: 5.719 kB / 1.087 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.712e-05/1.475, allocations: 7.438 kB / 1.087 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of SimCode: time 2.155e-06/1.475, allocations: 0 / 1.087 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of Templates: time 0.00377/1.478, allocations: 1.155 MB / 1.088 GB, free: 10.89 MB / 0.6198 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)