Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8563/0.8563, allocations: 141.8 MB / 149.3 MB, free: 9.191 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.001173/0.001173, allocations: 187.8 kB / 182.2 MB, free: 9.422 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.581/1.581, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.000998/0.0009981, allocations: 89.55 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001761/0.00176, allocations: 275.7 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.58e-05/2.595e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5525/0.5526, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8036/1.356, allocations: 321.3 MB / 1.071 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002128/1.357, allocations: 88.72 kB / 1.071 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01881/1.375, allocations: 8.225 MB / 1.079 GB, free: 4.207 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.413e-06/1.375, allocations: 0 / 1.079 GB, free: 4.207 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.561e-06/1.375, allocations: 0 / 1.079 GB, free: 4.207 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003632/1.376, allocations: 349.2 kB / 1.08 GB, free: 3.828 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.962e-05/1.376, allocations: 12.02 kB / 1.08 GB, free: 3.816 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001897/1.376, allocations: 12 kB / 1.08 GB, free: 3.805 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/1.376, allocations: 163 kB / 1.08 GB, free: 3.605 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/1.376, allocations: 7.953 kB / 1.08 GB, free: 3.598 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/1.376, allocations: 11.89 kB / 1.08 GB, free: 3.586 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.96e-05/1.376, allocations: 4 kB / 1.08 GB, free: 3.582 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/1.376, allocations: 67.28 kB / 1.08 GB, free: 3.508 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/1.376, allocations: 3.938 kB / 1.08 GB, free: 3.504 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/1.376, allocations: 0 / 1.08 GB, free: 3.504 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/1.376, allocations: 0 / 1.08 GB, free: 3.504 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005445/1.377, allocations: 449.6 kB / 1.08 GB, free: 3.023 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/1.377, allocations: 67.22 kB / 1.08 GB, free: 2.934 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.806e-05/1.377, allocations: 18.8 kB / 1.08 GB, free: 2.906 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/1.377, allocations: 7.984 kB / 1.08 GB, free: 2.898 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/1.377, allocations: 38.12 kB / 1.08 GB, free: 2.855 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/1.377, allocations: 0 / 1.08 GB, free: 2.855 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005489/1.378, allocations: 279.9 kB / 1.081 GB, free: 2.539 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/1.378, allocations: 106.2 kB / 1.081 GB, free: 2.414 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.038e-05/1.378, allocations: 92.98 kB / 1.081 GB, free: 2.316 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/1.378, allocations: 29.77 kB / 1.081 GB, free: 2.281 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.115e-05/1.378, allocations: 87.86 kB / 1.081 GB, free: 2.195 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/1.378, allocations: 26.83 kB / 1.081 GB, free: 2.172 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-06/1.378, allocations: 3.938 kB / 1.081 GB, free: 2.168 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001168/1.378, allocations: 318.8 kB / 1.081 GB, free: 1.848 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.968e-05/1.378, allocations: 11.38 kB / 1.081 GB, free: 1.84 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.322e-05/1.378, allocations: 53.03 kB / 1.081 GB, free: 1.777 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.473e-05/1.378, allocations: 19.55 kB / 1.081 GB, free: 1.762 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/1.378, allocations: 0 / 1.081 GB, free: 1.762 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001111/1.378, allocations: 84.77 kB / 1.081 GB, free: 1.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/1.378, allocations: 4 kB / 1.081 GB, free: 1.676 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/1.378, allocations: 0 / 1.081 GB, free: 1.676 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/1.378, allocations: 8.125 kB / 1.081 GB, free: 1.668 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.545e-05/1.379, allocations: 23.92 kB / 1.081 GB, free: 1.645 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/1.379, allocations: 4 kB / 1.081 GB, free: 1.641 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.392e-05/1.379, allocations: 0 / 1.081 GB, free: 1.641 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/1.379, allocations: 4 kB / 1.082 GB, free: 1.637 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.993e-05/1.379, allocations: 109.9 kB / 1.082 GB, free: 1.523 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.251e-05/1.379, allocations: 4 kB / 1.082 GB, free: 1.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.151e-05/1.379, allocations: 11.25 kB / 1.082 GB, free: 1.512 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/1.379, allocations: 0 / 1.082 GB, free: 1.512 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/1.379, allocations: 4 kB / 1.082 GB, free: 1.508 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/1.379, allocations: 3.984 kB / 1.082 GB, free: 1.504 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002925/1.379, allocations: 146.2 kB / 1.082 GB, free: 1.328 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/1.379, allocations: 3.953 kB / 1.082 GB, free: 1.324 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.671e-05/1.379, allocations: 23.36 kB / 1.082 GB, free: 1.305 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/1.379, allocations: 480 / 1.082 GB, free: 1.305 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/1.379, allocations: 4 kB / 1.082 GB, free: 1.301 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/1.379, allocations: 64 / 1.082 GB, free: 1.301 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.379, allocations: 4 kB / 1.082 GB, free: 1.297 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/1.379, allocations: 351.4 kB / 1.082 GB, free: 0.9336 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.659e-05/1.38, allocations: 84.7 kB / 1.082 GB, free: 0.8359 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/1.38, allocations: 0 / 1.082 GB, free: 0.8359 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/1.38, allocations: 12.02 kB / 1.082 GB, free: 0.8242 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.205e-05/1.38, allocations: 11.94 kB / 1.082 GB, free: 0.8125 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/1.38, allocations: 0 / 1.082 GB, free: 0.8125 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.097e-05/1.38, allocations: 79.28 kB / 1.082 GB, free: 0.7344 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/1.38, allocations: 0 / 1.082 GB, free: 0.7344 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003076/1.38, allocations: 12 kB / 1.082 GB, free: 0.7227 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001451/1.38, allocations: 114.5 kB / 1.082 GB, free: 0.6055 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.224e-05/1.38, allocations: 35 kB / 1.082 GB, free: 0.5781 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/1.38, allocations: 4 kB / 1.082 GB, free: 0.5742 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.918e-05/1.38, allocations: 15.94 kB / 1.082 GB, free: 0.5586 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/1.381, allocations: 17.86 kB / 1.083 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000505/1.381, allocations: 282 kB / 1.083 GB, free: 252 kB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/1.381, allocations: 0.6852 MB / 1.083 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.135e-05/1.382, allocations: 11.98 kB / 1.083 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.606e-05/1.382, allocations: 7.438 kB / 1.083 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of SimCode: time 2.6e-07/1.382, allocations: 4 kB / 1.083 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of Templates: time 0.002382/1.384, allocations: 0.5785 MB / 1.084 GB, free: 14.98 MB / 0.6355 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)