Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json 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/IBPSA 3.0.0-master/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) 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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 172.7 kB / 16.76 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4555/0.4555, allocations: 86.27 MB / 103.8 MB, free: 14.54 MB / 90.72 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: 223.3 MB / 348.4 MB, free: 4.961 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007954/0.0007955, allocations: 98.8 kB / 420.2 MB, free: 9.629 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003865/0.0003865, allocations: 8 kB / 0.4901 GB, free: 7.984 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3576, allocations: 71.01 MB / 0.5594 GB, free: 43.74 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6235/0.9811, allocations: 313.5 MB / 0.8656 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/0.9814, allocations: 89.67 kB / 0.8657 GB, free: 14.36 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.01854/1, allocations: 8.288 MB / 0.8738 GB, free: 7.648 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.916e-06/1, allocations: 0 / 0.8738 GB, free: 7.648 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.833e-06/1, allocations: 0 / 0.8738 GB, free: 7.648 MB / 0.5573 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.0003582/1, allocations: 355 kB / 0.8742 GB, free: 7.254 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/1, allocations: 8.031 kB / 0.8742 GB, free: 7.246 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001994/1.001, allocations: 16.83 kB / 0.8742 GB, free: 7.23 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/1.001, allocations: 164 kB / 0.8743 GB, free: 7.035 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/1.001, allocations: 8.312 kB / 0.8743 GB, free: 7.027 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/1.001, allocations: 8.375 kB / 0.8744 GB, free: 7.02 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/1.001, allocations: 76.23 kB / 0.8744 GB, free: 6.938 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/1.001, allocations: 192 / 0.8744 GB, free: 6.938 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/1.001, allocations: 7.312 kB / 0.8744 GB, free: 6.934 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/1.001, allocations: 4 kB / 0.8744 GB, free: 6.93 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.194e-05/1.001, allocations: 7.938 kB / 0.8744 GB, free: 6.922 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005993/1.002, allocations: 464.5 kB / 0.8749 GB, free: 6.418 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/1.002, allocations: 75.03 kB / 0.875 GB, free: 6.32 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.055e-05/1.002, allocations: 30.16 kB / 0.875 GB, free: 6.285 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-06/1.002, allocations: 0 / 0.875 GB, free: 6.285 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/1.002, allocations: 38.5 kB / 0.875 GB, free: 6.238 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=5): time 9.31e-07/1.002, allocations: 0 / 0.875 GB, free: 6.238 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7): time 0.0006119/1.003, allocations: 310 kB / 0.8753 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/1.003, allocations: 106.8 kB / 0.8754 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.532e-05/1.003, allocations: 97.75 kB / 0.8755 GB, free: 5.676 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/1.003, allocations: 25.7 kB / 0.8755 GB, free: 5.645 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.898e-05/1.003, allocations: 91.61 kB / 0.8756 GB, free: 5.555 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/1.003, allocations: 31.36 kB / 0.8757 GB, free: 5.527 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-06/1.003, allocations: 0 / 0.8757 GB, free: 5.527 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001111/1.003, allocations: 318.2 kB / 0.876 GB, free: 5.211 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.068e-05/1.003, allocations: 23.17 kB / 0.876 GB, free: 5.191 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.898e-05/1.003, allocations: 48.64 kB / 0.876 GB, free: 5.129 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.35e-05/1.003, allocations: 79.33 kB / 0.8761 GB, free: 5.047 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/1.003, allocations: 0 / 0.8761 GB, free: 5.047 MB / 0.5573 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001269/1.003, allocations: 91.73 kB / 0.8762 GB, free: 4.965 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/1.003, allocations: 8 kB / 0.8762 GB, free: 4.957 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/1.003, allocations: 0 / 0.8762 GB, free: 4.957 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/1.003, allocations: 7.984 kB / 0.8762 GB, free: 4.949 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.447e-05/1.003, allocations: 16 kB / 0.8762 GB, free: 4.934 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/1.003, allocations: 0 / 0.8762 GB, free: 4.934 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.577e-05/1.003, allocations: 8.125 kB / 0.8762 GB, free: 4.926 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/1.003, allocations: 7.562 kB / 0.8762 GB, free: 4.922 MB / 0.5573 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 () * Number of clocked 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 8.05e-05/1.004, allocations: 121.3 kB / 0.8764 GB, free: 4.797 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.844e-05/1.004, allocations: 7.953 kB / 0.8764 GB, free: 4.789 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.746e-05/1.004, allocations: 15.06 kB / 0.8764 GB, free: 4.777 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/1.004, allocations: 0 / 0.8764 GB, free: 4.777 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/1.004, allocations: 0 / 0.8764 GB, free: 4.777 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/1.004, allocations: 4 kB / 0.8764 GB, free: 4.773 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003354/1.004, allocations: 176.8 kB / 0.8765 GB, free: 4.559 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/1.004, allocations: 4 kB / 0.8765 GB, free: 4.555 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.495e-05/1.004, allocations: 15.98 kB / 0.8766 GB, free: 4.539 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/1.004, allocations: 7.938 kB / 0.8766 GB, free: 4.531 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/1.004, allocations: 0 / 0.8766 GB, free: 4.531 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/1.004, allocations: 3.938 kB / 0.8766 GB, free: 4.527 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/1.004, allocations: 4 kB / 0.8766 GB, free: 4.523 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/1.004, allocations: 328.9 kB / 0.8769 GB, free: 4.199 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.269e-05/1.004, allocations: 85.02 kB / 0.877 GB, free: 4.098 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/1.005, allocations: 0 / 0.877 GB, free: 4.098 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/1.005, allocations: 11.67 kB / 0.877 GB, free: 4.09 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.177e-05/1.005, allocations: 4 kB / 0.877 GB, free: 4.086 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/1.005, allocations: 0 / 0.877 GB, free: 4.086 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.359e-05/1.005, allocations: 83.22 kB / 0.8771 GB, free: 4.004 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.2e-07/1.005, allocations: 3.938 kB / 0.8771 GB, free: 4 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003091/1.005, allocations: 15.25 kB / 0.8771 GB, free: 3.988 MB / 0.5573 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 () * Number of clocked 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.0001442/1.005, allocations: 118.5 kB / 0.8772 GB, free: 3.867 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001041/1.005, allocations: 42.88 kB / 0.8772 GB, free: 3.832 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/1.005, allocations: 0 / 0.8772 GB, free: 3.832 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.538e-05/1.005, allocations: 19.5 kB / 0.8773 GB, free: 3.816 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/1.006, allocations: 14.59 kB / 0.8773 GB, free: 3.809 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006003/1.006, allocations: 399.7 kB / 0.8777 GB, free: 3.391 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/1.007, allocations: 0.6809 MB / 0.8783 GB, free: 2.684 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 6.036e-05/1.007, allocations: 11.98 kB / 0.8783 GB, free: 2.672 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.09e-05/1.007, allocations: 11.44 kB / 0.8783 GB, free: 2.66 MB / 0.5573 GB Notification: Performance of SimCode: time 2.21e-07/1.007, allocations: 0 / 0.8783 GB, free: 2.66 MB / 0.5573 GB Notification: Performance of Templates: time 0.002618/1.009, allocations: 0.6032 MB / 0.8789 GB, free: 2.078 MB / 0.5573 GB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)