Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.808/0.808, allocations: 141.7 MB / 154.3 MB, free: 15.47 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.001059/0.001059, allocations: 184.8 kB / 187.3 MB, free: 11.86 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.588/1.588, 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.0008862/0.0008865, allocations: 90.97 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001894/0.001895, allocations: 273.2 kB / 0.5939 GB, free: 7.941 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.427e-05/4.43e-05, allocations: 4 kB / 0.6834 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.532/0.532, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9047/1.437, allocations: 316.8 MB / 1.074 GB, free: 8.926 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/1.437, allocations: 84.36 kB / 1.074 GB, free: 8.879 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.043/1.48, allocations: 16.75 MB / 1.09 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.833e-06/1.48, allocations: 0 / 1.09 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.826e-05/1.48, allocations: 4 kB / 1.09 GB, free: 10.78 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008572/1.481, allocations: 489.9 kB / 1.091 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/1.481, allocations: 8.031 kB / 1.091 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0019/1.483, allocations: 165.8 kB / 1.091 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/1.483, allocations: 213.9 kB / 1.091 GB, free: 9.871 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.094e-05/1.483, allocations: 15.77 kB / 1.091 GB, free: 9.859 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.643e-05/1.483, allocations: 19.19 kB / 1.091 GB, free: 9.848 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004769/1.484, allocations: 282.3 kB / 1.091 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/1.484, allocations: 0 / 1.091 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.641e-05/1.484, allocations: 11.12 kB / 1.091 GB, free: 9.586 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.342e-05/1.484, allocations: 4 kB / 1.091 GB, free: 9.582 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003863/1.484, allocations: 217.4 kB / 1.091 GB, free: 9.418 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001644/1.486, allocations: 1.385 MB / 1.093 GB, free: 7.996 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003656/1.486, allocations: 154.4 kB / 1.093 GB, free: 7.875 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/1.487, allocations: 59.23 kB / 1.093 GB, free: 7.832 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/1.487, allocations: 4 kB / 1.093 GB, free: 7.828 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/1.487, allocations: 37.38 kB / 1.093 GB, free: 7.785 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.443e-06/1.487, allocations: 3.938 kB / 1.093 GB, free: 7.781 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0003654/1.487, allocations: 159.6 kB / 1.093 GB, free: 7.652 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/1.487, allocations: 55.34 kB / 1.093 GB, free: 7.586 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/1.487, allocations: 138.4 kB / 1.093 GB, free: 7.457 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.442e-05/1.487, allocations: 33.33 kB / 1.093 GB, free: 7.422 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.711e-05/1.487, allocations: 126.4 kB / 1.094 GB, free: 7.305 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.047e-05/1.487, allocations: 66.22 kB / 1.094 GB, free: 7.246 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.561e-05/1.488, allocations: 7.625 kB / 1.094 GB, free: 7.242 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001388/1.488, allocations: 325.7 kB / 1.094 GB, free: 6.922 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.849e-05/1.488, allocations: 50.77 kB / 1.094 GB, free: 6.883 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/1.488, allocations: 131.2 kB / 1.094 GB, free: 6.742 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/1.488, allocations: 61.94 kB / 1.094 GB, free: 6.699 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.488, allocations: 0 / 1.094 GB, free: 6.699 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003532/1.488, allocations: 221.2 kB / 1.094 GB, free: 6.516 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/1.488, allocations: 13.7 kB / 1.094 GB, free: 6.504 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/1.488, allocations: 0 / 1.094 GB, free: 6.504 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/1.488, allocations: 8 kB / 1.094 GB, free: 6.496 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003581/1.489, allocations: 72.19 kB / 1.094 GB, free: 6.426 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/1.489, allocations: 4 kB / 1.094 GB, free: 6.422 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/1.489, allocations: 31.27 kB / 1.095 GB, free: 6.395 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/1.489, allocations: 11.94 kB / 1.095 GB, free: 6.387 MB / 0.6198 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.0001105/1.489, allocations: 116.8 kB / 1.095 GB, free: 6.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.875e-05/1.489, allocations: 23.8 kB / 1.095 GB, free: 6.246 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004153/1.49, allocations: 196.7 kB / 1.095 GB, free: 6.102 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/1.49, allocations: 4 kB / 1.095 GB, free: 6.098 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/1.49, allocations: 4 kB / 1.095 GB, free: 6.094 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/1.49, allocations: 4 kB / 1.095 GB, free: 6.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002894/1.49, allocations: 249.7 kB / 1.095 GB, free: 5.824 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/1.49, allocations: 0 / 1.095 GB, free: 5.824 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002992/1.49, allocations: 51.91 kB / 1.095 GB, free: 5.773 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/1.49, allocations: 3.938 kB / 1.095 GB, free: 5.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/1.49, allocations: 7.359 kB / 1.095 GB, free: 5.766 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/1.49, allocations: 4 kB / 1.095 GB, free: 5.762 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/1.49, allocations: 0 / 1.095 GB, free: 5.762 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003815/1.491, allocations: 273.8 kB / 1.095 GB, free: 5.516 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/1.491, allocations: 112 kB / 1.096 GB, free: 5.391 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/1.491, allocations: 3.562 kB / 1.096 GB, free: 5.391 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002758/1.491, allocations: 23.53 kB / 1.096 GB, free: 5.371 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.733e-05/1.491, allocations: 7.984 kB / 1.096 GB, free: 5.363 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/1.491, allocations: 11.5 kB / 1.096 GB, free: 5.355 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.561e-05/1.491, allocations: 120.7 kB / 1.096 GB, free: 5.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/1.491, allocations: 0 / 1.096 GB, free: 5.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003544/1.492, allocations: 59.38 kB / 1.096 GB, free: 5.199 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 (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.0002289/1.492, allocations: 149.2 kB / 1.096 GB, free: 5.047 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002973/1.492, allocations: 148.3 kB / 1.096 GB, free: 4.934 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.492, allocations: 0 / 1.096 GB, free: 4.934 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001102/1.492, allocations: 69.38 kB / 1.096 GB, free: 4.883 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/1.493, allocations: 63.06 kB / 1.096 GB, free: 4.836 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006159/1.494, allocations: 212 kB / 1.096 GB, free: 4.629 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/1.494, allocations: 0.7291 MB / 1.097 GB, free: 3.875 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003435/1.494, allocations: 54.03 kB / 1.097 GB, free: 3.824 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.412e-05/1.494, allocations: 19.44 kB / 1.097 GB, free: 3.805 MB / 0.6198 GB Notification: Performance of SimCode: time 2.71e-07/1.494, allocations: 0 / 1.097 GB, free: 3.805 MB / 0.6198 GB Notification: Performance of Templates: time 0.00719/1.501, allocations: 3.164 MB / 1.1 GB, free: 0.7266 MB / 0.6198 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)