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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 217.1 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.342/1.342, allocations: 230.6 MB / 256.8 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.8636/0.8636, allocations: 145 MB / 458.2 MB, free: 15.57 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck") [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 66.11 kB / 0.6344 GB, free: 6.879 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1541, allocations: 87.88 MB / 0.7202 GB, free: 14.99 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck): time 0.002418/0.1566, allocations: 1.294 MB / 0.7215 GB, free: 13.68 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004146/0.1607, allocations: 3.355 MB / 0.7247 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.928e-05/0.1607, allocations: 0 / 0.7247 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.969e-05/0.1607, allocations: 0 / 0.7247 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.737e-05/0.1608, allocations: 3.938 kB / 0.7247 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005231/0.1613, allocations: 115.5 kB / 0.7248 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.162e-05/0.1614, allocations: 35.89 kB / 0.7249 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.285e-05/0.1614, allocations: 3.938 kB / 0.7249 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.098e-05/0.1615, allocations: 27.92 kB / 0.7249 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.929e-05/0.1615, allocations: 11.98 kB / 0.7249 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.1615, allocations: 4 kB / 0.7249 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002383/0.1618, allocations: 87.73 kB / 0.725 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.1618, allocations: 11.92 kB / 0.725 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.169e-05/0.1618, allocations: 19.92 kB / 0.725 GB, free: 9.988 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.162, allocations: 63.86 kB / 0.7251 GB, free: 9.926 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.162, allocations: 0 / 0.7251 GB, free: 9.926 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.373e-06/0.162, allocations: 0 / 0.7251 GB, free: 9.926 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.162, allocations: 3.938 kB / 0.7251 GB, free: 9.922 MB / 0.545 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.0003989/0.1624, allocations: 270.3 kB / 0.7254 GB, free: 9.629 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.1624, allocations: 12.03 kB / 0.7254 GB, free: 9.617 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.61e-05/0.1625, allocations: 16.88 kB / 0.7254 GB, free: 9.602 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.993e-05/0.1626, allocations: 102.5 kB / 0.7255 GB, free: 9.477 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.1627, allocations: 384 / 0.7255 GB, free: 9.477 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.1627, allocations: 12.36 kB / 0.7255 GB, free: 9.465 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.1628, allocations: 57.73 kB / 0.7256 GB, free: 9.402 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1628, allocations: 0 / 0.7256 GB, free: 9.402 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.1628, allocations: 4 kB / 0.7256 GB, free: 9.398 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.1628, allocations: 4 kB / 0.7256 GB, free: 9.395 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.252e-05/0.1629, allocations: 19.98 kB / 0.7256 GB, free: 9.375 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001687/0.1631, allocations: 136.7 kB / 0.7257 GB, free: 9.199 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.1632, allocations: 50.48 kB / 0.7258 GB, free: 9.141 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.086e-05/0.1632, allocations: 16.86 kB / 0.7258 GB, free: 9.121 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005506/0.1638, allocations: 253.8 kB / 0.726 GB, free: 8.852 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.1638, allocations: 30.56 kB / 0.726 GB, free: 8.812 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.1638, allocations: 0 / 0.726 GB, free: 8.812 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0005558/0.1643, allocations: 217.5 kB / 0.7263 GB, free: 8.566 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.1644, allocations: 55.41 kB / 0.7263 GB, free: 8.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.951e-05/0.1645, allocations: 105.8 kB / 0.7264 GB, free: 8.387 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.1645, allocations: 33.7 kB / 0.7264 GB, free: 8.348 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.693e-05/0.1645, allocations: 84.09 kB / 0.7265 GB, free: 8.262 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.1646, allocations: 31.73 kB / 0.7265 GB, free: 8.23 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.005e-05/0.1646, allocations: 29.72 kB / 0.7266 GB, free: 8.195 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1647, allocations: 322.7 kB / 0.7269 GB, free: 7.871 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.897e-05/0.1648, allocations: 15.94 kB / 0.7269 GB, free: 7.855 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.121e-05/0.1648, allocations: 53.14 kB / 0.7269 GB, free: 7.785 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.741e-05/0.1649, allocations: 73.08 kB / 0.727 GB, free: 7.695 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1649, allocations: 0 / 0.727 GB, free: 7.695 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001422/0.1651, allocations: 97.75 kB / 0.7271 GB, free: 7.594 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.1651, allocations: 11.92 kB / 0.7271 GB, free: 7.582 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1651, allocations: 4 kB / 0.7271 GB, free: 7.578 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.1651, allocations: 48 / 0.7271 GB, free: 7.578 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.921e-05/0.1652, allocations: 27.92 kB / 0.7272 GB, free: 7.551 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1652, allocations: 0 / 0.7272 GB, free: 7.551 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.256e-05/0.1652, allocations: 11.94 kB / 0.7272 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.1652, allocations: 4 kB / 0.7272 GB, free: 7.535 MB / 0.545 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.741e-05/0.1653, allocations: 118 kB / 0.7273 GB, free: 7.41 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.1654, allocations: 4 kB / 0.7273 GB, free: 7.406 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/0.1654, allocations: 8.062 kB / 0.7273 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1654, allocations: 0 / 0.7273 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1654, allocations: 4 kB / 0.7273 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1654, allocations: 3.938 kB / 0.7273 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002461/0.1656, allocations: 140.7 kB / 0.7274 GB, free: 7.211 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1656, allocations: 0 / 0.7274 GB, free: 7.211 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.365e-05/0.1657, allocations: 19.92 kB / 0.7275 GB, free: 7.191 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1657, allocations: 0 / 0.7275 GB, free: 7.191 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.1657, allocations: 8.438 kB / 0.7275 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1657, allocations: 4 kB / 0.7275 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1657, allocations: 0 / 0.7275 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001907/0.1659, allocations: 179.5 kB / 0.7276 GB, free: 6.988 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.358e-05/0.166, allocations: 8.031 kB / 0.7276 GB, free: 6.98 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.166, allocations: 0 / 0.7276 GB, free: 6.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.1661, allocations: 4 kB / 0.7276 GB, free: 6.977 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.115e-05/0.1661, allocations: 11.92 kB / 0.7277 GB, free: 6.965 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.1661, allocations: 11.94 kB / 0.7277 GB, free: 6.953 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.901e-05/0.1661, allocations: 79.22 kB / 0.7277 GB, free: 6.875 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1661, allocations: 0 / 0.7277 GB, free: 6.875 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002338/0.1664, allocations: 16 kB / 0.7278 GB, free: 6.859 MB / 0.545 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.0001564/0.1665, allocations: 99.23 kB / 0.7279 GB, free: 6.754 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001408/0.1667, allocations: 39.92 kB / 0.7279 GB, free: 6.715 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.1667, allocations: 4.25 kB / 0.7279 GB, free: 6.711 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.283e-05/0.1667, allocations: 12 kB / 0.7279 GB, free: 6.699 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.167, allocations: 11.94 kB / 0.7279 GB, free: 6.688 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006863/0.1677, allocations: 352.6 kB / 0.7283 GB, free: 6.309 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.168, allocations: 0.6885 MB / 0.7289 GB, free: 5.594 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.667e-05/0.1681, allocations: 11.44 kB / 0.7289 GB, free: 5.582 MB / 0.545 GB Notification: Performance of SimCode: time 1.232e-06/0.1681, allocations: 0 / 0.7289 GB, free: 5.582 MB / 0.545 GB Notification: Performance of Templates: time 0.002231/0.1703, allocations: 0.7811 MB / 0.7297 GB, free: 4.801 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.21547673502937] Failed to read output from testmodel.py, exit status != 0: 0.1786350291222334 0.19306473099999996 0.028113531 Calling exit ...