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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.6 MB / 249.4 MB, free: 3.309 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002383/0.002383, allocations: 285.7 kB / 304.8 MB, free: 3.469 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.08/1.08, allocations: 180.9 MB / 0.5282 GB, free: 2.008 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002778/0.002778, allocations: 99.84 kB / 0.7283 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5288/0.5316, allocations: 94.16 MB / 0.8203 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.002701/0.5343, allocations: 1.815 MB / 0.8221 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001379/0.5357, allocations: 1.034 MB / 0.8231 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.086e-05/0.5357, allocations: 3.938 kB / 0.8231 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000544/0.5363, allocations: 173.7 kB / 0.8232 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002446/0.5365, allocations: 116.2 kB / 0.8234 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003787/0.5369, allocations: 170.4 kB / 0.8235 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001905/0.5371, allocations: 159.5 kB / 0.8237 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.305e-05/0.5372, allocations: 15.16 kB / 0.8237 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.676e-05/0.5373, allocations: 78.56 kB / 0.8238 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.5374, allocations: 74.55 kB / 0.8238 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.5374, allocations: 8.031 kB / 0.8238 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.5376, allocations: 62.95 kB / 0.8239 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.061e-05/0.5376, allocations: 48.05 kB / 0.8239 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.862e-05/0.5377, allocations: 62.14 kB / 0.824 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.538, allocations: 197.8 kB / 0.8242 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.538, allocations: 0 / 0.8242 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.132e-06/0.538, allocations: 0 / 0.8242 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.538, allocations: 0 / 0.8242 GB, free: 5.102 MB / 0.5762 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.0005863/0.5386, allocations: 0.4925 MB / 0.8247 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.5386, allocations: 10.53 kB / 0.8247 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.423e-05/0.5387, allocations: 16.91 kB / 0.8247 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.5389, allocations: 250.1 kB / 0.8249 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.5389, allocations: 4.828 kB / 0.8249 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.5389, allocations: 8.734 kB / 0.8249 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.5391, allocations: 91.8 kB / 0.825 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.5391, allocations: 4 kB / 0.825 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.5391, allocations: 0 / 0.825 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.5392, allocations: 3.5 kB / 0.825 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.534e-05/0.5393, allocations: 45.42 kB / 0.8251 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004769/0.5397, allocations: 345 kB / 0.8254 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.5399, allocations: 71.22 kB / 0.8255 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.568e-05/0.54, allocations: 34.69 kB / 0.8255 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.54, allocations: 2.781 kB / 0.8255 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000177/0.5402, allocations: 81.06 kB / 0.8256 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.5402, allocations: 0 / 0.8256 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0003444/0.5405, allocations: 147.9 kB / 0.8257 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.5406, allocations: 81.86 kB / 0.8258 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/0.5408, allocations: 261.2 kB / 0.8261 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.5409, allocations: 25.7 kB / 0.8261 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.745e-05/0.5409, allocations: 119.9 kB / 0.8262 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.5409, allocations: 25.39 kB / 0.8262 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-05/0.541, allocations: 32.12 kB / 0.8263 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.848e-05/0.541, allocations: 326.8 kB / 0.8266 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.582e-05/0.5411, allocations: 27.92 kB / 0.8266 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.956e-05/0.5412, allocations: 66.75 kB / 0.8267 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.5413, allocations: 67.72 kB / 0.8267 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5413, allocations: 1.156 kB / 0.8267 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00018/0.5415, allocations: 120.3 kB / 0.8268 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.5415, allocations: 5.281 kB / 0.8268 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.5415, allocations: 0.6094 kB / 0.8268 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.5415, allocations: 4.062 kB / 0.8269 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.069e-05/0.5416, allocations: 14.44 kB / 0.8269 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.5416, allocations: 4.719 kB / 0.8269 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.766e-05/0.5417, allocations: 12.28 kB / 0.8269 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.5417, allocations: 0.7031 kB / 0.8269 GB, free: 2.848 MB / 0.5762 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 0.0001035/0.5418, allocations: 147.2 kB / 0.827 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.5418, allocations: 16.98 kB / 0.827 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002498/0.5421, allocations: 136.7 kB / 0.8272 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.5421, allocations: 3.125 kB / 0.8272 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.5421, allocations: 0 / 0.8272 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.5421, allocations: 4.734 kB / 0.8272 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.5423, allocations: 220.1 kB / 0.8274 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.5423, allocations: 0.6094 kB / 0.8274 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.155e-05/0.5423, allocations: 3.703 kB / 0.8274 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.5423, allocations: 0 / 0.8274 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.5423, allocations: 3.047 kB / 0.8274 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.5423, allocations: 0 / 0.8274 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.5423, allocations: 0.6562 kB / 0.8274 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/0.5425, allocations: 151.6 kB / 0.8275 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.69e-05/0.5426, allocations: 96.94 kB / 0.8276 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.5426, allocations: 1.125 kB / 0.8276 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.03e-05/0.5426, allocations: 4.328 kB / 0.8276 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.5427, allocations: 10.16 kB / 0.8276 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.5427, allocations: 7.141 kB / 0.8277 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001622/0.5428, allocations: 193.3 kB / 0.8278 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.5428, allocations: 4 kB / 0.8278 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002498/0.5431, allocations: 37.41 kB / 0.8279 GB, free: 2.074 MB / 0.5762 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 (7): * Single equations (assignments): 4 * 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.001503/0.5446, allocations: 427 kB / 0.8283 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002291/0.5448, allocations: 69.45 kB / 0.8283 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5448, allocations: 0 / 0.8283 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.679e-05/0.5449, allocations: 39.38 kB / 0.8284 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.5452, allocations: 43.61 kB / 0.8284 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004696/0.5457, allocations: 310.4 kB / 0.8287 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.5458, allocations: 0.7197 MB / 0.8294 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.884e-05/0.5459, allocations: 28.62 kB / 0.8295 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.864e-05/0.5459, allocations: 17.83 kB / 0.8295 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of SimCode: time 4.51e-07/0.5459, allocations: 0 / 0.8295 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of Templates: time 0.006156/0.5521, allocations: 2.321 MB / 0.8317 GB, free: 0.6719 MB / 0.5762 GB " [Timeout remaining time 659] 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: 6.503872224129736]