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.001432/0.001432, allocations: 97.69 kB / 19.58 MB, free: 2.324 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.001528/0.001528, allocations: 188.6 kB / 22.85 MB, free: 5.652 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.332/1.332, allocations: 225.6 MB / 251.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 179] 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.002391/0.002391, allocations: 292.4 kB / 307.1 MB, free: 8.344 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.164/1.164, allocations: 180.8 MB / 0.5304 GB, free: 14.43 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.002679/0.002679, allocations: 107.2 kB / 0.7311 GB, free: 38.86 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1532, allocations: 94.2 MB / 0.8231 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegerReplicator): time 0.00304/0.1562, allocations: 1.792 MB / 0.8248 GB, free: 108 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001743/0.158, allocations: 1.136 MB / 0.8259 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.724e-05/0.1581, allocations: 7.938 kB / 0.8259 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002682/0.1583, allocations: 51.73 kB / 0.826 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002276/0.1585, allocations: 79.67 kB / 0.8261 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000645/0.1592, allocations: 232.5 kB / 0.8263 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002093/0.1594, allocations: 155.5 kB / 0.8264 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.817e-05/0.1595, allocations: 13.3 kB / 0.8264 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.1596, allocations: 63.77 kB / 0.8265 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.1597, allocations: 71.73 kB / 0.8266 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.1597, allocations: 8 kB / 0.8266 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001573/0.1599, allocations: 79.88 kB / 0.8267 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.53e-05/0.16, allocations: 39.84 kB / 0.8267 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.11e-05/0.16, allocations: 67.53 kB / 0.8268 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002864/0.1603, allocations: 191.3 kB / 0.8269 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1603, allocations: 0 / 0.8269 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1603, allocations: 4 kB / 0.8269 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.1603, allocations: 7.875 kB / 0.827 GB, free: 13.91 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.000618/0.161, allocations: 426.9 kB / 0.8274 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.161, allocations: 8.031 kB / 0.8274 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.473e-05/0.161, allocations: 16.84 kB / 0.8274 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.1614, allocations: 184.6 kB / 0.8276 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.1614, allocations: 4.375 kB / 0.8276 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.1614, allocations: 8.125 kB / 0.8276 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.1616, allocations: 100.2 kB / 0.8277 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.1616, allocations: 0 / 0.8277 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1616, allocations: 0 / 0.8277 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.1616, allocations: 4 kB / 0.8277 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.1617, allocations: 31.98 kB / 0.8277 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004938/0.1622, allocations: 331.7 kB / 0.828 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.1624, allocations: 86.66 kB / 0.8281 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.26e-05/0.1625, allocations: 28.84 kB / 0.8281 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.1625, allocations: 7.984 kB / 0.8281 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001628/0.1627, allocations: 87.33 kB / 0.8282 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.1627, allocations: 4 kB / 0.8282 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0003368/0.163, allocations: 133.6 kB / 0.8283 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.814e-05/0.1631, allocations: 106.8 kB / 0.8285 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002621/0.1634, allocations: 264.2 kB / 0.8287 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.1634, allocations: 25.7 kB / 0.8287 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.771e-05/0.1635, allocations: 120.1 kB / 0.8288 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.1635, allocations: 19.84 kB / 0.8289 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.763e-05/0.1635, allocations: 33.64 kB / 0.8289 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1637, allocations: 334.8 kB / 0.8292 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.854e-05/0.1637, allocations: 23.98 kB / 0.8292 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.1638, allocations: 76.2 kB / 0.8293 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.164, allocations: 65.7 kB / 0.8294 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.164, allocations: 0 / 0.8294 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002126/0.1642, allocations: 113.5 kB / 0.8295 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1642, allocations: 8 kB / 0.8295 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1642, allocations: 0 / 0.8295 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.1642, allocations: 8.031 kB / 0.8295 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.926e-05/0.1643, allocations: 16 kB / 0.8295 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.1643, allocations: 3.938 kB / 0.8295 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.446e-05/0.1644, allocations: 15.86 kB / 0.8295 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.1644, allocations: 4 kB / 0.8295 GB, free: 11.03 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.0001278/0.1645, allocations: 150.4 kB / 0.8297 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.1645, allocations: 15.91 kB / 0.8297 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002507/0.1648, allocations: 119 kB / 0.8298 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.1648, allocations: 4 kB / 0.8298 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1648, allocations: 0 / 0.8298 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1648, allocations: 3.938 kB / 0.8298 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.165, allocations: 192.6 kB / 0.83 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.165, allocations: 3.938 kB / 0.83 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.777e-05/0.165, allocations: 8 kB / 0.83 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.165, allocations: 4 kB / 0.83 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.1651, allocations: 11.91 kB / 0.83 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1651, allocations: 0 / 0.83 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1651, allocations: 0 / 0.83 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.1653, allocations: 141.4 kB / 0.8302 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.988e-05/0.1653, allocations: 19.91 kB / 0.8302 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.1653, allocations: 0 / 0.8302 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.248e-05/0.1654, allocations: 4 kB / 0.8302 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.1654, allocations: 15.98 kB / 0.8302 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.1655, allocations: 3.938 kB / 0.8302 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001819/0.1656, allocations: 199.3 kB / 0.8304 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1656, allocations: 0 / 0.8304 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002339/0.1659, allocations: 31.94 kB / 0.8304 GB, free: 10.04 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.001431/0.1673, allocations: 428.3 kB / 0.8308 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002172/0.1675, allocations: 67.95 kB / 0.8309 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1675, allocations: 0 / 0.8309 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.228e-05/0.1676, allocations: 39.91 kB / 0.8309 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.1679, allocations: 37.42 kB / 0.831 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000488/0.1684, allocations: 306.8 kB / 0.8313 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.1687, allocations: 0.7163 MB / 0.832 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.811e-05/0.1688, allocations: 29.38 kB / 0.832 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.49e-05/0.1688, allocations: 19.42 kB / 0.832 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.1688, allocations: 0 / 0.832 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of Templates: time 0.006267/0.1751, allocations: 2.598 MB / 0.8345 GB, free: 5.953 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.745743759995094] Failed to read output from testmodel.py, exit status != 0: 0.18227380300231744 0.196307914 0.033168041 Calling exit ...