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.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.001871/0.001871, allocations: 89.47 kB / 19.44 MB, free: 340 kB / 13.93 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.002191/0.002191, allocations: 169.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.557/1.557, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003163/0.003163, allocations: 242.5 kB / 259.8 MB, free: 12.86 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.203/1.203, allocations: 138.4 MB / 454.7 MB, free: 1.5 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(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 1.452e-06/1.452e-06, allocations: 3.938 kB / 0.5543 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.757e-05/2.902e-05, allocations: 6.25 kB / 0.5543 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.003398/0.003427, allocations: 1.797 MB / 0.5561 GB, free: 15.04 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002211/0.005638, allocations: 1.15 MB / 0.5572 GB, free: 13.88 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.354e-05/0.005712, allocations: 4 kB / 0.5572 GB, free: 13.87 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006784/0.00639, allocations: 175.3 kB / 0.5574 GB, free: 13.7 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004036/0.006794, allocations: 155.3 kB / 0.5575 GB, free: 13.55 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005037/0.007298, allocations: 143.5 kB / 0.5577 GB, free: 13.41 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003534/0.007651, allocations: 175.5 kB / 0.5578 GB, free: 13.23 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.007771, allocations: 17.3 kB / 0.5579 GB, free: 13.22 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002411/0.008012, allocations: 91.73 kB / 0.558 GB, free: 13.13 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001808/0.008193, allocations: 71.78 kB / 0.558 GB, free: 13.06 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.63e-05/0.008229, allocations: 8 kB / 0.558 GB, free: 13.05 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002384/0.008467, allocations: 71.88 kB / 0.5581 GB, free: 12.98 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.008578, allocations: 39.86 kB / 0.5581 GB, free: 12.94 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.094e-05/0.008669, allocations: 35.91 kB / 0.5582 GB, free: 12.91 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004878/0.009157, allocations: 211.2 kB / 0.5584 GB, free: 12.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.00916, allocations: 4 kB / 0.5584 GB, free: 12.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.009162, allocations: 0 / 0.5584 GB, free: 12.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.009168, allocations: 0 / 0.5584 GB, free: 12.7 MB / 490.7 MB 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.001103/0.01027, allocations: 0.5359 MB / 0.5589 GB, free: 12.12 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.01031, allocations: 12.75 kB / 0.5589 GB, free: 12.11 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.972e-05/0.01041, allocations: 24.8 kB / 0.5589 GB, free: 12.08 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004506/0.01086, allocations: 197.2 kB / 0.5591 GB, free: 11.86 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.01089, allocations: 4.375 kB / 0.5591 GB, free: 11.86 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.01091, allocations: 4.375 kB / 0.5591 GB, free: 11.86 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002247/0.01113, allocations: 66.22 kB / 0.5592 GB, free: 11.79 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.01115, allocations: 7.938 kB / 0.5592 GB, free: 11.78 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.01116, allocations: 3.984 kB / 0.5592 GB, free: 11.77 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.01118, allocations: 4 kB / 0.5592 GB, free: 11.77 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.01132, allocations: 27.92 kB / 0.5592 GB, free: 11.74 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000831/0.01215, allocations: 359.7 kB / 0.5596 GB, free: 11.36 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002851/0.01243, allocations: 79.03 kB / 0.5597 GB, free: 11.27 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.839e-05/0.01253, allocations: 27.67 kB / 0.5597 GB, free: 11.23 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.01255, allocations: 0 / 0.5597 GB, free: 11.23 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000247/0.0128, allocations: 85.05 kB / 0.5598 GB, free: 11.14 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/0.0128, allocations: 4 kB / 0.5598 GB, free: 11.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004922/0.01329, allocations: 133.4 kB / 0.5599 GB, free: 11 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.266e-05/0.01335, allocations: 55.39 kB / 0.5599 GB, free: 10.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005436/0.0139, allocations: 321.8 kB / 0.5602 GB, free: 10.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.01393, allocations: 29.7 kB / 0.5603 GB, free: 10.56 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004322/0.01436, allocations: 182.8 kB / 0.5605 GB, free: 10.38 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.885e-05/0.01441, allocations: 27.8 kB / 0.5605 GB, free: 10.35 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.01452, allocations: 39.36 kB / 0.5605 GB, free: 10.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004005/0.01492, allocations: 0.5118 MB / 0.561 GB, free: 9.781 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.538e-05/0.015, allocations: 15.98 kB / 0.561 GB, free: 9.766 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.01516, allocations: 88.69 kB / 0.5611 GB, free: 9.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/0.01535, allocations: 59.31 kB / 0.5612 GB, free: 9.594 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.01535, allocations: 112 / 0.5612 GB, free: 9.594 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003292/0.01568, allocations: 117.4 kB / 0.5613 GB, free: 9.473 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.0157, allocations: 4 kB / 0.5613 GB, free: 9.469 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.01571, allocations: 0 / 0.5613 GB, free: 9.469 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.01572, allocations: 0 / 0.5613 GB, free: 9.469 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.01583, allocations: 15.94 kB / 0.5613 GB, free: 9.453 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.01584, allocations: 3.984 kB / 0.5613 GB, free: 9.449 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.823e-05/0.01593, allocations: 8.016 kB / 0.5613 GB, free: 9.441 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.01594, allocations: 4 kB / 0.5613 GB, free: 9.438 MB / 490.7 MB 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.0002164/0.01616, allocations: 176.5 kB / 0.5615 GB, free: 9.254 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.051e-05/0.01621, allocations: 15.91 kB / 0.5615 GB, free: 9.238 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003608/0.01657, allocations: 107.1 kB / 0.5616 GB, free: 9.125 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/0.01659, allocations: 4 kB / 0.5616 GB, free: 9.121 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.01659, allocations: 0 / 0.5616 GB, free: 9.121 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.0166, allocations: 3.984 kB / 0.5616 GB, free: 9.117 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003554/0.01695, allocations: 204.4 kB / 0.5618 GB, free: 8.883 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/0.01696, allocations: 4 kB / 0.5618 GB, free: 8.879 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.149e-05/0.017, allocations: 8 kB / 0.5618 GB, free: 8.871 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.01701, allocations: 3.984 kB / 0.5618 GB, free: 8.867 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.01702, allocations: 3.984 kB / 0.5618 GB, free: 8.863 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.01702, allocations: 0 / 0.5618 GB, free: 8.863 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01703, allocations: 7.938 kB / 0.5618 GB, free: 8.855 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003882/0.01741, allocations: 156.3 kB / 0.562 GB, free: 8.68 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.991e-05/0.01746, allocations: 11.91 kB / 0.562 GB, free: 8.668 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.276e-05/0.01751, allocations: 4 kB / 0.562 GB, free: 8.664 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.843e-05/0.01758, allocations: 7.984 kB / 0.562 GB, free: 8.656 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.049e-05/0.01765, allocations: 7.984 kB / 0.562 GB, free: 8.648 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.01766, allocations: 8 kB / 0.562 GB, free: 8.641 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003283/0.01799, allocations: 211.1 kB / 0.5622 GB, free: 8.434 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.01799, allocations: 4 kB / 0.5622 GB, free: 8.43 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004491/0.01844, allocations: 31.92 kB / 0.5623 GB, free: 8.398 MB / 490.7 MB 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 (8): * Single equations (assignments): 5 * 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.004229/0.02267, allocations: 454.7 kB / 0.5627 GB, free: 8.137 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003364/0.023, allocations: 67.66 kB / 0.5628 GB, free: 8.066 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.02301, allocations: 0 / 0.5628 GB, free: 8.066 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.02315, allocations: 47.55 kB / 0.5628 GB, free: 8.016 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005091/0.02366, allocations: 45.72 kB / 0.5628 GB, free: 7.973 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008447/0.02451, allocations: 277.8 kB / 0.5631 GB, free: 7.676 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001793/0.02469, allocations: 118.7 kB / 0.5632 GB, free: 7.543 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 9.421e-05/0.02478, allocations: 17.78 kB / 0.5632 GB, free: 7.523 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.248e-05/0.02486, allocations: 28.48 kB / 0.5633 GB, free: 7.492 MB / 490.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02487, allocations: 0 / 0.5633 GB, free: 7.492 MB / 490.7 MB Notification: Performance of Templates: time 0.01009/0.03496, allocations: 2.434 MB / 0.5656 GB, free: 5.094 MB / 490.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.824185264995322]