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.006977/0.006977, allocations: 101.6 kB / 15.88 MB, free: 5.867 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.001453/0.001453, allocations: 191.4 kB / 16.79 MB, free: 5.809 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.437/1.437, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.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.9603/0.9603, allocations: 143 MB / 433.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 67.89 kB / 0.5141 GB, free: 12.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1557, allocations: 82.03 MB / 0.5943 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002326/0.1581, allocations: 1.337 MB / 0.5956 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00277/0.1609, allocations: 2.499 MB / 0.598 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.041e-05/0.1609, allocations: 0 / 0.598 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.209e-05/0.161, allocations: 3.938 kB / 0.598 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.93e-05/0.1611, allocations: 7.984 kB / 0.598 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004682/0.1615, allocations: 111.5 kB / 0.5981 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.098e-05/0.1616, allocations: 43.83 kB / 0.5982 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.589e-05/0.1616, allocations: 0 / 0.5982 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.056e-05/0.1617, allocations: 15.94 kB / 0.5982 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.489e-05/0.1617, allocations: 19.91 kB / 0.5982 GB, free: 6 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.1618, allocations: 4 kB / 0.5982 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002805/0.162, allocations: 119.7 kB / 0.5983 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.408e-05/0.1621, allocations: 3.984 kB / 0.5983 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.319e-05/0.1621, allocations: 19.92 kB / 0.5983 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.1622, allocations: 56.14 kB / 0.5984 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1623, allocations: 0 / 0.5984 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.01e-07/0.1623, allocations: 0 / 0.5984 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.1623, allocations: 0 / 0.5984 GB, free: 5.801 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.0003855/0.1627, allocations: 351.6 kB / 0.5987 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.1627, allocations: 11.97 kB / 0.5987 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001929/0.1629, allocations: 16.84 kB / 0.5988 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.514e-05/0.163, allocations: 168.3 kB / 0.5989 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.163, allocations: 4.375 kB / 0.5989 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.1631, allocations: 8.375 kB / 0.5989 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.1632, allocations: 76.31 kB / 0.599 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.1632, allocations: 0 / 0.599 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.1632, allocations: 7.938 kB / 0.599 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.1632, allocations: 4 kB / 0.599 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.822e-05/0.1633, allocations: 11.94 kB / 0.599 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005421/0.1638, allocations: 466.8 kB / 0.5995 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.164, allocations: 75.72 kB / 0.5995 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.731e-05/0.164, allocations: 22.64 kB / 0.5996 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.164, allocations: 96 / 0.5996 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.1641, allocations: 42.48 kB / 0.5996 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.1641, allocations: 0 / 0.5996 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005591/0.1646, allocations: 302.5 kB / 0.5999 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/0.1647, allocations: 106.8 kB / 0.6 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.985e-05/0.1648, allocations: 101.8 kB / 0.6001 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.1648, allocations: 29.7 kB / 0.6001 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.692e-05/0.1648, allocations: 88.05 kB / 0.6002 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.1648, allocations: 35.78 kB / 0.6002 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.1649, allocations: 25.72 kB / 0.6003 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.165, allocations: 322.8 kB / 0.6006 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.622e-05/0.165, allocations: 12 kB / 0.6006 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.426e-05/0.1651, allocations: 49.14 kB / 0.6006 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.993e-05/0.1652, allocations: 77.02 kB / 0.6007 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1652, allocations: 0 / 0.6007 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001283/0.1653, allocations: 97.55 kB / 0.6008 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.1653, allocations: 4 kB / 0.6008 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1653, allocations: 128 / 0.6008 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.1654, allocations: 8 kB / 0.6008 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.543e-05/0.1654, allocations: 16 kB / 0.6008 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.1654, allocations: 11.92 kB / 0.6008 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.625e-05/0.1655, allocations: 3.906 kB / 0.6008 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.507e-06/0.1655, allocations: 4 kB / 0.6008 GB, free: 2.93 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.386e-05/0.1656, allocations: 121.7 kB / 0.601 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.906e-05/0.1656, allocations: 8 kB / 0.601 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.5e-05/0.1657, allocations: 7.562 kB / 0.601 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1657, allocations: 8 kB / 0.601 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.1657, allocations: 0 / 0.601 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1657, allocations: 0 / 0.601 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003127/0.166, allocations: 177.5 kB / 0.6011 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.166, allocations: 0 / 0.6011 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.556e-05/0.1661, allocations: 19.98 kB / 0.6012 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1661, allocations: 0 / 0.6012 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.1661, allocations: 4 kB / 0.6012 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1662, allocations: 3.938 kB / 0.6012 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1662, allocations: 4.062 kB / 0.6012 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/0.1664, allocations: 337.9 kB / 0.6015 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.143e-05/0.1664, allocations: 77.11 kB / 0.6016 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.1665, allocations: 8.031 kB / 0.6016 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.1666, allocations: 8 kB / 0.6016 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.596e-05/0.1667, allocations: 3.938 kB / 0.6016 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.1667, allocations: 8.312 kB / 0.6016 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.522e-05/0.1667, allocations: 91.25 kB / 0.6017 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1667, allocations: 0 / 0.6017 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003026/0.167, allocations: 12 kB / 0.6017 GB, free: 1.957 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 (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.0001356/0.1672, allocations: 107.2 kB / 0.6018 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001127/0.1673, allocations: 39.92 kB / 0.6018 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1673, allocations: 4.25 kB / 0.6018 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.772e-05/0.1673, allocations: 23.92 kB / 0.6019 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.1678, allocations: 8 kB / 0.6019 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005921/0.1684, allocations: 371.6 kB / 0.6022 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.1686, allocations: 0.6848 MB / 0.6029 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.352e-05/0.1686, allocations: 15.44 kB / 0.6029 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of SimCode: time 4.31e-07/0.1686, allocations: 0 / 0.6029 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of Templates: time 0.242/0.4106, allocations: 0.7832 MB / 0.6037 GB, free: 43.62 MB / 0.4981 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)