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.001461/0.001461, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.00159/0.001591, allocations: 193.1 kB / 16.13 MB, free: 6.672 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.385/1.385, allocations: 222.9 MB / 239.8 MB, free: 4.598 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 1.077/1.077, allocations: 143 MB / 433 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 67.91 kB / 0.5135 GB, free: 12.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.164, allocations: 82.03 MB / 0.5936 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck): time 0.002381/0.1665, allocations: 1.337 MB / 0.5949 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003444/0.1699, allocations: 3.225 MB / 0.598 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.01e-05/0.17, allocations: 0 / 0.598 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.873e-05/0.17, allocations: 0 / 0.598 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.476e-05/0.1701, allocations: 3.938 kB / 0.598 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004314/0.1705, allocations: 99.61 kB / 0.5981 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.691e-05/0.1706, allocations: 39.84 kB / 0.5982 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.091e-05/0.1706, allocations: 7.984 kB / 0.5982 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.439e-05/0.1707, allocations: 19.94 kB / 0.5982 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.995e-05/0.1707, allocations: 15.92 kB / 0.5982 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.1707, allocations: 4 kB / 0.5982 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002063/0.171, allocations: 71.8 kB / 0.5983 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.49e-05/0.171, allocations: 7.984 kB / 0.5983 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.562e-05/0.171, allocations: 15.92 kB / 0.5983 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.1712, allocations: 72.12 kB / 0.5984 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1712, allocations: 3.938 kB / 0.5984 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.22e-07/0.1712, allocations: 0 / 0.5984 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.1712, allocations: 4 kB / 0.5984 GB, free: 5.188 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.0003739/0.1716, allocations: 351.4 kB / 0.5987 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.1716, allocations: 12.03 kB / 0.5987 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.283e-05/0.1717, allocations: 4.938 kB / 0.5987 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.1718, allocations: 168.3 kB / 0.5989 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.1719, allocations: 8.375 kB / 0.5989 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.1719, allocations: 384 / 0.5989 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.172, allocations: 65.8 kB / 0.599 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.172, allocations: 4 kB / 0.599 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.1721, allocations: 0 / 0.599 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.1721, allocations: 0 / 0.599 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.235e-05/0.1721, allocations: 23.95 kB / 0.599 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001774/0.1723, allocations: 165.6 kB / 0.5992 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.864e-05/0.1724, allocations: 50.5 kB / 0.5992 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.255e-05/0.1724, allocations: 20.84 kB / 0.5992 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006527/0.1731, allocations: 0.5948 MB / 0.5998 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.1731, allocations: 34.56 kB / 0.5998 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.1732, allocations: 0 / 0.5998 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005335/0.1737, allocations: 302.2 kB / 0.6001 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.1737, allocations: 59.41 kB / 0.6002 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.326e-05/0.1738, allocations: 101.8 kB / 0.6003 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001365/0.1739, allocations: 25.7 kB / 0.6003 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.774e-05/0.174, allocations: 84.05 kB / 0.6004 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.174, allocations: 31.55 kB / 0.6004 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/0.1741, allocations: 25.72 kB / 0.6004 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1742, allocations: 322.8 kB / 0.6008 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.58e-05/0.1742, allocations: 8 kB / 0.6008 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.657e-05/0.1743, allocations: 57.14 kB / 0.6008 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.342e-05/0.1744, allocations: 73.08 kB / 0.6009 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1744, allocations: 4 kB / 0.6009 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001302/0.1745, allocations: 93.45 kB / 0.601 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.1745, allocations: 5.719 kB / 0.601 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.1745, allocations: 4 kB / 0.601 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.1746, allocations: 3.938 kB / 0.601 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-05/0.1746, allocations: 20 kB / 0.601 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.1746, allocations: 7.984 kB / 0.601 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.675e-05/0.1747, allocations: 3.938 kB / 0.601 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-06/0.1747, allocations: 8.125 kB / 0.601 GB, free: 2.078 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.804e-05/0.1748, allocations: 121.7 kB / 0.6011 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.1748, allocations: 7.938 kB / 0.6012 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.901e-05/0.1749, allocations: 7.969 kB / 0.6012 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1749, allocations: 0 / 0.6012 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1749, allocations: 0 / 0.6012 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.1749, allocations: 8.375 kB / 0.6012 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002283/0.1751, allocations: 173.7 kB / 0.6013 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1751, allocations: 4 kB / 0.6013 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.722e-05/0.1752, allocations: 24.27 kB / 0.6014 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1752, allocations: 0 / 0.6014 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.1752, allocations: 0 / 0.6014 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1753, allocations: 0 / 0.6014 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1753, allocations: 4 kB / 0.6014 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.1754, allocations: 179.3 kB / 0.6015 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.617e-05/0.1755, allocations: 81.11 kB / 0.6016 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.1755, allocations: 0 / 0.6016 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.1756, allocations: 12.03 kB / 0.6016 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.88e-05/0.1757, allocations: 4 kB / 0.6016 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.1757, allocations: 3.938 kB / 0.6016 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.111e-05/0.1757, allocations: 79.28 kB / 0.6017 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1757, allocations: 0 / 0.6017 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002312/0.1759, allocations: 16 kB / 0.6017 GB, free: 1.273 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.0001435/0.1761, allocations: 103.2 kB / 0.6018 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001258/0.1762, allocations: 47.91 kB / 0.6019 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1762, allocations: 0 / 0.6019 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.573e-05/0.1763, allocations: 19.94 kB / 0.6019 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.1766, allocations: 7.984 kB / 0.6019 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005856/0.1772, allocations: 332.4 kB / 0.6022 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.1774, allocations: 0.6848 MB / 0.6029 GB, free: 24 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.159e-05/0.1775, allocations: 8 kB / 0.6029 GB, free: 16 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.485e-05/0.1775, allocations: 11.44 kB / 0.6029 GB, free: 4 kB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1775, allocations: 0 / 0.6029 GB, free: 4 kB / 0.4981 GB Notification: Performance of Templates: time 0.2445/0.4221, allocations: 0.5966 MB / 0.6035 GB, free: 44.16 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)