Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 191.5 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002419/0.002419, allocations: 287.5 kB / 306.5 MB, free: 8.363 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.184/1.184, allocations: 180.8 MB / 0.53 GB, free: 14.42 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator") translateModel(BuildingSystems.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002682/0.002682, allocations: 107.3 kB / 0.7308 GB, free: 38.62 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1562, allocations: 94.2 MB / 0.8228 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegerReplicator): time 0.003081/0.1593, allocations: 1.803 MB / 0.8246 GB, free: 8 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001836/0.1611, allocations: 1.125 MB / 0.8257 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.192e-05/0.1612, allocations: 4 kB / 0.8257 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002897/0.1615, allocations: 51.73 kB / 0.8257 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002301/0.1617, allocations: 87.59 kB / 0.8258 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005688/0.1623, allocations: 237.8 kB / 0.8261 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.1625, allocations: 139.6 kB / 0.8262 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1626, allocations: 21.28 kB / 0.8262 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.1627, allocations: 63.78 kB / 0.8263 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.1628, allocations: 67.73 kB / 0.8263 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.1629, allocations: 8 kB / 0.8263 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.163, allocations: 83.86 kB / 0.8264 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.067e-05/0.1631, allocations: 47.83 kB / 0.8265 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.082e-05/0.1632, allocations: 51.62 kB / 0.8265 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000366/0.1635, allocations: 203.2 kB / 0.8267 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1636, allocations: 4 kB / 0.8267 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1636, allocations: 0 / 0.8267 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.1636, allocations: 0 / 0.8267 GB, free: 13.82 MB / 0.5762 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.0006399/0.1642, allocations: 426.9 kB / 0.8271 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.1642, allocations: 8.031 kB / 0.8271 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.264e-05/0.1643, allocations: 16.84 kB / 0.8271 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.1646, allocations: 196.5 kB / 0.8273 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.1646, allocations: 4.375 kB / 0.8273 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.1646, allocations: 12.12 kB / 0.8273 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.1648, allocations: 88.23 kB / 0.8274 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.1648, allocations: 0 / 0.8274 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.1649, allocations: 0 / 0.8274 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.772e-05/0.1649, allocations: 4 kB / 0.8274 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.165, allocations: 39.91 kB / 0.8275 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004806/0.1655, allocations: 327.8 kB / 0.8278 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002202/0.1657, allocations: 86.69 kB / 0.8279 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.707e-05/0.1658, allocations: 32.84 kB / 0.8279 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.1658, allocations: 0 / 0.8279 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001672/0.1659, allocations: 75.38 kB / 0.828 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/0.1659, allocations: 4 kB / 0.828 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.000353/0.1663, allocations: 153.5 kB / 0.8281 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.873e-05/0.1664, allocations: 106.8 kB / 0.8282 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002743/0.1666, allocations: 260.2 kB / 0.8285 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.1667, allocations: 29.7 kB / 0.8285 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.1668, allocations: 116.1 kB / 0.8286 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.962e-05/0.1668, allocations: 23.78 kB / 0.8286 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.153e-05/0.1669, allocations: 29.7 kB / 0.8287 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.167, allocations: 334.8 kB / 0.829 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.719e-05/0.1671, allocations: 23.98 kB / 0.829 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.1672, allocations: 64.28 kB / 0.8291 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.1673, allocations: 73.94 kB / 0.8291 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1673, allocations: 4 kB / 0.8291 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002326/0.1676, allocations: 113.5 kB / 0.8292 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.1676, allocations: 8 kB / 0.8293 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.1676, allocations: 0 / 0.8293 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1676, allocations: 3.938 kB / 0.8293 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.638e-05/0.1677, allocations: 15.98 kB / 0.8293 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.1677, allocations: 0 / 0.8293 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.655e-05/0.1678, allocations: 15.88 kB / 0.8293 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.1678, allocations: 4 kB / 0.8293 GB, free: 10.94 MB / 0.5762 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.0001521/0.1679, allocations: 150.5 kB / 0.8294 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.412e-05/0.168, allocations: 19.86 kB / 0.8295 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002696/0.1682, allocations: 123 kB / 0.8296 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.1683, allocations: 4 kB / 0.8296 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1683, allocations: 0 / 0.8296 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.1683, allocations: 3.938 kB / 0.8296 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.1685, allocations: 188.7 kB / 0.8298 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1685, allocations: 4 kB / 0.8298 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.022e-05/0.1685, allocations: 7.984 kB / 0.8298 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1685, allocations: 4 kB / 0.8298 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.1685, allocations: 4 kB / 0.8298 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.1685, allocations: 0 / 0.8298 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.1685, allocations: 4 kB / 0.8298 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.1688, allocations: 144.8 kB / 0.8299 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.275e-05/0.1688, allocations: 15.91 kB / 0.8299 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.1688, allocations: 4 kB / 0.8299 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.78e-05/0.1689, allocations: 11.98 kB / 0.83 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/0.1689, allocations: 7.984 kB / 0.83 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.1689, allocations: 3.938 kB / 0.83 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001875/0.1691, allocations: 195.3 kB / 0.8302 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1691, allocations: 0 / 0.8302 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002426/0.1694, allocations: 36.11 kB / 0.8302 GB, free: 9.949 MB / 0.5762 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.001524/0.1709, allocations: 432.6 kB / 0.8306 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002387/0.1711, allocations: 67.91 kB / 0.8307 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1711, allocations: 0 / 0.8307 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.381e-05/0.1712, allocations: 35.97 kB / 0.8307 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.1715, allocations: 39.06 kB / 0.8307 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005412/0.1721, allocations: 290.8 kB / 0.831 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.1725, allocations: 0.7318 MB / 0.8317 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.306e-05/0.1726, allocations: 25.38 kB / 0.8318 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.677e-05/0.1726, allocations: 15.44 kB / 0.8318 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.1726, allocations: 4 kB / 0.8318 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of Templates: time 0.006418/0.179, allocations: 2.592 MB / 0.8343 GB, free: 5.871 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.7672254871577024] Failed to read output from testmodel.py, exit status != 0: 0.18661099765449762 0.20098285099999996 0.034246410000000005 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f6db25397b0>