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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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.001131/0.001132, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4887/0.4887, allocations: 90.81 MB / 104.5 MB, free: 9.793 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.401/1.401, allocations: 221.3 MB / 348.3 MB, free: 436 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009613/0.0009613, allocations: 99.23 kB / 421.2 MB, free: 5.445 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.459e-05/2.46e-05, allocations: 0 / 0.4896 GB, free: 5.344 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3756, allocations: 72.31 MB / 0.5602 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5841/0.9597, allocations: 313.4 MB / 0.8663 GB, free: 3.781 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/0.96, allocations: 79.89 kB / 0.8663 GB, free: 3.738 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.0183/0.9783, allocations: 8.25 MB / 0.8744 GB, free: 13.09 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.282e-06/0.9784, allocations: 0 / 0.8744 GB, free: 13.09 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.9784, allocations: 0 / 0.8744 GB, free: 13.09 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.0002849/0.9787, allocations: 354 kB / 0.8747 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.9787, allocations: 11.98 kB / 0.8747 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001771/0.9789, allocations: 19.86 kB / 0.8748 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.014e-05/0.979, allocations: 167 kB / 0.8749 GB, free: 12.47 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.979, allocations: 3.438 kB / 0.8749 GB, free: 12.47 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.979, allocations: 4 kB / 0.8749 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.9792, allocations: 63.45 kB / 0.875 GB, free: 12.39 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.9792, allocations: 8 kB / 0.875 GB, free: 12.39 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.9792, allocations: 0 / 0.875 GB, free: 12.39 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.9792, allocations: 0 / 0.875 GB, free: 12.39 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.304e-05/0.9793, allocations: 19.52 kB / 0.875 GB, free: 12.37 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005694/0.9798, allocations: 465.8 kB / 0.8755 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.98, allocations: 75.03 kB / 0.8755 GB, free: 11.77 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.867e-05/0.98, allocations: 26.45 kB / 0.8756 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.98, allocations: 7.984 kB / 0.8756 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.9801, allocations: 34.56 kB / 0.8756 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.9801, allocations: 0 / 0.8756 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7): time 0.00053/0.9806, allocations: 296.1 kB / 0.8759 GB, free: 11.36 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.9807, allocations: 106.8 kB / 0.876 GB, free: 11.23 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.161e-05/0.9807, allocations: 96.73 kB / 0.8761 GB, free: 11.13 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.9807, allocations: 29.77 kB / 0.8761 GB, free: 11.1 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.232e-05/0.9808, allocations: 91.66 kB / 0.8762 GB, free: 11.01 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.9808, allocations: 28.81 kB / 0.8762 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/0.9808, allocations: 0 / 0.8762 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.583e-05/0.9809, allocations: 322.5 kB / 0.8765 GB, free: 10.66 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.451e-05/0.9809, allocations: 11.88 kB / 0.8765 GB, free: 10.66 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.593e-05/0.981, allocations: 48.78 kB / 0.8766 GB, free: 10.59 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.898e-05/0.981, allocations: 27.3 kB / 0.8766 GB, free: 10.57 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.981, allocations: 0 / 0.8766 GB, free: 10.57 MB / 0.5573 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001238/0.9812, allocations: 88.3 kB / 0.8767 GB, free: 10.49 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.9812, allocations: 11.95 kB / 0.8767 GB, free: 10.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.9812, allocations: 4.125 kB / 0.8767 GB, free: 10.47 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.9812, allocations: 4 kB / 0.8767 GB, free: 10.47 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.228e-05/0.9813, allocations: 19.88 kB / 0.8767 GB, free: 10.45 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.9813, allocations: 7.984 kB / 0.8767 GB, free: 10.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.557e-05/0.9814, allocations: 8 kB / 0.8767 GB, free: 10.44 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.9814, allocations: 6.344 kB / 0.8768 GB, free: 10.43 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 () * 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 7.387e-05/0.9814, allocations: 104.7 kB / 0.8769 GB, free: 10.33 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.46e-05/0.9815, allocations: 8.844 kB / 0.8769 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.655e-05/0.9816, allocations: 14.89 kB / 0.8769 GB, free: 10.31 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.9816, allocations: 4 kB / 0.8769 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.9816, allocations: 0 / 0.8769 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.9816, allocations: 0 / 0.8769 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002975/0.9819, allocations: 177.4 kB / 0.877 GB, free: 10.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.9819, allocations: 0 / 0.877 GB, free: 10.09 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.151e-05/0.982, allocations: 15.98 kB / 0.8771 GB, free: 10.07 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.982, allocations: 4.469 kB / 0.8771 GB, free: 10.07 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.982, allocations: 3.938 kB / 0.8771 GB, free: 10.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.982, allocations: 4.797 kB / 0.8771 GB, free: 10.06 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.982, allocations: 0 / 0.8771 GB, free: 10.06 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.9823, allocations: 351.6 kB / 0.8774 GB, free: 9.703 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.546e-05/0.9823, allocations: 88.97 kB / 0.8775 GB, free: 9.602 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.9824, allocations: 7.984 kB / 0.8775 GB, free: 9.594 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.9825, allocations: 3.984 kB / 0.8775 GB, free: 9.59 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.604e-05/0.9825, allocations: 11.94 kB / 0.8775 GB, free: 9.578 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.9825, allocations: 10.31 kB / 0.8775 GB, free: 9.574 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.02e-05/0.9826, allocations: 75.28 kB / 0.8776 GB, free: 9.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9826, allocations: 0 / 0.8776 GB, free: 9.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002725/0.9829, allocations: 19.75 kB / 0.8776 GB, free: 9.484 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 () * 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.0001306/0.983, allocations: 111.2 kB / 0.8777 GB, free: 9.367 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 9.711e-05/0.9831, allocations: 42.69 kB / 0.8778 GB, free: 9.332 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.9831, allocations: 0 / 0.8778 GB, free: 9.332 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.651e-05/0.9832, allocations: 19.5 kB / 0.8778 GB, free: 9.316 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.9834, allocations: 14.12 kB / 0.8778 GB, free: 9.309 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004699/0.9838, allocations: 294.9 kB / 0.8781 GB, free: 9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.9841, allocations: 0.6809 MB / 0.8787 GB, free: 8.293 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.192e-05/0.9841, allocations: 11.98 kB / 0.8788 GB, free: 8.281 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.869e-05/0.9842, allocations: 11.44 kB / 0.8788 GB, free: 8.27 MB / 0.5573 GB Notification: Performance of SimCode: time 2.31e-07/0.9842, allocations: 0 / 0.8788 GB, free: 8.27 MB / 0.5573 GB Notification: Performance of Templates: time 0.002337/0.9865, allocations: 0.5983 MB / 0.8793 GB, free: 7.695 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)