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.0009176/0.0009176, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009168/0.0009168, allocations: 169 kB / 23.02 MB, free: 1.547 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 0.9536/0.9536, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.002437/0.002437, allocations: 233.9 kB / 260.2 MB, free: 12.82 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 0.7578/0.7578, allocations: 138.4 MB / 455.2 MB, free: 1.535 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 2.104e-06/2.104e-06, allocations: 3.938 kB / 0.5551 GB, free: 0.5078 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.311e-05/3.522e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5039 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.00277/0.002806, allocations: 1.835 MB / 0.5569 GB, free: 14.65 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.004178, allocations: 1.154 MB / 0.558 GB, free: 13.49 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.683e-05/0.004264, allocations: 3.938 kB / 0.558 GB, free: 13.48 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000572/0.004836, allocations: 171.4 kB / 0.5582 GB, free: 13.32 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003151/0.005151, allocations: 163.3 kB / 0.5584 GB, free: 13.16 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003324/0.005484, allocations: 143.5 kB / 0.5585 GB, free: 13.02 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.005681, allocations: 175.5 kB / 0.5587 GB, free: 12.84 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.626e-05/0.005777, allocations: 17.3 kB / 0.5587 GB, free: 12.83 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.005886, allocations: 87.8 kB / 0.5588 GB, free: 12.74 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.502e-05/0.005981, allocations: 67.8 kB / 0.5588 GB, free: 12.68 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.006, allocations: 8 kB / 0.5588 GB, free: 12.67 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.006123, allocations: 79.81 kB / 0.5589 GB, free: 12.59 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.404e-05/0.006187, allocations: 47.83 kB / 0.559 GB, free: 12.54 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.571e-05/0.006233, allocations: 31.92 kB / 0.559 GB, free: 12.51 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.006464, allocations: 159.3 kB / 0.5591 GB, free: 12.36 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.006466, allocations: 0 / 0.5591 GB, free: 12.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.006468, allocations: 0 / 0.5591 GB, free: 12.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.006472, allocations: 0 / 0.5591 GB, free: 12.36 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.0005343/0.007006, allocations: 0.5246 MB / 0.5597 GB, free: 11.79 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.007043, allocations: 12.75 kB / 0.5597 GB, free: 11.78 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.361e-05/0.007097, allocations: 20.8 kB / 0.5597 GB, free: 11.76 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.00733, allocations: 208.9 kB / 0.5599 GB, free: 11.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.007349, allocations: 8.375 kB / 0.5599 GB, free: 11.52 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.007365, allocations: 4.375 kB / 0.5599 GB, free: 11.51 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.007495, allocations: 58.17 kB / 0.56 GB, free: 11.45 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.007507, allocations: 3.938 kB / 0.56 GB, free: 11.45 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.007516, allocations: 0 / 0.56 GB, free: 11.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.007529, allocations: 0 / 0.56 GB, free: 11.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.311e-05/0.007572, allocations: 23.97 kB / 0.56 GB, free: 11.42 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003939/0.007966, allocations: 351.5 kB / 0.5603 GB, free: 11.04 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.008081, allocations: 63.11 kB / 0.5604 GB, free: 10.97 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.316e-05/0.008114, allocations: 19.67 kB / 0.5604 GB, free: 10.95 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.008132, allocations: 8 kB / 0.5604 GB, free: 10.94 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001078/0.008239, allocations: 80.91 kB / 0.5605 GB, free: 10.84 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 1.143e-06/0.008241, allocations: 0 / 0.5605 GB, free: 10.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002099/0.00845, allocations: 109.5 kB / 0.5606 GB, free: 10.73 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.535e-05/0.008476, allocations: 51.41 kB / 0.5606 GB, free: 10.67 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.00866, allocations: 285.8 kB / 0.5609 GB, free: 10.37 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.008673, allocations: 25.7 kB / 0.5609 GB, free: 10.34 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.655e-05/0.00875, allocations: 170.9 kB / 0.5611 GB, free: 10.17 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.008781, allocations: 31.77 kB / 0.5611 GB, free: 10.14 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-05/0.00882, allocations: 31.38 kB / 0.5612 GB, free: 10.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.008948, allocations: 0.504 MB / 0.5617 GB, free: 9.582 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.838e-05/0.008976, allocations: 8 kB / 0.5617 GB, free: 9.574 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.364e-05/0.00903, allocations: 68.75 kB / 0.5617 GB, free: 9.488 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.33e-05/0.009093, allocations: 59.34 kB / 0.5618 GB, free: 9.422 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.009095, allocations: 3.938 kB / 0.5618 GB, free: 9.418 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000118/0.009213, allocations: 93.48 kB / 0.5619 GB, free: 9.32 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.009227, allocations: 8.062 kB / 0.5619 GB, free: 9.312 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.009233, allocations: 0 / 0.5619 GB, free: 9.312 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.00925, allocations: 0 / 0.5619 GB, free: 9.312 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.982e-05/0.009319, allocations: 12 kB / 0.5619 GB, free: 9.301 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.009326, allocations: 0 / 0.5619 GB, free: 9.301 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.535e-05/0.009361, allocations: 7.984 kB / 0.5619 GB, free: 9.293 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.009368, allocations: 4 kB / 0.5619 GB, free: 9.289 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 8.629e-05/0.009454, allocations: 168.5 kB / 0.5621 GB, free: 9.113 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.208e-05/0.009477, allocations: 23.86 kB / 0.5621 GB, free: 9.09 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.009625, allocations: 103.1 kB / 0.5622 GB, free: 8.984 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.009632, allocations: 0 / 0.5622 GB, free: 8.984 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.009636, allocations: 0 / 0.5622 GB, free: 8.984 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.009639, allocations: 0 / 0.5622 GB, free: 8.984 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.00977, allocations: 184.4 kB / 0.5624 GB, free: 8.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.009772, allocations: 0 / 0.5624 GB, free: 8.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.006e-05/0.009792, allocations: 4 kB / 0.5624 GB, free: 8.766 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.009796, allocations: 4 kB / 0.5624 GB, free: 8.762 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.009805, allocations: 8 kB / 0.5624 GB, free: 8.754 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.009808, allocations: 7.922 kB / 0.5624 GB, free: 8.746 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.009809, allocations: 0 / 0.5624 GB, free: 8.746 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.00993, allocations: 144.2 kB / 0.5625 GB, free: 8.582 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.875e-05/0.009949, allocations: 15.91 kB / 0.5625 GB, free: 8.566 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.009966, allocations: 4 kB / 0.5625 GB, free: 8.562 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.652e-05/0.009992, allocations: 0 / 0.5625 GB, free: 8.562 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.414e-05/0.01003, allocations: 11.98 kB / 0.5626 GB, free: 8.551 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-06/0.01003, allocations: 4 kB / 0.5626 GB, free: 8.547 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001004/0.01014, allocations: 191.1 kB / 0.5627 GB, free: 8.359 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01014, allocations: 0 / 0.5627 GB, free: 8.359 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001754/0.01031, allocations: 31.94 kB / 0.5628 GB, free: 8.328 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.0008277/0.01114, allocations: 406.5 kB / 0.5632 GB, free: 8.074 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001456/0.01128, allocations: 55.53 kB / 0.5632 GB, free: 8.016 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.01129, allocations: 0 / 0.5632 GB, free: 8.016 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.261e-05/0.01133, allocations: 39.73 kB / 0.5632 GB, free: 7.973 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.01153, allocations: 56.39 kB / 0.5633 GB, free: 7.918 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003996/0.01193, allocations: 273.8 kB / 0.5636 GB, free: 7.625 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.262e-05/0.01198, allocations: 71.83 kB / 0.5636 GB, free: 7.535 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.602e-05/0.01202, allocations: 21.78 kB / 0.5637 GB, free: 7.512 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.66e-05/0.01206, allocations: 16.5 kB / 0.5637 GB, free: 7.496 MB / 490.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01206, allocations: 4 kB / 0.5637 GB, free: 7.492 MB / 490.7 MB Notification: Performance of Templates: time 0.004547/0.01661, allocations: 2.441 MB / 0.5661 GB, free: 5.082 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: 3.7517159590497613]