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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(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.001197/0.001197, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001472/0.001472, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 223.2 MB / 239.9 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.071/1.071, allocations: 143.3 MB / 434.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002878/0.0002878, allocations: 8 kB / 0.5158 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1706, allocations: 83.4 MB / 0.5973 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001568/0.1722, allocations: 0.9736 MB / 0.5982 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003193/0.1755, allocations: 1.881 MB / 0.6001 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.655e-05/0.1755, allocations: 4 kB / 0.6001 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.823e-05/0.1756, allocations: 0 / 0.6001 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.934e-05/0.1756, allocations: 7.984 kB / 0.6001 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000564/0.1762, allocations: 111.7 kB / 0.6002 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.944e-05/0.1763, allocations: 23.95 kB / 0.6002 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.622e-05/0.1763, allocations: 4 kB / 0.6002 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.44e-05/0.1764, allocations: 19.92 kB / 0.6002 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.095e-05/0.1765, allocations: 19.97 kB / 0.6002 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.1765, allocations: 0 / 0.6002 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003619/0.1769, allocations: 107.8 kB / 0.6003 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.816e-05/0.1769, allocations: 11.94 kB / 0.6004 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.21e-05/0.1769, allocations: 33.7 kB / 0.6004 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.1771, allocations: 52.14 kB / 0.6004 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.1771, allocations: 0 / 0.6004 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.442e-06/0.1771, allocations: 0 / 0.6004 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.1771, allocations: 0 / 0.6004 GB, free: 4.562 MB / 0.4981 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.000396/0.1775, allocations: 339.4 kB / 0.6008 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.1776, allocations: 8.031 kB / 0.6008 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000321/0.1779, allocations: 19.84 kB / 0.6008 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.1781, allocations: 163 kB / 0.6009 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.1781, allocations: 8 kB / 0.601 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.1781, allocations: 8 kB / 0.601 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.1783, allocations: 80.16 kB / 0.601 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.1783, allocations: 0 / 0.601 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.1783, allocations: 0 / 0.601 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.1783, allocations: 4 kB / 0.601 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.645e-05/0.1784, allocations: 11.89 kB / 0.6011 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000684/0.1791, allocations: 466.9 kB / 0.6015 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.1793, allocations: 75.66 kB / 0.6016 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-06/0.1793, allocations: 3.938 kB / 0.6016 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.1793, allocations: 46.7 kB / 0.6016 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 3.196e-06/0.1793, allocations: 0 / 0.6016 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0007154/0.1801, allocations: 294.4 kB / 0.6019 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/0.1801, allocations: 114.8 kB / 0.602 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.254e-05/0.1802, allocations: 101.8 kB / 0.6021 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.1803, allocations: 29.7 kB / 0.6021 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.971e-05/0.1803, allocations: 92.03 kB / 0.6022 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.1804, allocations: 27.55 kB / 0.6022 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-06/0.1804, allocations: 4 kB / 0.6023 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.1805, allocations: 314.8 kB / 0.6026 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.976e-05/0.1806, allocations: 19.98 kB / 0.6026 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.128e-05/0.1807, allocations: 49.14 kB / 0.6026 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.473e-05/0.1807, allocations: 19.94 kB / 0.6026 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.84e-06/0.1807, allocations: 4 kB / 0.6026 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001823/0.1809, allocations: 94.16 kB / 0.6027 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.1809, allocations: 4 kB / 0.6027 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.181, allocations: 3.953 kB / 0.6027 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.181, allocations: 4 kB / 0.6027 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.1811, allocations: 19.98 kB / 0.6028 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.1811, allocations: 4 kB / 0.6028 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.041e-05/0.1812, allocations: 4.062 kB / 0.6028 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.1812, allocations: 8 kB / 0.6028 GB, free: 1.836 MB / 0.4981 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 0.000108/0.1813, allocations: 124.5 kB / 0.6029 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.861e-05/0.1814, allocations: 7.906 kB / 0.6029 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.34e-05/0.1815, allocations: 7.562 kB / 0.6029 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.1815, allocations: 7.938 kB / 0.6029 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1815, allocations: 4 kB / 0.6029 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.1815, allocations: 3.984 kB / 0.6029 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004774/0.182, allocations: 165.7 kB / 0.6031 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.182, allocations: 7.922 kB / 0.6031 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.1821, allocations: 20 kB / 0.6031 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.1822, allocations: 0 / 0.6031 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.1822, allocations: 4 kB / 0.6031 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.1822, allocations: 4 kB / 0.6031 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.1822, allocations: 3.953 kB / 0.6031 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000307/0.1825, allocations: 353.4 kB / 0.6035 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.608e-05/0.1826, allocations: 89.09 kB / 0.6035 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.1826, allocations: 4 kB / 0.6035 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002563/0.1829, allocations: 0 / 0.6035 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.924e-05/0.1829, allocations: 8 kB / 0.6036 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.1829, allocations: 11.92 kB / 0.6036 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.81e-05/0.183, allocations: 75.28 kB / 0.6036 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.183, allocations: 4 kB / 0.6036 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004965/0.1835, allocations: 12 kB / 0.6037 GB, free: 0.8359 MB / 0.4981 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.0001574/0.1837, allocations: 111.2 kB / 0.6038 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001337/0.1838, allocations: 39.92 kB / 0.6038 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1838, allocations: 0 / 0.6038 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.902e-05/0.1839, allocations: 23.92 kB / 0.6038 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.1843, allocations: 4 kB / 0.6038 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007933/0.1851, allocations: 401 kB / 0.6042 GB, free: 228 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2557/0.4408, allocations: 0.689 MB / 0.6049 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001077/0.441, allocations: 9.109 kB / 0.6049 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.276e-05/0.441, allocations: 10.75 kB / 0.6049 GB, free: 40.28 MB / 0.4981 GB Notification: Performance of SimCode: time 1.753e-06/0.441, allocations: 0 / 0.6049 GB, free: 40.28 MB / 0.4981 GB Notification: Performance of Templates: time 0.002685/0.4437, allocations: 0.5851 MB / 0.6055 GB, free: 40.28 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: