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/ModelicaServices 4.0.0+maint.om/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 104.8 kB / 15.99 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 196.6 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8106/0.8106, allocations: 126.1 MB / 416.8 MB, free: 13.01 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 59.91 kB / 0.4945 GB, free: 3.848 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3437, allocations: 78.71 MB / 0.5713 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002426/0.3462, allocations: 1.321 MB / 0.5726 GB, free: 30.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002707/0.3489, allocations: 2.47 MB / 0.575 GB, free: 28.69 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.893e-05/0.3489, allocations: 2.594 kB / 0.575 GB, free: 28.69 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.924e-05/0.349, allocations: 1.875 kB / 0.575 GB, free: 28.69 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.767e-05/0.349, allocations: 8.625 kB / 0.575 GB, free: 28.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004865/0.3495, allocations: 120 kB / 0.5752 GB, free: 28.62 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.118e-05/0.3496, allocations: 30.58 kB / 0.5752 GB, free: 28.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.712e-05/0.3496, allocations: 3.234 kB / 0.5752 GB, free: 28.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.359e-05/0.3497, allocations: 24.91 kB / 0.5752 GB, free: 28.61 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.473e-05/0.3498, allocations: 19.67 kB / 0.5752 GB, free: 28.6 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.3498, allocations: 1.312 kB / 0.5752 GB, free: 28.6 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002768/0.3501, allocations: 115.9 kB / 0.5753 GB, free: 28.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.3501, allocations: 9.688 kB / 0.5753 GB, free: 28.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.863e-05/0.3501, allocations: 12.95 kB / 0.5754 GB, free: 28.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.3503, allocations: 86.22 kB / 0.5754 GB, free: 28.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3503, allocations: 7.875 kB / 0.5755 GB, free: 28.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3503, allocations: 0 / 0.5755 GB, free: 28.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.3504, allocations: 1.438 kB / 0.5755 GB, free: 28.51 MB / 446.1 MB 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.0003041/0.3507, allocations: 356.2 kB / 0.5758 GB, free: 28.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.3507, allocations: 9.875 kB / 0.5758 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000198/0.3509, allocations: 18 kB / 0.5758 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.024e-05/0.351, allocations: 162.4 kB / 0.576 GB, free: 27.94 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.351, allocations: 3.812 kB / 0.576 GB, free: 27.94 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.351, allocations: 8.75 kB / 0.576 GB, free: 27.94 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.3511, allocations: 68.34 kB / 0.576 GB, free: 27.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.3512, allocations: 4.5 kB / 0.5761 GB, free: 27.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.3512, allocations: 7.062 kB / 0.5761 GB, free: 27.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.3512, allocations: 5.109 kB / 0.5761 GB, free: 27.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.817e-05/0.3512, allocations: 7.984 kB / 0.5761 GB, free: 27.86 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004614/0.3517, allocations: 480.8 kB / 0.5765 GB, free: 27.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.3518, allocations: 73.16 kB / 0.5766 GB, free: 27.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.278e-05/0.3519, allocations: 28.05 kB / 0.5766 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.3519, allocations: 2.375 kB / 0.5766 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.332e-05/0.3519, allocations: 34.45 kB / 0.5767 GB, free: 27.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.3519, allocations: 0.5312 kB / 0.5767 GB, free: 27.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005683/0.3525, allocations: 298.2 kB / 0.5769 GB, free: 26.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.3525, allocations: 110.3 kB / 0.5771 GB, free: 26.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.171e-05/0.3526, allocations: 100.8 kB / 0.5771 GB, free: 26.72 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.3526, allocations: 27.45 kB / 0.5772 GB, free: 26.69 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.921e-05/0.3526, allocations: 86.98 kB / 0.5773 GB, free: 26.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.3527, allocations: 32.27 kB / 0.5773 GB, free: 26.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.839e-05/0.3527, allocations: 29.41 kB / 0.5773 GB, free: 26.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.114e-05/0.3528, allocations: 317.6 kB / 0.5776 GB, free: 26.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.06e-05/0.3528, allocations: 14.34 kB / 0.5776 GB, free: 26.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.166e-05/0.3528, allocations: 58.78 kB / 0.5777 GB, free: 26.17 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.445e-05/0.3529, allocations: 71.55 kB / 0.5778 GB, free: 26.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3529, allocations: 0 / 0.5778 GB, free: 26.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001261/0.3531, allocations: 96.88 kB / 0.5779 GB, free: 26.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.3531, allocations: 5.5 kB / 0.5779 GB, free: 26.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.3531, allocations: 2.188 kB / 0.5779 GB, free: 26.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.3531, allocations: 3.406 kB / 0.5779 GB, free: 26.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.917e-05/0.3532, allocations: 24.33 kB / 0.5779 GB, free: 26.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.3532, allocations: 2.125 kB / 0.5779 GB, free: 26.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.084e-05/0.3533, allocations: 6.75 kB / 0.5779 GB, free: 26.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.3533, allocations: 4.125 kB / 0.5779 GB, free: 26.05 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.814e-05/0.3533, allocations: 122.8 kB / 0.578 GB, free: 25.92 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.815e-05/0.3534, allocations: 2.75 kB / 0.578 GB, free: 25.92 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.006e-05/0.3534, allocations: 18.55 kB / 0.578 GB, free: 25.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.3534, allocations: 3.438 kB / 0.578 GB, free: 25.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.3534, allocations: 0.875 kB / 0.578 GB, free: 25.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3535, allocations: 1.375 kB / 0.578 GB, free: 25.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003091/0.3538, allocations: 182.5 kB / 0.5782 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.3538, allocations: 4.844 kB / 0.5782 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.065e-05/0.3539, allocations: 15.72 kB / 0.5782 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3539, allocations: 1.375 kB / 0.5782 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.3539, allocations: 1.984 kB / 0.5782 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.3539, allocations: 0 / 0.5782 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3539, allocations: 2.5 kB / 0.5782 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.3541, allocations: 333 kB / 0.5786 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.578e-05/0.3542, allocations: 82.64 kB / 0.5786 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.3542, allocations: 6.031 kB / 0.5786 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.3544, allocations: 4.797 kB / 0.5786 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.16e-05/0.3544, allocations: 5.672 kB / 0.5787 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.3544, allocations: 11.48 kB / 0.5787 GB, free: 25.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.541e-05/0.3544, allocations: 78.69 kB / 0.5787 GB, free: 25.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3545, allocations: 0.5312 kB / 0.5787 GB, free: 25.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003275/0.3548, allocations: 16.09 kB / 0.5788 GB, free: 25.21 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001134/0.3549, allocations: 106.7 kB / 0.5789 GB, free: 25.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001166/0.355, allocations: 53.03 kB / 0.5789 GB, free: 25.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.355, allocations: 1.375 kB / 0.5789 GB, free: 25.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.577e-05/0.3551, allocations: 25.8 kB / 0.5789 GB, free: 25.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004594/0.3555, allocations: 9.203 kB / 0.5789 GB, free: 25.08 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005734/0.3561, allocations: 349.2 kB / 0.5793 GB, free: 24.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.3562, allocations: 0.6837 MB / 0.5799 GB, free: 24.13 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.663e-05/0.3563, allocations: 12.42 kB / 0.58 GB, free: 24.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.391e-05/0.3563, allocations: 11.56 kB / 0.58 GB, free: 24.12 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3563, allocations: 0 / 0.58 GB, free: 24.12 MB / 446.1 MB Notification: Performance of Templates: time 0.002868/0.3592, allocations: 0.6404 MB / 0.5806 GB, free: 24.05 MB / 446.1 MB 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)