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.001011/0.001011, 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.00118/0.00118, allocations: 173 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.9655/0.9655, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.001647/0.001647, allocations: 244.5 kB / 260.2 MB, free: 12.81 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.7734/0.7734, allocations: 138.4 MB / 455.2 MB, free: 29.98 MB / 410.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.764e-06/1.764e-06, allocations: 3.938 kB / 0.5551 GB, free: 140 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.922e-05/2.098e-05, allocations: 7.234 kB / 0.5551 GB, free: 136 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.002173/0.002194, allocations: 1.844 MB / 0.5569 GB, free: 14.27 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.003521, allocations: 1.15 MB / 0.558 GB, free: 13.11 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.712e-05/0.003598, allocations: 4 kB / 0.558 GB, free: 13.1 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00044/0.004038, allocations: 171.3 kB / 0.5582 GB, free: 12.93 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002601/0.004298, allocations: 167.3 kB / 0.5584 GB, free: 12.77 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.004541, allocations: 139.5 kB / 0.5585 GB, free: 12.63 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.004697, allocations: 179.5 kB / 0.5587 GB, free: 12.46 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.339e-05/0.004761, allocations: 21.08 kB / 0.5587 GB, free: 12.44 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.239e-05/0.004853, allocations: 99.72 kB / 0.5588 GB, free: 12.34 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.44e-05/0.004937, allocations: 71.8 kB / 0.5588 GB, free: 12.27 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.004955, allocations: 8 kB / 0.5588 GB, free: 12.26 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.005056, allocations: 67.88 kB / 0.5589 GB, free: 12.2 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.961e-05/0.005105, allocations: 47.84 kB / 0.559 GB, free: 12.15 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.773e-05/0.005143, allocations: 31.91 kB / 0.559 GB, free: 12.12 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.005325, allocations: 159.3 kB / 0.5591 GB, free: 11.96 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.005327, allocations: 0 / 0.5591 GB, free: 11.96 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.005328, allocations: 0 / 0.5591 GB, free: 11.96 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.956e-06/0.00533, allocations: 0 / 0.5591 GB, free: 11.96 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.0004518/0.005782, allocations: 0.5246 MB / 0.5597 GB, free: 11.39 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.772e-05/0.00581, allocations: 13.94 kB / 0.5597 GB, free: 11.38 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.212e-05/0.005852, allocations: 20.84 kB / 0.5597 GB, free: 11.36 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.006047, allocations: 209.6 kB / 0.5599 GB, free: 11.13 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.006063, allocations: 4.375 kB / 0.5599 GB, free: 11.12 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-06/0.006073, allocations: 4.359 kB / 0.5599 GB, free: 11.12 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.687e-05/0.00617, allocations: 54.23 kB / 0.5599 GB, free: 11.06 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.006177, allocations: 3.938 kB / 0.56 GB, free: 11.06 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.625e-06/0.006185, allocations: 0 / 0.56 GB, free: 11.06 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/0.006203, allocations: 7.938 kB / 0.56 GB, free: 11.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.906e-05/0.006242, allocations: 27.92 kB / 0.56 GB, free: 11.03 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003178/0.00656, allocations: 343.6 kB / 0.5603 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.385e-05/0.006654, allocations: 63.05 kB / 0.5604 GB, free: 10.58 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.803e-05/0.006682, allocations: 15.69 kB / 0.5604 GB, free: 10.56 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.006691, allocations: 4 kB / 0.5604 GB, free: 10.56 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.004e-05/0.006781, allocations: 77.02 kB / 0.5605 GB, free: 10.47 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 1.223e-06/0.006782, allocations: 0 / 0.5605 GB, free: 10.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001857/0.006968, allocations: 113.5 kB / 0.5606 GB, free: 10.35 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.006994, allocations: 51.41 kB / 0.5606 GB, free: 10.29 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003026/0.007296, allocations: 285.7 kB / 0.5609 GB, free: 9.992 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.007311, allocations: 33.7 kB / 0.5609 GB, free: 9.953 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.723e-05/0.007378, allocations: 166.9 kB / 0.5611 GB, free: 9.785 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.007403, allocations: 23.8 kB / 0.5611 GB, free: 9.762 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-05/0.007439, allocations: 31.36 kB / 0.5611 GB, free: 9.723 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.007574, allocations: 0.5079 MB / 0.5616 GB, free: 9.203 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.299e-05/0.007597, allocations: 8 kB / 0.5616 GB, free: 9.195 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.704e-05/0.007654, allocations: 72.69 kB / 0.5617 GB, free: 9.105 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.024e-05/0.007714, allocations: 47.31 kB / 0.5618 GB, free: 9.051 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.007716, allocations: 112 / 0.5618 GB, free: 9.051 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001277/0.007843, allocations: 109.4 kB / 0.5619 GB, free: 8.938 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.00786, allocations: 8 kB / 0.5619 GB, free: 8.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.007867, allocations: 0 / 0.5619 GB, free: 8.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.00788, allocations: 0 / 0.5619 GB, free: 8.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.784e-05/0.007938, allocations: 11.94 kB / 0.5619 GB, free: 8.918 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.007945, allocations: 4 kB / 0.5619 GB, free: 8.914 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.767e-05/0.007983, allocations: 11.98 kB / 0.5619 GB, free: 8.902 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.627e-06/0.007991, allocations: 4 kB / 0.5619 GB, free: 8.898 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.161e-05/0.008073, allocations: 168.5 kB / 0.5621 GB, free: 8.723 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.128e-05/0.008094, allocations: 27.89 kB / 0.5621 GB, free: 8.695 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001387/0.008233, allocations: 95.78 kB / 0.5622 GB, free: 8.598 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.008245, allocations: 4 kB / 0.5622 GB, free: 8.594 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.008247, allocations: 0 / 0.5622 GB, free: 8.594 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.008251, allocations: 0 / 0.5622 GB, free: 8.594 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.008381, allocations: 188.4 kB / 0.5624 GB, free: 8.375 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.008382, allocations: 0 / 0.5624 GB, free: 8.375 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.84e-05/0.008401, allocations: 4 kB / 0.5624 GB, free: 8.371 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.008402, allocations: 0 / 0.5624 GB, free: 8.371 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.00841, allocations: 4 kB / 0.5624 GB, free: 8.367 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.008412, allocations: 4 kB / 0.5624 GB, free: 8.363 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.008413, allocations: 7.938 kB / 0.5624 GB, free: 8.355 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.008545, allocations: 133.2 kB / 0.5625 GB, free: 8.203 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.546e-05/0.00857, allocations: 23.84 kB / 0.5625 GB, free: 8.18 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.00859, allocations: 4 kB / 0.5625 GB, free: 8.176 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.391e-05/0.008614, allocations: 0 / 0.5625 GB, free: 8.176 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.008649, allocations: 11.98 kB / 0.5625 GB, free: 8.164 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.008657, allocations: 4 kB / 0.5625 GB, free: 8.16 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001191/0.008776, allocations: 195.1 kB / 0.5627 GB, free: 7.969 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008776, allocations: 0 / 0.5627 GB, free: 7.969 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001711/0.008947, allocations: 31.94 kB / 0.5628 GB, free: 7.938 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.0008869/0.009834, allocations: 401.5 kB / 0.5631 GB, free: 7.691 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001367/0.00997, allocations: 55.61 kB / 0.5632 GB, free: 7.633 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.009972, allocations: 0 / 0.5632 GB, free: 7.633 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.412e-05/0.01002, allocations: 39.55 kB / 0.5632 GB, free: 7.59 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.01021, allocations: 52.77 kB / 0.5633 GB, free: 7.543 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003635/0.01057, allocations: 281.8 kB / 0.5636 GB, free: 7.242 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.042e-05/0.01061, allocations: 75.81 kB / 0.5636 GB, free: 7.148 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.131e-05/0.01065, allocations: 21.47 kB / 0.5637 GB, free: 7.129 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.385e-05/0.01069, allocations: 20.56 kB / 0.5637 GB, free: 7.109 MB / 490.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01069, allocations: 0 / 0.5637 GB, free: 7.109 MB / 490.7 MB Notification: Performance of Templates: time 0.004222/0.01491, allocations: 2.607 MB / 0.5662 GB, free: 4.547 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.7012489601038396]