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.0009819/0.0009819, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.000981/0.000981, allocations: 173.3 kB / 23.5 MB, free: 1.059 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.9618/0.9618, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.001661/0.001661, allocations: 237.4 kB / 260.5 MB, free: 12.89 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.7797/0.7797, allocations: 138.4 MB / 455.4 MB, free: 1.504 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.403e-06/1.403e-06, allocations: 0 / 0.555 GB, free: 0.832 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.843e-05/1.983e-05, allocations: 2.312 kB / 0.555 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.002741/0.002761, allocations: 1.854 MB / 0.5569 GB, free: 14.96 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.004092, allocations: 1.142 MB / 0.558 GB, free: 13.81 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.196e-05/0.004174, allocations: 3.938 kB / 0.558 GB, free: 13.8 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005179/0.004691, allocations: 179.4 kB / 0.5581 GB, free: 13.63 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002625/0.004954, allocations: 151.4 kB / 0.5583 GB, free: 13.48 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002461/0.0052, allocations: 143.4 kB / 0.5584 GB, free: 13.34 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.005387, allocations: 175.5 kB / 0.5586 GB, free: 13.17 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.005491, allocations: 21.23 kB / 0.5586 GB, free: 13.15 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.005601, allocations: 95.78 kB / 0.5587 GB, free: 13.05 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.705e-05/0.005698, allocations: 59.88 kB / 0.5588 GB, free: 13 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.005718, allocations: 11.98 kB / 0.5588 GB, free: 12.98 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.005846, allocations: 75.77 kB / 0.5588 GB, free: 12.91 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.643e-05/0.005913, allocations: 47.83 kB / 0.5589 GB, free: 12.86 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.595e-05/0.005959, allocations: 31.92 kB / 0.5589 GB, free: 12.83 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.006166, allocations: 159.3 kB / 0.5591 GB, free: 12.68 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.006169, allocations: 0 / 0.5591 GB, free: 12.68 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.006169, allocations: 0 / 0.5591 GB, free: 12.68 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.006174, allocations: 0 / 0.5591 GB, free: 12.68 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.0005303/0.006704, allocations: 0.5285 MB / 0.5596 GB, free: 12.11 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.006742, allocations: 12.75 kB / 0.5596 GB, free: 12.09 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.804e-05/0.0068, allocations: 20.8 kB / 0.5596 GB, free: 12.07 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.00703, allocations: 193 kB / 0.5598 GB, free: 11.86 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.00705, allocations: 4.375 kB / 0.5598 GB, free: 11.85 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.007066, allocations: 16.34 kB / 0.5598 GB, free: 11.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.007187, allocations: 62.11 kB / 0.5599 GB, free: 11.77 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.007196, allocations: 3.938 kB / 0.5599 GB, free: 11.77 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.007206, allocations: 0 / 0.5599 GB, free: 11.77 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.007219, allocations: 0 / 0.5599 GB, free: 11.77 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.242e-05/0.007261, allocations: 19.98 kB / 0.5599 GB, free: 11.75 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003891/0.007651, allocations: 347.5 kB / 0.5602 GB, free: 11.37 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.00776, allocations: 59.11 kB / 0.5603 GB, free: 11.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.086e-05/0.007791, allocations: 19.69 kB / 0.5603 GB, free: 11.28 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.007803, allocations: 4 kB / 0.5603 GB, free: 11.27 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001001/0.007903, allocations: 76.97 kB / 0.5604 GB, free: 11.18 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.007904, allocations: 0 / 0.5604 GB, free: 11.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002007/0.008105, allocations: 109.5 kB / 0.5605 GB, free: 11.07 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.008137, allocations: 63.39 kB / 0.5606 GB, free: 11 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.008309, allocations: 281.8 kB / 0.5608 GB, free: 10.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.008323, allocations: 25.7 kB / 0.5608 GB, free: 10.67 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.358e-05/0.008396, allocations: 166.9 kB / 0.561 GB, free: 10.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.00842, allocations: 23.8 kB / 0.561 GB, free: 10.48 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.775e-05/0.008458, allocations: 39.36 kB / 0.5611 GB, free: 10.43 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.008572, allocations: 0.5001 MB / 0.5616 GB, free: 9.922 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.447e-05/0.008596, allocations: 12 kB / 0.5616 GB, free: 9.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.574e-05/0.008652, allocations: 68.75 kB / 0.5616 GB, free: 9.824 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.583e-05/0.008708, allocations: 59.56 kB / 0.5617 GB, free: 9.758 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.008709, allocations: 4.031 kB / 0.5617 GB, free: 9.754 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001009/0.00881, allocations: 97.58 kB / 0.5618 GB, free: 9.652 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.008822, allocations: 7.938 kB / 0.5618 GB, free: 9.645 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.008827, allocations: 0 / 0.5618 GB, free: 9.645 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.008838, allocations: 0 / 0.5618 GB, free: 9.645 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.79e-05/0.008896, allocations: 12 kB / 0.5618 GB, free: 9.633 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.0089, allocations: 0 / 0.5618 GB, free: 9.633 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.354e-05/0.008934, allocations: 7.984 kB / 0.5618 GB, free: 9.625 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.008939, allocations: 0 / 0.5618 GB, free: 9.625 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 7.737e-05/0.009016, allocations: 176.5 kB / 0.562 GB, free: 9.441 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.821e-05/0.009035, allocations: 23.84 kB / 0.562 GB, free: 9.418 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.009163, allocations: 103.2 kB / 0.5621 GB, free: 9.312 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.00917, allocations: 4 kB / 0.5621 GB, free: 9.309 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.009173, allocations: 0 / 0.5621 GB, free: 9.309 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.009177, allocations: 0 / 0.5621 GB, free: 9.309 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.009304, allocations: 180.5 kB / 0.5623 GB, free: 9.098 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.009306, allocations: 0 / 0.5623 GB, free: 9.098 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.794e-05/0.009324, allocations: 7.984 kB / 0.5623 GB, free: 9.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.009325, allocations: 0 / 0.5623 GB, free: 9.09 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.009334, allocations: 8 kB / 0.5623 GB, free: 9.082 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.009335, allocations: 0 / 0.5623 GB, free: 9.082 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.009335, allocations: 0 / 0.5623 GB, free: 9.082 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.009456, allocations: 156 kB / 0.5624 GB, free: 8.906 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.917e-05/0.009475, allocations: 15.89 kB / 0.5625 GB, free: 8.891 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.009494, allocations: 8 kB / 0.5625 GB, free: 8.883 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.509e-05/0.009519, allocations: 0 / 0.5625 GB, free: 8.883 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/0.009556, allocations: 7.984 kB / 0.5625 GB, free: 8.875 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.009567, allocations: 4 kB / 0.5625 GB, free: 8.871 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001059/0.009673, allocations: 195.1 kB / 0.5627 GB, free: 8.68 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009673, allocations: 0 / 0.5627 GB, free: 8.68 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001647/0.009837, allocations: 35.94 kB / 0.5627 GB, free: 8.645 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.0008099/0.01065, allocations: 388.1 kB / 0.5631 GB, free: 8.402 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001241/0.01077, allocations: 55.61 kB / 0.5631 GB, free: 8.344 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.01077, allocations: 3.938 kB / 0.5631 GB, free: 8.34 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.859e-05/0.01081, allocations: 31.67 kB / 0.5632 GB, free: 8.305 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.01101, allocations: 56.81 kB / 0.5632 GB, free: 8.25 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006118/0.01162, allocations: 265.8 kB / 0.5635 GB, free: 7.965 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.846e-05/0.01166, allocations: 75.81 kB / 0.5635 GB, free: 7.871 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.377e-05/0.0117, allocations: 21.55 kB / 0.5636 GB, free: 7.848 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.303e-05/0.01173, allocations: 20.5 kB / 0.5636 GB, free: 7.828 MB / 490.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01173, allocations: 0 / 0.5636 GB, free: 7.828 MB / 490.7 MB Notification: Performance of Templates: time 0.004108/0.01584, allocations: 2.442 MB / 0.566 GB, free: 5.414 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.819119466934353]