Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.603/1.603, allocations: 289.7 MB / 302.3 MB, free: 2.168 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.001049/0.00105, allocations: 177.8 kB / 371.6 MB, free: 3.371 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.724/1.724, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.00107/0.00107, allocations: 87.05 kB / 0.745 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.563e-05/4.565e-05, allocations: 4 kB / 0.8662 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3018, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.065/1.367, allocations: 345.5 MB / 1.317 GB, free: 2.145 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003029/1.367, allocations: 86.38 kB / 1.317 GB, free: 2.098 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.04339/1.411, allocations: 16.21 MB / 1.333 GB, free: 4.625 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.423e-06/1.411, allocations: 4 kB / 1.333 GB, free: 4.621 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.36e-05/1.411, allocations: 0.6562 kB / 1.333 GB, free: 4.621 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008752/1.411, allocations: 492.2 kB / 1.334 GB, free: 4.113 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/1.412, allocations: 8.031 kB / 1.334 GB, free: 4.105 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002046/1.414, allocations: 171.6 kB / 1.334 GB, free: 3.953 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/1.414, allocations: 206.7 kB / 1.334 GB, free: 3.719 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.662e-05/1.414, allocations: 15.47 kB / 1.334 GB, free: 3.711 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.264e-05/1.414, allocations: 14.75 kB / 1.334 GB, free: 3.703 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005601/1.415, allocations: 277.3 kB / 1.334 GB, free: 3.453 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/1.415, allocations: 3.938 kB / 1.334 GB, free: 3.449 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.188e-05/1.415, allocations: 10.69 kB / 1.334 GB, free: 3.445 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.702e-05/1.415, allocations: 4 kB / 1.334 GB, free: 3.441 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004889/1.415, allocations: 219 kB / 1.335 GB, free: 3.277 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001884/1.417, allocations: 1.384 MB / 1.336 GB, free: 1.859 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004226/1.418, allocations: 157.8 kB / 1.336 GB, free: 1.734 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/1.418, allocations: 57.36 kB / 1.336 GB, free: 1.695 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.277e-05/1.418, allocations: 8.734 kB / 1.336 GB, free: 1.688 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/1.418, allocations: 33.56 kB / 1.336 GB, free: 1.648 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=18): time 2.235e-06/1.418, allocations: 0 / 1.336 GB, free: 1.648 MB / 0.9011 GB Notification: Performance of matching and sorting (n=18): time 0.000433/1.418, allocations: 165.2 kB / 1.336 GB, free: 1.512 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/1.418, allocations: 51.41 kB / 1.336 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/1.418, allocations: 154.8 kB / 1.336 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/1.418, allocations: 29.64 kB / 1.337 GB, free: 1.27 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 8.844e-05/1.419, allocations: 126.1 kB / 1.337 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.239e-05/1.419, allocations: 59.23 kB / 1.337 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.764e-05/1.419, allocations: 3.625 kB / 1.337 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001429/1.419, allocations: 329.7 kB / 1.337 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/1.419, allocations: 46.7 kB / 1.337 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/1.419, allocations: 126.5 kB / 1.337 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/1.419, allocations: 63 kB / 1.337 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.419, allocations: 4 kB / 1.337 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004258/1.42, allocations: 222.3 kB / 1.337 GB, free: 388 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/1.42, allocations: 12.02 kB / 1.337 GB, free: 376 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/1.42, allocations: 4 kB / 1.337 GB, free: 372 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/1.42, allocations: 4.656 kB / 1.337 GB, free: 368 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004187/1.42, allocations: 63.89 kB / 1.338 GB, free: 304 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/1.42, allocations: 4 kB / 1.338 GB, free: 300 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/1.421, allocations: 40.11 kB / 1.338 GB, free: 268 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/1.421, allocations: 15.95 kB / 1.338 GB, free: 252 kB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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 0.0001035/1.421, allocations: 119.9 kB / 1.338 GB, free: 132 kB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.011e-05/1.421, allocations: 19.8 kB / 1.338 GB, free: 112 kB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004432/1.421, allocations: 191.9 kB / 1.338 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/1.421, allocations: 4 kB / 1.338 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.421, allocations: 0 / 1.338 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/1.421, allocations: 0 / 1.338 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003068/1.422, allocations: 249.1 kB / 1.338 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/1.422, allocations: 0 / 1.338 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000301/1.422, allocations: 54.72 kB / 1.338 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/1.422, allocations: 4.5 kB / 1.338 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/1.422, allocations: 5.109 kB / 1.338 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/1.422, allocations: 8 kB / 1.338 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.422, allocations: 0 / 1.338 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00036/1.422, allocations: 270.3 kB / 1.338 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/1.422, allocations: 104.5 kB / 1.339 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.945e-05/1.422, allocations: 7.75 kB / 1.339 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002463/1.423, allocations: 15.86 kB / 1.339 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.893e-05/1.423, allocations: 11.98 kB / 1.339 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.759e-05/1.423, allocations: 11.8 kB / 1.339 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 9.485e-05/1.423, allocations: 113.8 kB / 1.339 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.2e-07/1.423, allocations: 0 / 1.339 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000392/1.423, allocations: 58.72 kB / 1.339 GB, free: 15.09 MB / 0.9167 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 (20): * Single equations (assignments): 20 * 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.0002733/1.424, allocations: 132 kB / 1.339 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003104/1.424, allocations: 157.7 kB / 1.339 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.424, allocations: 0 / 1.339 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/1.424, allocations: 72.73 kB / 1.339 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004081/1.424, allocations: 62.89 kB / 1.339 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006553/1.425, allocations: 204.9 kB / 1.339 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/1.425, allocations: 0.7232 MB / 1.34 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003432/1.426, allocations: 58.03 kB / 1.34 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.977e-05/1.426, allocations: 23.38 kB / 1.34 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of SimCode: time 6.01e-07/1.426, allocations: 0 / 1.34 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of Templates: time 0.00688/1.433, allocations: 3.052 MB / 1.343 GB, free: 10.73 MB / 0.9167 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)