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.001276/0.001276, allocations: 78.72 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001365/0.001365, allocations: 168.4 kB / 22.46 MB, free: 5.363 MB / 14.72 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.421/1.421, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 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.002564/0.002564, allocations: 241.1 kB / 259.4 MB, free: 480 kB / 238.1 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.094/1.094, allocations: 138.4 MB / 454.3 MB, free: 1.988 MB / 366.1 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.713e-06/1.713e-06, allocations: 0 / 0.6468 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.371e-05/2.543e-05, allocations: 6.281 kB / 0.6468 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.003105/0.00313, allocations: 1.79 MB / 0.6486 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002066/0.005196, allocations: 1.115 MB / 0.6496 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.575e-05/0.005292, allocations: 4 kB / 0.6496 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006682/0.00596, allocations: 179.3 kB / 0.6498 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004191/0.006379, allocations: 159.3 kB / 0.65 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003892/0.006769, allocations: 147.4 kB / 0.6501 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002504/0.007019, allocations: 179.5 kB / 0.6503 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.629e-05/0.007115, allocations: 13.3 kB / 0.6503 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.007276, allocations: 99.72 kB / 0.6504 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.0074, allocations: 63.86 kB / 0.6504 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.976e-05/0.00743, allocations: 11.94 kB / 0.6505 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001607/0.00759, allocations: 71.88 kB / 0.6505 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.103e-05/0.007681, allocations: 43.84 kB / 0.6506 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.882e-05/0.00775, allocations: 27.94 kB / 0.6506 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003371/0.008087, allocations: 215.2 kB / 0.6508 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.008091, allocations: 0 / 0.6508 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.008093, allocations: 0 / 0.6508 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.008098, allocations: 0 / 0.6508 GB, free: 0.8789 MB / 0.5606 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.0007258/0.008823, allocations: 430.8 kB / 0.6512 GB, free: 432 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.008862, allocations: 13.34 kB / 0.6512 GB, free: 420 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.626e-05/0.008918, allocations: 12.84 kB / 0.6512 GB, free: 408 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.00922, allocations: 197.4 kB / 0.6514 GB, free: 184 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.009238, allocations: 4.375 kB / 0.6514 GB, free: 180 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.009252, allocations: 8.312 kB / 0.6514 GB, free: 172 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.009429, allocations: 74.17 kB / 0.6515 GB, free: 92 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.009438, allocations: 3.938 kB / 0.6515 GB, free: 88 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.009451, allocations: 3.984 kB / 0.6515 GB, free: 84 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.009465, allocations: 4 kB / 0.6515 GB, free: 80 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.009567, allocations: 35.98 kB / 0.6516 GB, free: 44 kB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2693/0.2789, allocations: 282.7 kB / 0.6518 GB, free: 56.95 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.2791, allocations: 79.17 kB / 0.6519 GB, free: 56.93 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.91e-05/0.2792, allocations: 32.47 kB / 0.6519 GB, free: 56.92 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.2792, allocations: 3.469 kB / 0.6519 GB, free: 56.92 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001795/0.2794, allocations: 82.66 kB / 0.652 GB, free: 56.88 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 2.465e-06/0.2794, allocations: 0 / 0.652 GB, free: 56.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0003655/0.2798, allocations: 157.5 kB / 0.6522 GB, free: 56.84 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.2798, allocations: 54.69 kB / 0.6522 GB, free: 56.78 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002483/0.28, allocations: 268.1 kB / 0.6525 GB, free: 56.68 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.2801, allocations: 30.56 kB / 0.6525 GB, free: 56.65 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.584e-05/0.2801, allocations: 119.5 kB / 0.6526 GB, free: 56.57 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.2801, allocations: 26.62 kB / 0.6526 GB, free: 56.56 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.561e-05/0.2802, allocations: 29.36 kB / 0.6527 GB, free: 56.55 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.814e-05/0.2803, allocations: 335.4 kB / 0.653 GB, free: 56.23 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.787e-05/0.2803, allocations: 29.81 kB / 0.653 GB, free: 56.23 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.377e-05/0.2804, allocations: 79.48 kB / 0.6531 GB, free: 56.18 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.2805, allocations: 76.42 kB / 0.6532 GB, free: 56.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.2805, allocations: 0 / 0.6532 GB, free: 56.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001816/0.2807, allocations: 127.7 kB / 0.6533 GB, free: 56.12 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.2807, allocations: 3.531 kB / 0.6533 GB, free: 56.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.2807, allocations: 3.594 kB / 0.6533 GB, free: 56.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.2808, allocations: 2.594 kB / 0.6533 GB, free: 56.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.078e-05/0.2808, allocations: 10.45 kB / 0.6533 GB, free: 56.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.2808, allocations: 5.781 kB / 0.6533 GB, free: 56.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.251e-05/0.2809, allocations: 7.578 kB / 0.6533 GB, free: 56.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.2809, allocations: 0 / 0.6533 GB, free: 56.12 MB / 0.5606 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 9.367e-05/0.281, allocations: 144.3 kB / 0.6535 GB, free: 56 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.281, allocations: 26.7 kB / 0.6535 GB, free: 55.99 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002294/0.2813, allocations: 133 kB / 0.6536 GB, free: 55.96 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.2813, allocations: 7.438 kB / 0.6536 GB, free: 55.96 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.2813, allocations: 0.6562 kB / 0.6536 GB, free: 55.96 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.2813, allocations: 0.75 kB / 0.6536 GB, free: 55.96 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.2814, allocations: 161.5 kB / 0.6538 GB, free: 55.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.2814, allocations: 6.781 kB / 0.6538 GB, free: 55.83 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.868e-05/0.2814, allocations: 10.78 kB / 0.6538 GB, free: 55.83 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2814, allocations: 1.859 kB / 0.6538 GB, free: 55.83 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.2814, allocations: 4.5 kB / 0.6538 GB, free: 55.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.2815, allocations: 4.062 kB / 0.6538 GB, free: 55.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2815, allocations: 0 / 0.6538 GB, free: 55.83 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001928/0.2816, allocations: 154.3 kB / 0.6539 GB, free: 55.76 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.556e-05/0.2817, allocations: 15.55 kB / 0.654 GB, free: 55.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.2817, allocations: 12.66 kB / 0.654 GB, free: 55.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.187e-05/0.2818, allocations: 6.688 kB / 0.654 GB, free: 55.74 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.2818, allocations: 3.141 kB / 0.654 GB, free: 55.74 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.2818, allocations: 4.094 kB / 0.654 GB, free: 55.74 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001414/0.2819, allocations: 212.7 kB / 0.6542 GB, free: 55.64 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2819, allocations: 0.5312 kB / 0.6542 GB, free: 55.64 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002448/0.2822, allocations: 35.91 kB / 0.6542 GB, free: 55.63 MB / 0.5606 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 (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.001593/0.2838, allocations: 455.2 kB / 0.6547 GB, free: 55.53 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002027/0.284, allocations: 66.08 kB / 0.6547 GB, free: 55.51 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.284, allocations: 3.656 kB / 0.6547 GB, free: 55.51 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.496e-05/0.2841, allocations: 37.16 kB / 0.6548 GB, free: 55.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.2843, allocations: 41.39 kB / 0.6548 GB, free: 55.48 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004726/0.2848, allocations: 321 kB / 0.6551 GB, free: 55.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.358e-05/0.2849, allocations: 118.8 kB / 0.6552 GB, free: 55.22 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.816e-05/0.2849, allocations: 22.41 kB / 0.6552 GB, free: 55.22 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.127e-05/0.285, allocations: 18.03 kB / 0.6553 GB, free: 55.21 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.285, allocations: 3.938 kB / 0.6553 GB, free: 55.21 MB / 0.5606 GB Notification: Performance of Templates: time 0.005347/0.2903, allocations: 2.415 MB / 0.6576 GB, free: 54.96 MB / 0.5606 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.850014410912991] Failed to read output from testmodel.py, exit status != 0: 0.29764411598443985 0.307481425 0.29719942999999993 Calling exit ...