Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.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.001493/0.001493, 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.001651/0.001651, allocations: 217.2 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.332/1.332, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.8348/0.8348, allocations: 145 MB / 458.2 MB, free: 15.56 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.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator") [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.001915/0.001915, allocations: 74.69 kB / 0.6344 GB, free: 6.879 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1572, allocations: 87.88 MB / 0.7202 GB, free: 14.98 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.003358/0.1606, allocations: 1.81 MB / 0.722 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002102/0.1627, allocations: 1.291 MB / 0.7232 GB, free: 11.86 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.997e-05/0.1628, allocations: 4 kB / 0.7233 GB, free: 11.85 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003177/0.1631, allocations: 59.67 kB / 0.7233 GB, free: 11.79 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003529/0.1634, allocations: 119.5 kB / 0.7234 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005781/0.164, allocations: 195.5 kB / 0.7236 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002512/0.1643, allocations: 163.5 kB / 0.7238 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.856e-05/0.1644, allocations: 13.64 kB / 0.7238 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.1645, allocations: 71.69 kB / 0.7238 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.1646, allocations: 71.73 kB / 0.7239 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.1646, allocations: 8 kB / 0.7239 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001893/0.1648, allocations: 79.86 kB / 0.724 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.738e-05/0.1649, allocations: 43.86 kB / 0.724 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.877e-05/0.165, allocations: 63.59 kB / 0.7241 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003352/0.1653, allocations: 215.1 kB / 0.7243 GB, free: 10.76 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1653, allocations: 0 / 0.7243 GB, free: 10.76 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.183e-06/0.1653, allocations: 0 / 0.7243 GB, free: 10.76 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.1653, allocations: 0 / 0.7243 GB, free: 10.76 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007052/0.166, allocations: 426.9 kB / 0.7247 GB, free: 10.31 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.1661, allocations: 8.031 kB / 0.7247 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.349e-05/0.1661, allocations: 16.84 kB / 0.7247 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.1665, allocations: 202.1 kB / 0.7249 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.1665, allocations: 8.375 kB / 0.7249 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.1665, allocations: 8.125 kB / 0.7249 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.1667, allocations: 92.17 kB / 0.725 GB, free: 9.941 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.1668, allocations: 0 / 0.725 GB, free: 9.941 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.1668, allocations: 0 / 0.725 GB, free: 9.941 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.1668, allocations: 0 / 0.725 GB, free: 9.941 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.1669, allocations: 47.91 kB / 0.7251 GB, free: 9.895 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005383/0.1674, allocations: 319.8 kB / 0.7254 GB, free: 9.539 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.1677, allocations: 82.75 kB / 0.7255 GB, free: 9.449 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.184e-05/0.1677, allocations: 32.78 kB / 0.7255 GB, free: 9.414 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.1678, allocations: 4 kB / 0.7255 GB, free: 9.41 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/0.1679, allocations: 91.27 kB / 0.7256 GB, free: 9.309 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 3.266e-06/0.1679, allocations: 3.984 kB / 0.7256 GB, free: 9.305 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0003665/0.1683, allocations: 137.5 kB / 0.7257 GB, free: 9.164 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.952e-05/0.1684, allocations: 106.8 kB / 0.7258 GB, free: 9.035 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002957/0.1687, allocations: 275.1 kB / 0.7261 GB, free: 8.758 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.1687, allocations: 29.7 kB / 0.7261 GB, free: 8.723 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.435e-05/0.1688, allocations: 132.1 kB / 0.7262 GB, free: 8.59 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.1688, allocations: 15.84 kB / 0.7263 GB, free: 8.574 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.133e-05/0.1689, allocations: 29.7 kB / 0.7263 GB, free: 8.539 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.169, allocations: 330.8 kB / 0.7266 GB, free: 8.207 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.602e-05/0.1691, allocations: 27.98 kB / 0.7266 GB, free: 8.18 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.1692, allocations: 68.27 kB / 0.7267 GB, free: 8.098 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.1693, allocations: 73.64 kB / 0.7268 GB, free: 8.02 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1693, allocations: 0 / 0.7268 GB, free: 8.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002212/0.1696, allocations: 113.9 kB / 0.7269 GB, free: 7.902 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.1696, allocations: 5.719 kB / 0.7269 GB, free: 7.898 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1696, allocations: 0 / 0.7269 GB, free: 7.898 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.1696, allocations: 4 kB / 0.7269 GB, free: 7.895 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.938e-05/0.1697, allocations: 15.94 kB / 0.7269 GB, free: 7.879 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.744e-05/0.1697, allocations: 7.938 kB / 0.7269 GB, free: 7.871 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.681e-05/0.1698, allocations: 19.89 kB / 0.7269 GB, free: 7.852 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.1698, allocations: 4 kB / 0.7269 GB, free: 7.848 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: 8 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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 0.0001316/0.1699, allocations: 143.1 kB / 0.7271 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.17, allocations: 15.91 kB / 0.7271 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.1702, allocations: 127 kB / 0.7272 GB, free: 7.547 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.1702, allocations: 4 kB / 0.7272 GB, free: 7.543 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1702, allocations: 0 / 0.7272 GB, free: 7.543 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.1702, allocations: 7.938 kB / 0.7272 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.1704, allocations: 196.6 kB / 0.7274 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1704, allocations: 0 / 0.7274 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.095e-05/0.1705, allocations: 11.98 kB / 0.7274 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1705, allocations: 0 / 0.7274 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.1705, allocations: 0 / 0.7274 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1705, allocations: 0 / 0.7274 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1705, allocations: 0 / 0.7274 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002636/0.1708, allocations: 144.9 kB / 0.7275 GB, free: 7.129 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.403e-05/0.1708, allocations: 24.09 kB / 0.7276 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.1708, allocations: 0 / 0.7276 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.743e-05/0.1709, allocations: 11.92 kB / 0.7276 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.601e-05/0.1709, allocations: 15.92 kB / 0.7276 GB, free: 7.078 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.1709, allocations: 3.938 kB / 0.7276 GB, free: 7.074 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002014/0.1711, allocations: 204.6 kB / 0.7278 GB, free: 6.875 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1711, allocations: 0 / 0.7278 GB, free: 6.875 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000249/0.1714, allocations: 35.92 kB / 0.7278 GB, free: 6.84 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: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00148/0.1729, allocations: 430.1 kB / 0.7282 GB, free: 6.574 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002238/0.1731, allocations: 63.95 kB / 0.7283 GB, free: 6.512 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1731, allocations: 0 / 0.7283 GB, free: 6.512 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.635e-05/0.1732, allocations: 35.92 kB / 0.7283 GB, free: 6.477 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.1735, allocations: 37.75 kB / 0.7284 GB, free: 6.441 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005864/0.1741, allocations: 340.3 kB / 0.7287 GB, free: 6.078 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.1744, allocations: 0.728 MB / 0.7294 GB, free: 5.324 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.711e-05/0.1745, allocations: 15.44 kB / 0.7294 GB, free: 5.309 MB / 0.545 GB Notification: Performance of SimCode: time 8.02e-07/0.1745, allocations: 0 / 0.7294 GB, free: 5.309 MB / 0.545 GB Notification: Performance of Templates: time 0.005718/0.1802, allocations: 2.703 MB / 0.7321 GB, free: 2.617 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.742542152060196] Failed to read output from testmodel.py, exit status != 0: 0.18942081998102367 0.202919906 0.034574119 Calling exit ...