Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.001603/0.001603, allocations: 103.8 kB / 16.4 MB, free: 6.508 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.001804/0.001804, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9197/0.9197, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 63.75 kB / 0.5962 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1633, allocations: 82.03 MB / 0.6763 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002407/0.1657, allocations: 1.266 MB / 0.6775 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003025/0.1688, allocations: 2.511 MB / 0.68 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.555e-05/0.1688, allocations: 4 kB / 0.68 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.741e-05/0.1689, allocations: 3.938 kB / 0.68 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.797e-05/0.1689, allocations: 0 / 0.68 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006062/0.1696, allocations: 131.4 kB / 0.6801 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.817e-05/0.1696, allocations: 35.84 kB / 0.6801 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.91e-05/0.1697, allocations: 11.97 kB / 0.6802 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.237e-05/0.1697, allocations: 12 kB / 0.6802 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.274e-05/0.1698, allocations: 23.91 kB / 0.6802 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.1698, allocations: 3.938 kB / 0.6802 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003204/0.1702, allocations: 115.7 kB / 0.6803 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.1702, allocations: 7.984 kB / 0.6803 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.546e-05/0.1702, allocations: 19.92 kB / 0.6803 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.1704, allocations: 83.78 kB / 0.6804 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1705, allocations: 4 kB / 0.6804 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.043e-06/0.1705, allocations: 0 / 0.6804 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.1705, allocations: 0 / 0.6804 GB, free: 6.121 MB / 0.5137 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.0004549/0.1709, allocations: 347.5 kB / 0.6807 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.171, allocations: 12.03 kB / 0.6808 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002341/0.1712, allocations: 16.83 kB / 0.6808 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.1713, allocations: 164.3 kB / 0.6809 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.1714, allocations: 8.375 kB / 0.6809 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.1714, allocations: 4.375 kB / 0.6809 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.1716, allocations: 84.3 kB / 0.681 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.1716, allocations: 0 / 0.681 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.1716, allocations: 0 / 0.681 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.1716, allocations: 0 / 0.681 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.823e-05/0.1717, allocations: 19.92 kB / 0.681 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006386/0.1723, allocations: 466.9 kB / 0.6815 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.1725, allocations: 67.66 kB / 0.6815 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.254e-05/0.1725, allocations: 22.7 kB / 0.6816 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.1725, allocations: 4 kB / 0.6816 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.1726, allocations: 42.5 kB / 0.6816 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.433e-06/0.1726, allocations: 0 / 0.6816 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0006577/0.1732, allocations: 306.2 kB / 0.6819 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.1733, allocations: 107.1 kB / 0.682 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.736e-05/0.1734, allocations: 101.8 kB / 0.6821 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.1734, allocations: 29.7 kB / 0.6821 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.155e-05/0.1735, allocations: 88.05 kB / 0.6822 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.1735, allocations: 27.55 kB / 0.6822 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.134e-05/0.1735, allocations: 25.72 kB / 0.6823 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.1737, allocations: 318.8 kB / 0.6826 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.231e-05/0.1737, allocations: 19.98 kB / 0.6826 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.921e-05/0.1737, allocations: 49.14 kB / 0.6826 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.1739, allocations: 77.55 kB / 0.6827 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1739, allocations: 0 / 0.6827 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001467/0.174, allocations: 93.53 kB / 0.6828 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.174, allocations: 8 kB / 0.6828 GB, free: 3.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1741, allocations: 0 / 0.6828 GB, free: 3.301 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.1741, allocations: 7.938 kB / 0.6828 GB, free: 3.293 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.848e-05/0.1742, allocations: 19.98 kB / 0.6828 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.1742, allocations: 3.938 kB / 0.6828 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.044e-05/0.1742, allocations: 8.125 kB / 0.6828 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.1742, allocations: 8 kB / 0.6829 GB, free: 3.254 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.819e-05/0.1743, allocations: 122.4 kB / 0.683 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.355e-05/0.1744, allocations: 11.89 kB / 0.683 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.201e-05/0.1744, allocations: 7.562 kB / 0.683 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1744, allocations: 0 / 0.683 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1744, allocations: 4 kB / 0.683 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.1745, allocations: 0 / 0.683 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003351/0.1748, allocations: 177.6 kB / 0.6832 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1748, allocations: 0 / 0.6832 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.674e-05/0.1749, allocations: 23.98 kB / 0.6832 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1749, allocations: 0 / 0.6832 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.1749, allocations: 4 kB / 0.6832 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.1749, allocations: 4 kB / 0.6832 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1749, allocations: 3.938 kB / 0.6832 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.1752, allocations: 326.1 kB / 0.6835 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.083e-05/0.1752, allocations: 81.02 kB / 0.6836 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.1753, allocations: 12.06 kB / 0.6836 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.1754, allocations: 0 / 0.6836 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.963e-05/0.1755, allocations: 7.984 kB / 0.6836 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.1755, allocations: 7.938 kB / 0.6836 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.665e-05/0.1755, allocations: 79.28 kB / 0.6837 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.2e-07/0.1755, allocations: 3.938 kB / 0.6837 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003165/0.1758, allocations: 12 kB / 0.6837 GB, free: 2.293 MB / 0.5137 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 (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.0001294/0.176, allocations: 115.3 kB / 0.6838 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001199/0.1761, allocations: 39.92 kB / 0.6839 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.1761, allocations: 4 kB / 0.6839 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.411e-05/0.1761, allocations: 11.94 kB / 0.6839 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.1766, allocations: 17.45 kB / 0.6839 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000643/0.1772, allocations: 373.4 kB / 0.6842 GB, free: 1.699 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.1775, allocations: 0.6846 MB / 0.6849 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.1776, allocations: 11.44 kB / 0.6849 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of SimCode: time 1.623e-06/0.1776, allocations: 0 / 0.6849 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of Templates: time 0.002256/0.1798, allocations: 0.7952 MB / 0.6857 GB, free: 188 kB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)