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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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.7382/0.7382, allocations: 140 MB / 156 MB, free: 5.176 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001048/0.001047, allocations: 177.8 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.769/1.769, allocations: 205.4 MB / 426.3 MB, free: 8.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008857/0.0008857, allocations: 101.2 kB / 0.4945 GB, free: 8.422 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001765/0.001765, allocations: 268.4 kB / 0.5728 GB, free: 66.24 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004662/0.0004662, allocations: 16 kB / 0.662 GB, free: 6.828 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4369/0.4374, allocations: 79.3 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7532/1.191, allocations: 312.1 MB / 1.044 GB, free: 15.36 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/1.191, allocations: 82.08 kB / 1.044 GB, free: 15.31 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02257/1.214, allocations: 9.022 MB / 1.053 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.567e-06/1.214, allocations: 4 kB / 1.053 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.724e-06/1.214, allocations: 0 / 1.053 GB, free: 7.988 MB / 0.5886 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.0004764/1.214, allocations: 348.3 kB / 1.054 GB, free: 7.602 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/1.214, allocations: 12.03 kB / 1.054 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.918e-05/1.214, allocations: 0.9375 kB / 1.054 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/1.214, allocations: 168.3 kB / 1.054 GB, free: 7.387 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.122e-05/1.215, allocations: 33.77 kB / 1.054 GB, free: 7.352 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/1.215, allocations: 384 / 1.054 GB, free: 7.352 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/1.215, allocations: 42.19 kB / 1.054 GB, free: 7.305 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/1.215, allocations: 7.938 kB / 1.054 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/1.215, allocations: 0 / 1.054 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.412e-05/1.215, allocations: 7.75 kB / 1.054 GB, free: 7.293 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.661e-05/1.215, allocations: 11.98 kB / 1.054 GB, free: 7.281 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009249/1.216, allocations: 0.5797 MB / 1.054 GB, free: 6.594 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.345e-05/1.216, allocations: 18.52 kB / 1.054 GB, free: 6.566 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.549e-05/1.216, allocations: 12.91 kB / 1.054 GB, free: 6.551 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003358/1.216, allocations: 348.3 kB / 1.055 GB, free: 6.145 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.312e-05/1.216, allocations: 30.56 kB / 1.055 GB, free: 6.105 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 2.024e-06/1.216, allocations: 0 / 1.055 GB, free: 6.105 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0002142/1.217, allocations: 37.69 kB / 1.055 GB, free: 6.062 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/1.217, allocations: 55.34 kB / 1.055 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/1.217, allocations: 104.8 kB / 1.055 GB, free: 5.887 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/1.217, allocations: 33.33 kB / 1.055 GB, free: 5.852 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.026e-05/1.217, allocations: 92.11 kB / 1.055 GB, free: 5.758 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 9.218e-06/1.217, allocations: 0 / 1.055 GB, free: 5.758 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/1.217, allocations: 3.938 kB / 1.055 GB, free: 5.754 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001538/1.217, allocations: 314.8 kB / 1.055 GB, free: 5.438 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.428e-05/1.217, allocations: 3.875 kB / 1.055 GB, free: 5.438 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.978e-05/1.217, allocations: 17.7 kB / 1.055 GB, free: 5.414 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.64e-05/1.217, allocations: 28.72 kB / 1.055 GB, free: 5.383 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.217, allocations: 0 / 1.055 GB, free: 5.383 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001042/1.217, allocations: 53.16 kB / 1.055 GB, free: 5.328 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/1.217, allocations: 4 kB / 1.055 GB, free: 5.324 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/1.217, allocations: 4 kB / 1.055 GB, free: 5.32 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/1.217, allocations: 0 / 1.055 GB, free: 5.32 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.631e-05/1.217, allocations: 4.281 kB / 1.055 GB, free: 5.316 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/1.217, allocations: 0 / 1.055 GB, free: 5.316 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.222e-05/1.217, allocations: 0 / 1.055 GB, free: 5.316 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/1.217, allocations: 8.062 kB / 1.055 GB, free: 5.309 MB / 0.5886 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 () * Number of clocked 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.595e-05/1.218, allocations: 113.8 kB / 1.056 GB, free: 5.188 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/1.218, allocations: 4 kB / 1.056 GB, free: 5.184 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001533/1.218, allocations: 124.3 kB / 1.056 GB, free: 5.059 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-05/1.218, allocations: 180.2 kB / 1.056 GB, free: 4.875 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.451e-05/1.218, allocations: 180.2 kB / 1.056 GB, free: 4.691 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.148e-05/1.218, allocations: 184.2 kB / 1.056 GB, free: 4.508 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002942/1.218, allocations: 409.1 kB / 1.057 GB, free: 4.051 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.275e-05/1.218, allocations: 101 kB / 1.057 GB, free: 3.945 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.357e-05/1.218, allocations: 104.2 kB / 1.057 GB, free: 3.84 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.161e-05/1.219, allocations: 184.2 kB / 1.057 GB, free: 3.652 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/1.219, allocations: 188.3 kB / 1.057 GB, free: 3.461 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.556e-05/1.219, allocations: 180.2 kB / 1.057 GB, free: 3.277 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.247e-05/1.219, allocations: 180.3 kB / 1.058 GB, free: 3.094 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/1.219, allocations: 307.6 kB / 1.058 GB, free: 2.773 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/1.219, allocations: 186 kB / 1.058 GB, free: 2.566 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/1.219, allocations: 187.1 kB / 1.058 GB, free: 2.379 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/1.219, allocations: 113 kB / 1.058 GB, free: 2.262 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.755e-05/1.22, allocations: 184.2 kB / 1.058 GB, free: 2.074 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.001e-05/1.22, allocations: 104.9 kB / 1.059 GB, free: 1.965 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.322e-05/1.22, allocations: 82.78 kB / 1.059 GB, free: 1.887 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.2e-07/1.22, allocations: 0 / 1.059 GB, free: 1.887 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003407/1.22, allocations: 43.67 kB / 1.059 GB, free: 1.848 MB / 0.5886 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 () * Number of clocked 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.0003513/1.22, allocations: 234 kB / 1.059 GB, free: 1.613 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.007e-05/1.22, allocations: 4 kB / 1.059 GB, free: 1.609 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.22, allocations: 0 / 1.059 GB, free: 1.609 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.621e-06/1.22, allocations: 11.88 kB / 1.059 GB, free: 1.598 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005159/1.221, allocations: 0.5245 MB / 1.059 GB, free: 1.074 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003589/1.221, allocations: 191.8 kB / 1.06 GB, free: 0.8594 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/1.222, allocations: 0.677 MB / 1.06 GB, free: 160 kB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.916e-05/1.222, allocations: 4 kB / 1.06 GB, free: 156 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.01e-05/1.222, allocations: 7.438 kB / 1.06 GB, free: 148 kB / 0.5886 GB Notification: Performance of SimCode: time 4.8e-07/1.222, allocations: 0 / 1.06 GB, free: 148 kB / 0.5886 GB Notification: Performance of Templates: time 0.004101/1.226, allocations: 1.135 MB / 1.061 GB, free: 15.06 MB / 0.6042 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)