Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.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.001856/0.001856, allocations: 100.3 kB / 19.72 MB, free: 424 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.00277/0.00277, allocations: 224.3 kB / 23.02 MB, free: 2.961 MB / 13.93 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.673/1.673, allocations: 230.6 MB / 256.8 MB, free: 9.617 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.388/3.388, allocations: 0.5045 GB / 0.8104 GB, free: 2.809 MB / 0.6511 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003819/0.003819, allocations: 69.47 kB / 1.177 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4244/0.4282, allocations: 180 MB / 1.353 GB, free: 8.668 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.004548/0.4328, allocations: 1.768 MB / 1.355 GB, free: 6.891 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.003064/0.4359, allocations: 1.192 MB / 1.356 GB, free: 5.691 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.436, allocations: 4 kB / 1.356 GB, free: 5.688 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003726/0.4363, allocations: 59.67 kB / 1.356 GB, free: 5.629 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.00047/0.4368, allocations: 127.5 kB / 1.356 GB, free: 5.504 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007234/0.4375, allocations: 193.5 kB / 1.356 GB, free: 5.316 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0003235/0.4378, allocations: 159.5 kB / 1.356 GB, free: 5.16 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.438, allocations: 21.61 kB / 1.356 GB, free: 5.137 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.4381, allocations: 71.7 kB / 1.356 GB, free: 5.066 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.4383, allocations: 63.73 kB / 1.356 GB, free: 5.004 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 3.004e-05/0.4383, allocations: 8 kB / 1.356 GB, free: 4.996 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000267/0.4386, allocations: 87.86 kB / 1.357 GB, free: 4.91 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 9.413e-05/0.4387, allocations: 31.86 kB / 1.357 GB, free: 4.879 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 9.604e-05/0.4388, allocations: 47.72 kB / 1.357 GB, free: 4.832 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004674/0.4393, allocations: 215.1 kB / 1.357 GB, free: 4.621 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.4393, allocations: 4 kB / 1.357 GB, free: 4.617 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4393, allocations: 0 / 1.357 GB, free: 4.617 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.4393, allocations: 0 / 1.357 GB, free: 4.617 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0009618/0.4402, allocations: 432.6 kB / 1.357 GB, free: 4.16 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.4403, allocations: 8.922 kB / 1.357 GB, free: 4.152 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.717e-05/0.4404, allocations: 16.84 kB / 1.357 GB, free: 4.137 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004375/0.4408, allocations: 198.1 kB / 1.357 GB, free: 3.918 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.4408, allocations: 4.375 kB / 1.357 GB, free: 3.914 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.4408, allocations: 8.125 kB / 1.357 GB, free: 3.906 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003053/0.4411, allocations: 125 kB / 1.358 GB, free: 3.766 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.4411, allocations: 0 / 1.358 GB, free: 3.766 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.4412, allocations: 0 / 1.358 GB, free: 3.766 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.4412, allocations: 0 / 1.358 GB, free: 3.766 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001725/0.4413, allocations: 39.97 kB / 1.358 GB, free: 3.727 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006604/0.442, allocations: 288.4 kB / 1.358 GB, free: 3.414 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003508/0.4424, allocations: 98.58 kB / 1.358 GB, free: 3.309 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.4425, allocations: 28.84 kB / 1.358 GB, free: 3.277 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.4425, allocations: 4.031 kB / 1.358 GB, free: 3.273 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002464/0.4427, allocations: 91.33 kB / 1.358 GB, free: 3.172 MB / 1.042 GB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.4427, allocations: 0 / 1.358 GB, free: 3.172 MB / 1.042 GB Notification: Performance of matching and sorting (n=8): time 0.0005274/0.4433, allocations: 141.5 kB / 1.358 GB, free: 3.027 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.3e-05/0.4434, allocations: 77.11 kB / 1.358 GB, free: 2.934 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004727/0.4438, allocations: 279.1 kB / 1.359 GB, free: 2.648 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.4439, allocations: 29.64 kB / 1.359 GB, free: 2.613 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.444, allocations: 128 kB / 1.359 GB, free: 2.484 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 4.167e-05/0.444, allocations: 19.83 kB / 1.359 GB, free: 2.465 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.927e-05/0.4441, allocations: 33.7 kB / 1.359 GB, free: 2.426 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0004022/0.4445, allocations: 334.8 kB / 1.359 GB, free: 2.09 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.4446, allocations: 31.98 kB / 1.359 GB, free: 2.059 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.4448, allocations: 110.8 kB / 1.359 GB, free: 1.926 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002316/0.4451, allocations: 73.69 kB / 1.359 GB, free: 1.848 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4451, allocations: 0 / 1.359 GB, free: 1.848 MB / 1.042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003486/0.4454, allocations: 117.8 kB / 1.359 GB, free: 1.727 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.4454, allocations: 6.344 kB / 1.359 GB, free: 1.723 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.4454, allocations: 0 / 1.359 GB, free: 1.723 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.4455, allocations: 0 / 1.359 GB, free: 1.723 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.4456, allocations: 23.98 kB / 1.359 GB, free: 1.699 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.4456, allocations: 4.062 kB / 1.359 GB, free: 1.695 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.357e-05/0.4457, allocations: 7.953 kB / 1.359 GB, free: 1.688 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.4457, allocations: 7.984 kB / 1.359 GB, free: 1.68 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.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.0002011/0.4459, allocations: 147.2 kB / 1.36 GB, free: 1.527 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.624e-05/0.446, allocations: 15.91 kB / 1.36 GB, free: 1.512 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004358/0.4464, allocations: 135 kB / 1.36 GB, free: 1.371 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.4464, allocations: 0 / 1.36 GB, free: 1.371 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4464, allocations: 0 / 1.36 GB, free: 1.371 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4464, allocations: 4 kB / 1.36 GB, free: 1.367 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002742/0.4467, allocations: 173.3 kB / 1.36 GB, free: 1.168 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.4467, allocations: 0 / 1.36 GB, free: 1.168 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.059e-05/0.4468, allocations: 7.938 kB / 1.36 GB, free: 1.16 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.4468, allocations: 0 / 1.36 GB, free: 1.16 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.4468, allocations: 4 kB / 1.36 GB, free: 1.156 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.4468, allocations: 3.984 kB / 1.36 GB, free: 1.152 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4468, allocations: 0 / 1.36 GB, free: 1.152 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003964/0.4472, allocations: 156.9 kB / 1.36 GB, free: 0.9805 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.994e-05/0.4472, allocations: 19.91 kB / 1.36 GB, free: 0.9609 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.115e-05/0.4473, allocations: 11.94 kB / 1.36 GB, free: 0.9492 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.899e-05/0.4473, allocations: 4 kB / 1.36 GB, free: 0.9453 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.162e-05/0.4474, allocations: 7.984 kB / 1.36 GB, free: 0.9375 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.4474, allocations: 3.984 kB / 1.36 GB, free: 0.9336 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0003138/0.4477, allocations: 200.7 kB / 1.36 GB, free: 0.7383 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4477, allocations: 0 / 1.36 GB, free: 0.7383 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0004182/0.4482, allocations: 39.92 kB / 1.36 GB, free: 0.6992 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEvent,intTab.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.003731/0.4519, allocations: 450 kB / 1.361 GB, free: 448 kB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0003455/0.4522, allocations: 75.84 kB / 1.361 GB, free: 372 kB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4522, allocations: 0 / 1.361 GB, free: 372 kB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.4524, allocations: 43.91 kB / 1.361 GB, free: 328 kB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004227/0.4528, allocations: 39.41 kB / 1.361 GB, free: 292 kB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008396/0.4536, allocations: 310.8 kB / 1.361 GB, free: 15.95 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001668/0.4538, allocations: 110.6 kB / 1.361 GB, free: 15.83 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0001202/0.4539, allocations: 29.78 kB / 1.361 GB, free: 15.8 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.586e-05/0.454, allocations: 15.44 kB / 1.361 GB, free: 15.78 MB / 1.057 GB Notification: Performance of SimCode: time 5.11e-07/0.454, allocations: 3.938 kB / 1.361 GB, free: 15.78 MB / 1.057 GB Notification: Performance of Templates: time 0.01249/0.4665, allocations: 2.766 MB / 1.364 GB, free: 13.05 MB / 1.057 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.20890685543418]