Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.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.00127/0.00127, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00142/0.00142, allocations: 222.9 kB / 23 MB, free: 4.91 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.346/1.346, allocations: 230.6 MB / 256.8 MB, free: 7.836 MB / 206.1 MB " [Timeout remaining time 178] 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.8818/0.8818, allocations: 145 MB / 458.2 MB, free: 15.31 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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") [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.001993/0.001993, allocations: 71.17 kB / 0.6343 GB, free: 6.285 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1612, allocations: 87.89 MB / 0.7201 GB, free: 14.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006079/0.1672, allocations: 3.91 MB / 0.7239 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000208/0.1674, allocations: 135.5 kB / 0.7241 GB, free: 10.33 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.8e-05/0.1675, allocations: 0 / 0.7241 GB, free: 10.33 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.1676, allocations: 7.922 kB / 0.7241 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.096e-05/0.1677, allocations: 11.92 kB / 0.7241 GB, free: 10.31 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003685/0.168, allocations: 90.98 kB / 0.7242 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.28e-05/0.1681, allocations: 35.86 kB / 0.7242 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.965e-05/0.1682, allocations: 0 / 0.7242 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.055e-05/0.1682, allocations: 15.97 kB / 0.7242 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.325e-05/0.1683, allocations: 11.94 kB / 0.7242 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.1683, allocations: 0 / 0.7242 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001862/0.1685, allocations: 63.8 kB / 0.7243 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.99e-05/0.1685, allocations: 3.984 kB / 0.7243 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.977e-05/0.1685, allocations: 8 kB / 0.7243 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.1687, allocations: 71.73 kB / 0.7244 GB, free: 10.02 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1687, allocations: 0 / 0.7244 GB, free: 10.02 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1687, allocations: 0 / 0.7244 GB, free: 10.02 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.347e-06/0.1687, allocations: 0 / 0.7244 GB, free: 10.02 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004022/0.1691, allocations: 262.3 kB / 0.7246 GB, free: 9.734 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.1691, allocations: 8.031 kB / 0.7246 GB, free: 9.727 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.399e-05/0.1691, allocations: 0.9375 kB / 0.7246 GB, free: 9.727 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.1693, allocations: 110.5 kB / 0.7247 GB, free: 9.594 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.65e-05/0.1693, allocations: 51.97 kB / 0.7248 GB, free: 9.531 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.1694, allocations: 4.375 kB / 0.7248 GB, free: 9.527 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.1695, allocations: 79.31 kB / 0.7249 GB, free: 9.438 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.1695, allocations: 0 / 0.7249 GB, free: 9.438 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/0.1695, allocations: 0 / 0.7249 GB, free: 9.438 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-05/0.1695, allocations: 0 / 0.7249 GB, free: 9.438 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.374e-05/0.1696, allocations: 19.92 kB / 0.7249 GB, free: 9.418 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003812/0.17, allocations: 212.5 kB / 0.7251 GB, free: 9.18 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.851e-05/0.17, allocations: 18.58 kB / 0.7251 GB, free: 9.152 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.68e-05/0.17, allocations: 12.86 kB / 0.7251 GB, free: 9.137 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.854e-05/0.1701, allocations: 4 kB / 0.7251 GB, free: 9.133 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.1701, allocations: 34.56 kB / 0.7252 GB, free: 9.09 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.1701, allocations: 4 kB / 0.7252 GB, free: 9.086 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001405/0.1703, allocations: 37.62 kB / 0.7252 GB, free: 9.043 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.1703, allocations: 51.41 kB / 0.7252 GB, free: 8.98 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.982e-05/0.1704, allocations: 101.9 kB / 0.7253 GB, free: 8.871 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.1704, allocations: 25.7 kB / 0.7254 GB, free: 8.84 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.628e-05/0.1704, allocations: 96.02 kB / 0.7255 GB, free: 8.742 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.855e-06/0.1705, allocations: 7.953 kB / 0.7255 GB, free: 8.734 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.1705, allocations: 13.72 kB / 0.7255 GB, free: 8.715 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1706, allocations: 314.8 kB / 0.7258 GB, free: 8.398 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.89e-05/0.1707, allocations: 8.109 kB / 0.7258 GB, free: 8.391 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.507e-05/0.1707, allocations: 21.72 kB / 0.7258 GB, free: 8.363 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.788e-05/0.1707, allocations: 21.66 kB / 0.7258 GB, free: 8.336 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1707, allocations: 0 / 0.7258 GB, free: 8.336 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.168e-05/0.1708, allocations: 53.62 kB / 0.7259 GB, free: 8.277 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.1708, allocations: 4 kB / 0.7259 GB, free: 8.273 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1708, allocations: 0 / 0.7259 GB, free: 8.273 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.1708, allocations: 0 / 0.7259 GB, free: 8.273 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.331e-05/0.1709, allocations: 8 kB / 0.7259 GB, free: 8.266 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.1709, allocations: 4.062 kB / 0.7259 GB, free: 8.262 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.929e-05/0.1709, allocations: 3.984 kB / 0.7259 GB, free: 8.258 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.1709, allocations: 0 / 0.7259 GB, free: 8.258 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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.544e-05/0.171, allocations: 120.8 kB / 0.726 GB, free: 8.133 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.359e-05/0.171, allocations: 0 / 0.726 GB, free: 8.133 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000114/0.1711, allocations: 124.9 kB / 0.7261 GB, free: 8.004 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-05/0.1712, allocations: 184.2 kB / 0.7263 GB, free: 7.816 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.954e-05/0.1713, allocations: 176.3 kB / 0.7265 GB, free: 7.637 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.013e-05/0.1714, allocations: 180.2 kB / 0.7267 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002562/0.1716, allocations: 368.8 kB / 0.727 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.456e-05/0.1717, allocations: 112.9 kB / 0.7271 GB, free: 6.938 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.178e-05/0.1717, allocations: 101 kB / 0.7272 GB, free: 6.832 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.217e-05/0.1718, allocations: 176.3 kB / 0.7274 GB, free: 6.652 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.734e-05/0.1719, allocations: 184.2 kB / 0.7276 GB, free: 6.465 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.343e-05/0.172, allocations: 180.2 kB / 0.7277 GB, free: 6.281 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.355e-05/0.172, allocations: 188.1 kB / 0.7279 GB, free: 6.09 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.1722, allocations: 303.8 kB / 0.7282 GB, free: 5.77 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.416e-05/0.1723, allocations: 108.9 kB / 0.7283 GB, free: 5.656 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.712e-05/0.1724, allocations: 184.2 kB / 0.7285 GB, free: 5.469 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.1725, allocations: 112.9 kB / 0.7286 GB, free: 5.352 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.569e-05/0.1726, allocations: 180.5 kB / 0.7288 GB, free: 5.168 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.553e-05/0.1727, allocations: 105 kB / 0.7289 GB, free: 5.059 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.004e-05/0.1727, allocations: 83.28 kB / 0.7289 GB, free: 4.977 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1727, allocations: 0 / 0.7289 GB, free: 4.977 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002562/0.173, allocations: 23.88 kB / 0.729 GB, free: 4.953 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0001884/0.1732, allocations: 190.4 kB / 0.7291 GB, free: 4.754 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.649e-05/0.1732, allocations: 11.98 kB / 0.7291 GB, free: 4.742 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1732, allocations: 0 / 0.7291 GB, free: 4.742 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.1732, allocations: 4.125 kB / 0.7292 GB, free: 4.738 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004774/0.1737, allocations: 473.9 kB / 0.7296 GB, free: 4.273 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002857/0.174, allocations: 211.9 kB / 0.7298 GB, free: 4.035 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.701e-05/0.1741, allocations: 59.36 kB / 0.7299 GB, free: 3.957 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.77e-05/0.1741, allocations: 11.44 kB / 0.7299 GB, free: 3.945 MB / 0.545 GB Notification: Performance of SimCode: time 2.71e-07/0.1741, allocations: 0 / 0.7299 GB, free: 3.945 MB / 0.545 GB Notification: Performance of Templates: time 0.002272/0.1764, allocations: 0.7395 MB / 0.7306 GB, free: 3.211 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.51554703200236] Failed to read output from testmodel.py, exit status != 0: 0.18493191292509437 0.19970199900000002 0.027946827 Calling exit ...