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.0009564/0.0009564, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001045/0.001045, allocations: 181 kB / 23.36 MB, free: 1.133 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.111/1.111, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.002498/0.002498, allocations: 249.8 kB / 260.5 MB, free: 12.69 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.7918/0.7918, allocations: 138.4 MB / 402.2 MB, free: 0.5547 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.934e-06/1.934e-06, allocations: 0 / 462.4 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.787e-05, allocations: 4.109 kB / 462.4 MB, free: 0.875 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.002901/0.002929, allocations: 1.895 MB / 464.3 MB, free: 15.66 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001707/0.004636, allocations: 1.155 MB / 465.4 MB, free: 14.94 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.445e-05/0.004721, allocations: 5.219 kB / 465.4 MB, free: 14.93 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005188/0.005239, allocations: 161.9 kB / 465.6 MB, free: 14.89 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00029/0.005529, allocations: 154.4 kB / 465.7 MB, free: 14.83 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003085/0.005838, allocations: 141 kB / 465.9 MB, free: 14.75 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.006047, allocations: 177.6 kB / 466 MB, free: 14.67 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.78e-05/0.006124, allocations: 18.42 kB / 466.1 MB, free: 14.66 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.006252, allocations: 93.75 kB / 466.1 MB, free: 14.62 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.006355, allocations: 64.36 kB / 466.2 MB, free: 14.61 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.006372, allocations: 8.625 kB / 466.2 MB, free: 14.61 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.006513, allocations: 80.5 kB / 466.3 MB, free: 14.58 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.135e-05/0.006575, allocations: 50.8 kB / 466.3 MB, free: 14.55 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.368e-05/0.006618, allocations: 31.67 kB / 466.4 MB, free: 14.54 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.00682, allocations: 163 kB / 466.5 MB, free: 14.43 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.006821, allocations: 3.938 kB / 466.5 MB, free: 14.43 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.006823, allocations: 0 / 466.5 MB, free: 14.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.006828, allocations: 4.688 kB / 466.5 MB, free: 14.42 MB / 426.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.0004601/0.007288, allocations: 400.8 kB / 466.9 MB, free: 14.01 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.79e-05/0.007315, allocations: 8.75 kB / 466.9 MB, free: 14 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/0.00735, allocations: 13.8 kB / 467 MB, free: 13.99 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.00753, allocations: 190.1 kB / 467.1 MB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.007544, allocations: 6.344 kB / 467.2 MB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.007553, allocations: 4.375 kB / 467.2 MB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.482e-05/0.007648, allocations: 60.94 kB / 467.2 MB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.007663, allocations: 7.922 kB / 467.2 MB, free: 13.69 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.00767, allocations: 0.5156 kB / 467.2 MB, free: 13.69 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.007686, allocations: 4.969 kB / 467.2 MB, free: 13.69 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.716e-05/0.007713, allocations: 9.656 kB / 467.2 MB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00031/0.008023, allocations: 204 kB / 467.4 MB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.58e-05/0.008119, allocations: 93.28 kB / 467.5 MB, free: 13.36 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.064e-05/0.00814, allocations: 13.42 kB / 467.5 MB, free: 13.35 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.766e-06/0.008149, allocations: 5.156 kB / 467.5 MB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.848e-05/0.008237, allocations: 66.2 kB / 467.6 MB, free: 13.27 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.008239, allocations: 0 / 467.6 MB, free: 13.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001177/0.008356, allocations: 79.12 kB / 467.7 MB, free: 13.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.109e-05/0.008377, allocations: 57.03 kB / 467.7 MB, free: 13.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.00851, allocations: 216.1 kB / 468 MB, free: 12.89 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.008523, allocations: 29.7 kB / 468 MB, free: 12.86 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.917e-05/0.008562, allocations: 100.6 kB / 468.1 MB, free: 12.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.008586, allocations: 31.77 kB / 468.1 MB, free: 12.72 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.122e-05/0.008617, allocations: 31.91 kB / 468.1 MB, free: 12.69 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.63e-05/0.008693, allocations: 326.8 kB / 468.5 MB, free: 12.36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.536e-05/0.008709, allocations: 10.83 kB / 468.5 MB, free: 12.35 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.933e-05/0.008748, allocations: 61.66 kB / 468.5 MB, free: 12.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.332e-05/0.008791, allocations: 41.05 kB / 468.6 MB, free: 12.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.008793, allocations: 0.625 kB / 468.6 MB, free: 12.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 8.505e-05/0.008878, allocations: 78.67 kB / 468.7 MB, free: 12.14 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.008888, allocations: 4 kB / 468.7 MB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.008893, allocations: 80 / 468.7 MB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.008906, allocations: 4.109 kB / 468.7 MB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.173e-05/0.008958, allocations: 19.86 kB / 468.7 MB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.008962, allocations: 4.672 kB / 468.7 MB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.286e-05/0.008995, allocations: 13.16 kB / 468.7 MB, free: 12.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.009002, allocations: 4.594 kB / 468.7 MB, free: 12.1 MB / 426.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.173e-05/0.009073, allocations: 134.2 kB / 468.8 MB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.564e-05/0.009089, allocations: 15.92 kB / 468.8 MB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.14e-05/0.00918, allocations: 73.16 kB / 468.9 MB, free: 11.87 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.009189, allocations: 4 kB / 468.9 MB, free: 11.87 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-06/0.009191, allocations: 2.844 kB / 468.9 MB, free: 11.87 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.009194, allocations: 1.125 kB / 468.9 MB, free: 11.87 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.654e-05/0.009291, allocations: 105.8 kB / 469 MB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.009291, allocations: 4 kB / 469 MB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.655e-05/0.009308, allocations: 4.625 kB / 469 MB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.009309, allocations: 0 / 469 MB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.009315, allocations: 4.438 kB / 469 MB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.009316, allocations: 1.969 kB / 469 MB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.009317, allocations: 0 / 469 MB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.677e-05/0.009393, allocations: 106.7 kB / 469.1 MB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.788e-05/0.009411, allocations: 21.72 kB / 469.2 MB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.009428, allocations: 3.938 kB / 469.2 MB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.357e-05/0.009451, allocations: 10.47 kB / 469.2 MB, free: 11.58 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.237e-05/0.009474, allocations: 3.984 kB / 469.2 MB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.00948, allocations: 4 kB / 469.2 MB, free: 11.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.108e-05/0.009541, allocations: 72.33 kB / 469.3 MB, free: 11.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009541, allocations: 0 / 469.3 MB, free: 11.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001416/0.009683, allocations: 39.88 kB / 469.3 MB, free: 11.46 MB / 426.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.001143/0.01083, allocations: 0.5233 MB / 469.8 MB, free: 11.26 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.25e-05/0.01092, allocations: 40.78 kB / 469.9 MB, free: 11.22 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.01092, allocations: 0 / 469.9 MB, free: 11.22 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.186e-05/0.01095, allocations: 29.52 kB / 469.9 MB, free: 11.19 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.01109, allocations: 41.69 kB / 469.9 MB, free: 11.15 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003069/0.01139, allocations: 274.2 kB / 470.2 MB, free: 10.86 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.826e-05/0.01143, allocations: 75.83 kB / 470.3 MB, free: 10.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.282e-05/0.01147, allocations: 22.69 kB / 470.3 MB, free: 10.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.139e-05/0.01154, allocations: 72.27 kB / 470.4 MB, free: 10.68 MB / 426.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01155, allocations: 3.938 kB / 470.4 MB, free: 10.67 MB / 426.7 MB Notification: Performance of Templates: time 0.004165/0.01571, allocations: 2.645 MB / 473 MB, free: 8.289 MB / 426.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7594804181717336]