Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.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.001218/0.001218, allocations: 109.8 kB / 19.58 MB, free: 2.336 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.001248/0.001248, allocations: 191.9 kB / 22.85 MB, free: 5.641 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.337/1.337, allocations: 225.6 MB / 251.5 MB, free: 13.05 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.002385/0.002385, allocations: 287.9 kB / 307 MB, free: 8.461 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.173/1.173, allocations: 180.8 MB / 0.5304 GB, free: 14.46 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.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator") translateModel(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002695/0.002695, allocations: 103.2 kB / 0.7311 GB, free: 38.75 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1448, allocations: 94.21 MB / 0.8231 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.003272/0.1481, allocations: 1.799 MB / 0.8248 GB, free: 168 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001679/0.1497, allocations: 1.051 MB / 0.8259 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.109e-05/0.1498, allocations: 3.938 kB / 0.8259 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005915/0.1504, allocations: 163.5 kB / 0.826 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000284/0.1507, allocations: 123.6 kB / 0.8261 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004453/0.1511, allocations: 169.8 kB / 0.8263 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.1514, allocations: 163.6 kB / 0.8265 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.1515, allocations: 21.05 kB / 0.8265 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.1516, allocations: 79.62 kB / 0.8265 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.1517, allocations: 75.73 kB / 0.8266 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.1517, allocations: 8 kB / 0.8266 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.1519, allocations: 67.94 kB / 0.8267 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.292e-05/0.1519, allocations: 47.78 kB / 0.8267 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.349e-05/0.152, allocations: 59.61 kB / 0.8268 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002994/0.1523, allocations: 203.2 kB / 0.827 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1523, allocations: 0 / 0.827 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1523, allocations: 0 / 0.827 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.1523, allocations: 0 / 0.827 GB, free: 13.94 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007077/0.153, allocations: 430.8 kB / 0.8274 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.1531, allocations: 8.031 kB / 0.8274 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.475e-05/0.1531, allocations: 20.84 kB / 0.8274 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003112/0.1534, allocations: 192.5 kB / 0.8276 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.1534, allocations: 384 / 0.8276 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.1535, allocations: 12.06 kB / 0.8276 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.1537, allocations: 91.31 kB / 0.8277 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1537, allocations: 0 / 0.8277 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.1537, allocations: 4 kB / 0.8277 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.1537, allocations: 0 / 0.8277 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.633e-05/0.1538, allocations: 35.98 kB / 0.8277 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005307/0.1543, allocations: 323.8 kB / 0.8281 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.1546, allocations: 70.61 kB / 0.8281 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.856e-05/0.1546, allocations: 32.84 kB / 0.8282 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.1547, allocations: 0 / 0.8282 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001816/0.1548, allocations: 79.39 kB / 0.8282 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.1548, allocations: 3.938 kB / 0.8282 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0003631/0.1552, allocations: 145.5 kB / 0.8284 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.553e-05/0.1553, allocations: 85.11 kB / 0.8285 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002866/0.1556, allocations: 252.2 kB / 0.8287 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.1556, allocations: 29.64 kB / 0.8287 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.64e-05/0.1557, allocations: 120.1 kB / 0.8288 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.882e-05/0.1557, allocations: 35.72 kB / 0.8289 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.938e-05/0.1558, allocations: 29.72 kB / 0.8289 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.1559, allocations: 330.8 kB / 0.8292 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.625e-05/0.156, allocations: 24.11 kB / 0.8292 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.879e-05/0.1561, allocations: 63.34 kB / 0.8293 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.1562, allocations: 81.98 kB / 0.8294 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1562, allocations: 0 / 0.8294 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001987/0.1564, allocations: 113.5 kB / 0.8295 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.1564, allocations: 8 kB / 0.8295 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1565, allocations: 0 / 0.8295 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.1565, allocations: 0 / 0.8295 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.485e-05/0.1565, allocations: 11.98 kB / 0.8295 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.1565, allocations: 4 kB / 0.8295 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.315e-05/0.1566, allocations: 19.91 kB / 0.8295 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.1566, allocations: 0 / 0.8295 GB, free: 11.11 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: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.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.0001375/0.1568, allocations: 146.3 kB / 0.8297 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.1568, allocations: 15.86 kB / 0.8297 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.157, allocations: 127 kB / 0.8298 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.157, allocations: 7.984 kB / 0.8298 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1571, allocations: 0 / 0.8298 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1571, allocations: 3.938 kB / 0.8298 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.1573, allocations: 200.7 kB / 0.83 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1573, allocations: 0 / 0.83 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.03e-05/0.1573, allocations: 4 kB / 0.83 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1573, allocations: 0 / 0.83 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.1573, allocations: 0 / 0.83 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-06/0.1573, allocations: 3.938 kB / 0.83 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1573, allocations: 0 / 0.83 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.1575, allocations: 152.9 kB / 0.8302 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.569e-05/0.1576, allocations: 15.91 kB / 0.8302 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.1576, allocations: 0 / 0.8302 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.7e-05/0.1576, allocations: 11.98 kB / 0.8302 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.1577, allocations: 4 kB / 0.8302 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.1577, allocations: 7.922 kB / 0.8302 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001842/0.1579, allocations: 203.2 kB / 0.8304 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1579, allocations: 0 / 0.8304 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002396/0.1581, allocations: 31.89 kB / 0.8304 GB, free: 10.12 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: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.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.001493/0.1596, allocations: 430.6 kB / 0.8308 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000223/0.1598, allocations: 71.89 kB / 0.8309 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1598, allocations: 0 / 0.8309 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.545e-05/0.1599, allocations: 31.98 kB / 0.8309 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.1602, allocations: 42.73 kB / 0.831 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005617/0.1608, allocations: 290.9 kB / 0.8312 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.1611, allocations: 0.728 MB / 0.832 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.078e-05/0.1612, allocations: 17.73 kB / 0.832 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.025e-05/0.1612, allocations: 19.44 kB / 0.832 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of SimCode: time 3.2e-07/0.1612, allocations: 0 / 0.832 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of Templates: time 0.005703/0.1669, allocations: 2.351 MB / 0.8343 GB, free: 6.293 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.653630858003453] Failed to read output from testmodel.py, exit status != 0: 0.17365926599450177 0.187965707 0.032780655 Calling exit ...