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.8314/0.8314, allocations: 141.8 MB / 149.3 MB, free: 9.227 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 172.9 kB / 182.2 MB, free: 9.453 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.372/1.372, allocations: 221.5 MB / 436.4 MB, free: 13.27 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.0008551/0.000855, allocations: 90.62 kB / 0.5074 GB, free: 10.1 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001729/0.001729, allocations: 277.2 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.22e-05/1.224e-05, allocations: 0 / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4008, allocations: 82.78 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6449/1.046, allocations: 312.9 MB / 1.063 GB, free: 3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/1.046, allocations: 83.77 kB / 1.063 GB, free: 2.957 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.02208/1.068, allocations: 9.122 MB / 1.072 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.223e-06/1.068, allocations: 4 kB / 1.072 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.492e-06/1.068, allocations: 0 / 1.072 GB, free: 11.64 MB / 0.6198 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.0003049/1.069, allocations: 338 kB / 1.072 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/1.069, allocations: 12.03 kB / 1.072 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.276e-05/1.069, allocations: 0 / 1.072 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/1.069, allocations: 167 kB / 1.072 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.491e-05/1.069, allocations: 33.66 kB / 1.072 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.264e-06/1.069, allocations: 0 / 1.072 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.168e-05/1.069, allocations: 15.23 kB / 1.073 GB, free: 11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.734e-05/1.069, allocations: 37.69 kB / 1.073 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/1.069, allocations: 0 / 1.073 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/1.069, allocations: 0 / 1.073 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/1.069, allocations: 0 / 1.073 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006876/1.07, allocations: 0.5838 MB / 1.073 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.457e-05/1.07, allocations: 22.52 kB / 1.073 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.516e-05/1.07, allocations: 4.859 kB / 1.073 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002715/1.07, allocations: 371.9 kB / 1.073 GB, free: 9.812 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/1.07, allocations: 34.56 kB / 1.074 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/1.07, allocations: 4 kB / 1.074 GB, free: 9.766 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0002238/1.07, allocations: 37.69 kB / 1.074 GB, free: 9.723 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/1.07, allocations: 51.41 kB / 1.074 GB, free: 9.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.166e-05/1.07, allocations: 96.44 kB / 1.074 GB, free: 9.562 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/1.07, allocations: 25.7 kB / 1.074 GB, free: 9.531 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.73e-05/1.071, allocations: 91.97 kB / 1.074 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.841e-06/1.071, allocations: 3.875 kB / 1.074 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/1.071, allocations: 3.938 kB / 1.074 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001139/1.071, allocations: 318.9 kB / 1.074 GB, free: 9.113 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.103e-05/1.071, allocations: 3.938 kB / 1.074 GB, free: 9.109 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.215e-05/1.071, allocations: 13.72 kB / 1.074 GB, free: 9.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/1.071, allocations: 23.84 kB / 1.074 GB, free: 9.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/1.071, allocations: 7.953 kB / 1.074 GB, free: 9.062 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001746/1.071, allocations: 52.69 kB / 1.074 GB, free: 9.008 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/1.071, allocations: 9.156 kB / 1.074 GB, free: 9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/1.071, allocations: 0 / 1.074 GB, free: 9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/1.071, allocations: 7.984 kB / 1.074 GB, free: 8.992 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.364e-05/1.071, allocations: 7.938 kB / 1.074 GB, free: 8.984 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/1.071, allocations: 3.672 kB / 1.074 GB, free: 8.984 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.884e-05/1.071, allocations: 3.906 kB / 1.074 GB, free: 8.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/1.071, allocations: 4 kB / 1.074 GB, free: 8.977 MB / 0.6198 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 6.979e-05/1.071, allocations: 101 kB / 1.074 GB, free: 8.871 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/1.071, allocations: 3.953 kB / 1.074 GB, free: 8.867 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/1.071, allocations: 125.3 kB / 1.074 GB, free: 8.738 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.52e-05/1.072, allocations: 180.2 kB / 1.075 GB, free: 8.555 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-05/1.072, allocations: 180.3 kB / 1.075 GB, free: 8.371 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.242e-05/1.072, allocations: 176.3 kB / 1.075 GB, free: 8.191 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/1.072, allocations: 385.7 kB / 1.075 GB, free: 7.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.317e-05/1.072, allocations: 108.9 kB / 1.075 GB, free: 7.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.409e-05/1.072, allocations: 105 kB / 1.076 GB, free: 7.551 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.577e-05/1.072, allocations: 184.2 kB / 1.076 GB, free: 7.363 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.771e-05/1.072, allocations: 188.4 kB / 1.076 GB, free: 7.172 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.213e-05/1.072, allocations: 176.3 kB / 1.076 GB, free: 6.992 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.396e-05/1.072, allocations: 184.2 kB / 1.076 GB, free: 6.805 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/1.072, allocations: 303.7 kB / 1.077 GB, free: 6.488 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.623e-05/1.072, allocations: 182 kB / 1.077 GB, free: 6.285 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.09e-05/1.073, allocations: 188.2 kB / 1.077 GB, free: 6.094 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/1.073, allocations: 105 kB / 1.077 GB, free: 5.984 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.77e-05/1.073, allocations: 184.2 kB / 1.077 GB, free: 5.797 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.929e-05/1.073, allocations: 102.2 kB / 1.077 GB, free: 5.691 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.095e-05/1.073, allocations: 90.95 kB / 1.077 GB, free: 5.605 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/1.073, allocations: 0 / 1.077 GB, free: 5.605 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002836/1.073, allocations: 34.75 kB / 1.077 GB, free: 5.574 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.0002371/1.073, allocations: 231.8 kB / 1.078 GB, free: 5.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.528e-05/1.073, allocations: 11.75 kB / 1.078 GB, free: 5.332 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.073, allocations: 3.938 kB / 1.078 GB, free: 5.328 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.735e-06/1.073, allocations: 4.125 kB / 1.078 GB, free: 5.324 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/1.074, allocations: 0.5192 MB / 1.078 GB, free: 4.801 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001601/1.074, allocations: 131.1 kB / 1.078 GB, free: 4.652 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/1.074, allocations: 0.6768 MB / 1.079 GB, free: 3.949 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.791e-05/1.074, allocations: 9.25 kB / 1.079 GB, free: 3.941 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.682e-05/1.074, allocations: 7.438 kB / 1.079 GB, free: 3.934 MB / 0.6198 GB Notification: Performance of SimCode: time 2.51e-07/1.074, allocations: 0 / 1.079 GB, free: 3.934 MB / 0.6198 GB Notification: Performance of Templates: time 0.003095/1.077, allocations: 1.069 MB / 1.08 GB, free: 2.941 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)