Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.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.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002183/0.002183, allocations: 191.4 kB / 16.25 MB, free: 6.641 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.376/1.376, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.9932/0.9932, allocations: 143 MB / 433.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 59.91 kB / 0.5137 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.16, allocations: 82.04 MB / 0.5938 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck): time 0.002667/0.1627, allocations: 1.329 MB / 0.5951 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003662/0.1664, allocations: 3.221 MB / 0.5982 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.751e-05/0.1664, allocations: 0 / 0.5982 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.214e-05/0.1665, allocations: 3.938 kB / 0.5982 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.477e-05/0.1665, allocations: 7.984 kB / 0.5982 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005743/0.1671, allocations: 99.61 kB / 0.5983 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.213e-05/0.1672, allocations: 47.78 kB / 0.5984 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.79e-05/0.1672, allocations: 0 / 0.5984 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.606e-05/0.1673, allocations: 15.98 kB / 0.5984 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.492e-05/0.1673, allocations: 19.91 kB / 0.5984 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.1674, allocations: 4 kB / 0.5984 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002279/0.1676, allocations: 75.81 kB / 0.5985 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.82e-05/0.1676, allocations: 11.98 kB / 0.5985 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.35e-05/0.1677, allocations: 15.92 kB / 0.5985 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.1678, allocations: 68.14 kB / 0.5986 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.1679, allocations: 0 / 0.5986 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1679, allocations: 3.938 kB / 0.5986 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.1679, allocations: 0 / 0.5986 GB, free: 5.023 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.0004063/0.1683, allocations: 351.4 kB / 0.5989 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.1683, allocations: 8.031 kB / 0.5989 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.1685, allocations: 4.938 kB / 0.5989 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.606e-05/0.1686, allocations: 164.3 kB / 0.5991 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.1686, allocations: 12.38 kB / 0.5991 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.1686, allocations: 8.359 kB / 0.5991 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.1687, allocations: 57.75 kB / 0.5992 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1688, allocations: 0 / 0.5992 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.1688, allocations: 3.984 kB / 0.5992 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1688, allocations: 0 / 0.5992 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.486e-05/0.1689, allocations: 23.92 kB / 0.5992 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001656/0.169, allocations: 161.6 kB / 0.5993 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.665e-05/0.1691, allocations: 54.55 kB / 0.5994 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.035e-05/0.1692, allocations: 16.86 kB / 0.5994 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006924/0.1699, allocations: 0.5987 MB / 0.6 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.1699, allocations: 38.55 kB / 0.6 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.1699, allocations: 0 / 0.6 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005871/0.1705, allocations: 302.2 kB / 0.6003 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.1706, allocations: 55.41 kB / 0.6004 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.623e-05/0.1706, allocations: 97.86 kB / 0.6005 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1707, allocations: 25.7 kB / 0.6005 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/0.1707, allocations: 92.03 kB / 0.6006 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.1707, allocations: 31.62 kB / 0.6006 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.09e-05/0.1708, allocations: 25.7 kB / 0.6006 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.1709, allocations: 322.8 kB / 0.6009 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.836e-05/0.1709, allocations: 15.98 kB / 0.6009 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.001e-05/0.171, allocations: 49.09 kB / 0.601 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.683e-05/0.1711, allocations: 85.19 kB / 0.6011 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1711, allocations: 0 / 0.6011 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001383/0.1712, allocations: 97.45 kB / 0.6012 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.1712, allocations: 8 kB / 0.6012 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1713, allocations: 0 / 0.6012 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1713, allocations: 0 / 0.6012 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.814e-05/0.1714, allocations: 24.11 kB / 0.6012 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1714, allocations: 4 kB / 0.6012 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.077e-05/0.1714, allocations: 7.938 kB / 0.6012 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.1714, allocations: 4 kB / 0.6012 GB, free: 1.906 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.451e-05/0.1715, allocations: 113.8 kB / 0.6013 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.1715, allocations: 4 kB / 0.6013 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.737e-05/0.1716, allocations: 11.91 kB / 0.6013 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.1716, allocations: 4 kB / 0.6013 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1716, allocations: 0 / 0.6013 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.1716, allocations: 11.92 kB / 0.6014 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002274/0.1718, allocations: 169.7 kB / 0.6015 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.1719, allocations: 3.984 kB / 0.6015 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.745e-05/0.1719, allocations: 12 kB / 0.6015 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.172, allocations: 0 / 0.6015 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.172, allocations: 3.938 kB / 0.6015 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.172, allocations: 4.438 kB / 0.6015 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.172, allocations: 0 / 0.6015 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.1722, allocations: 175.3 kB / 0.6017 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.737e-05/0.1722, allocations: 93.14 kB / 0.6018 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.1722, allocations: 4 kB / 0.6018 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.1724, allocations: 4 kB / 0.6018 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.211e-05/0.1724, allocations: 0 / 0.6018 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.1724, allocations: 7.938 kB / 0.6018 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.46e-05/0.1724, allocations: 83.27 kB / 0.6019 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1724, allocations: 0 / 0.6019 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002458/0.1727, allocations: 12 kB / 0.6019 GB, free: 1.109 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001198/0.1728, allocations: 107.2 kB / 0.602 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001166/0.1729, allocations: 48.28 kB / 0.602 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1729, allocations: 0 / 0.602 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.571e-05/0.173, allocations: 15.98 kB / 0.6021 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.1733, allocations: 8 kB / 0.6021 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005904/0.1739, allocations: 338.4 kB / 0.6024 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2403/0.4142, allocations: 0.6851 MB / 0.6031 GB, free: 44.06 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.506e-05/0.4144, allocations: 5.234 kB / 0.6031 GB, free: 44.06 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.863e-05/0.4144, allocations: 10.84 kB / 0.6031 GB, free: 44.05 MB / 0.4981 GB Notification: Performance of SimCode: time 8.12e-07/0.4144, allocations: 0 / 0.6031 GB, free: 44.05 MB / 0.4981 GB Notification: Performance of Templates: time 0.002541/0.4169, allocations: 0.6204 MB / 0.6037 GB, free: 44.04 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1)