Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009654/0.0009653, allocations: 115.3 kB / 15.34 MB, free: 0.5117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009469/0.0009471, allocations: 193.3 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.196/1.196, allocations: 205.1 MB / 222.1 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.296/1.296, allocations: 251.6 MB / 0.5089 GB, free: 3.348 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 71.89 kB / 0.6217 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3535, allocations: 104.7 MB / 0.724 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002936/0.3564, allocations: 1.836 MB / 0.7258 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001418/0.3579, allocations: 1.019 MB / 0.7268 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.917e-05/0.358, allocations: 0 / 0.7268 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003273/0.3583, allocations: 51.81 kB / 0.7268 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001967/0.3585, allocations: 75.73 kB / 0.7269 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004375/0.359, allocations: 183.2 kB / 0.7271 GB, free: 9.961 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.3592, allocations: 143.6 kB / 0.7272 GB, free: 9.82 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.299e-05/0.3592, allocations: 25.09 kB / 0.7272 GB, free: 9.793 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.335e-05/0.3593, allocations: 71.64 kB / 0.7273 GB, free: 9.723 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.713e-05/0.3594, allocations: 63.75 kB / 0.7274 GB, free: 9.66 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.3594, allocations: 4 kB / 0.7274 GB, free: 9.656 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.3596, allocations: 67.95 kB / 0.7274 GB, free: 9.59 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.766e-05/0.3596, allocations: 43.84 kB / 0.7275 GB, free: 9.547 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.618e-05/0.3597, allocations: 55.61 kB / 0.7275 GB, free: 9.492 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002129/0.3599, allocations: 205.4 kB / 0.7277 GB, free: 9.293 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.3599, allocations: 3.938 kB / 0.7277 GB, free: 9.289 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.01e-07/0.3599, allocations: 0 / 0.7277 GB, free: 9.289 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.3599, allocations: 0 / 0.7277 GB, free: 9.289 MB / 0.545 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.0005663/0.3605, allocations: 484.4 kB / 0.7282 GB, free: 8.762 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.924e-05/0.3605, allocations: 8.031 kB / 0.7282 GB, free: 8.754 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.564e-05/0.3606, allocations: 16.75 kB / 0.7282 GB, free: 8.738 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.3608, allocations: 260.7 kB / 0.7284 GB, free: 8.445 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.3608, allocations: 384 / 0.7284 GB, free: 8.445 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.3609, allocations: 12.12 kB / 0.7285 GB, free: 8.434 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.361, allocations: 92.17 kB / 0.7285 GB, free: 8.328 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.3611, allocations: 0 / 0.7285 GB, free: 8.328 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.3611, allocations: 4 kB / 0.7286 GB, free: 8.324 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.3611, allocations: 4 kB / 0.7286 GB, free: 8.32 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.327e-05/0.3612, allocations: 31.97 kB / 0.7286 GB, free: 8.289 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004177/0.3616, allocations: 352.8 kB / 0.7289 GB, free: 7.895 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.3618, allocations: 94.62 kB / 0.729 GB, free: 7.793 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.423e-05/0.3619, allocations: 36.78 kB / 0.729 GB, free: 7.754 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.3619, allocations: 0 / 0.729 GB, free: 7.754 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001505/0.3621, allocations: 83.38 kB / 0.7291 GB, free: 7.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/0.3621, allocations: 0 / 0.7291 GB, free: 7.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.000307/0.3624, allocations: 149.4 kB / 0.7293 GB, free: 7.508 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.3624, allocations: 102.8 kB / 0.7294 GB, free: 7.383 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.3627, allocations: 262.9 kB / 0.7296 GB, free: 7.117 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.3627, allocations: 29.7 kB / 0.7296 GB, free: 7.082 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.824e-05/0.3628, allocations: 112.1 kB / 0.7298 GB, free: 6.969 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.3628, allocations: 23.73 kB / 0.7298 GB, free: 6.945 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.056e-05/0.3628, allocations: 33.7 kB / 0.7298 GB, free: 6.906 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.886e-05/0.3629, allocations: 326.8 kB / 0.7301 GB, free: 6.578 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.415e-05/0.363, allocations: 27.98 kB / 0.7301 GB, free: 6.551 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.941e-05/0.3631, allocations: 68.22 kB / 0.7302 GB, free: 6.469 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.3632, allocations: 73.69 kB / 0.7303 GB, free: 6.391 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3632, allocations: 0 / 0.7303 GB, free: 6.391 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001838/0.3634, allocations: 121.7 kB / 0.7304 GB, free: 6.266 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.3635, allocations: 6.188 kB / 0.7304 GB, free: 6.262 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3635, allocations: 0 / 0.7304 GB, free: 6.262 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.318e-06/0.3635, allocations: 4 kB / 0.7304 GB, free: 6.258 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.649e-05/0.3636, allocations: 15.98 kB / 0.7304 GB, free: 6.242 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.3636, allocations: 0 / 0.7304 GB, free: 6.242 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.812e-05/0.3636, allocations: 11.84 kB / 0.7304 GB, free: 6.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.3637, allocations: 12.03 kB / 0.7304 GB, free: 6.219 MB / 0.545 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.0001008/0.3638, allocations: 135.2 kB / 0.7306 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.3638, allocations: 15.81 kB / 0.7306 GB, free: 6.062 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.115e-05/0.3638, allocations: 29.33 kB / 0.7306 GB, free: 6.031 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.3639, allocations: 0 / 0.7306 GB, free: 6.031 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.3639, allocations: 4 kB / 0.7306 GB, free: 6.027 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3639, allocations: 3.938 kB / 0.7306 GB, free: 6.023 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.364, allocations: 217.5 kB / 0.7308 GB, free: 5.762 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.364, allocations: 0 / 0.7308 GB, free: 5.762 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.751e-05/0.3641, allocations: 15.97 kB / 0.7308 GB, free: 5.746 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.3641, allocations: 3.984 kB / 0.7309 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.3641, allocations: 4 kB / 0.7309 GB, free: 5.738 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3641, allocations: 192 / 0.7309 GB, free: 5.738 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3641, allocations: 0 / 0.7309 GB, free: 5.738 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002055/0.3643, allocations: 152.8 kB / 0.731 GB, free: 5.57 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.917e-05/0.3644, allocations: 88.92 kB / 0.7311 GB, free: 5.465 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.3644, allocations: 3.984 kB / 0.7311 GB, free: 5.461 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.25e-05/0.3645, allocations: 12 kB / 0.7311 GB, free: 5.449 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.3645, allocations: 7.984 kB / 0.7311 GB, free: 5.441 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.3645, allocations: 11.88 kB / 0.7311 GB, free: 5.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001512/0.3647, allocations: 196.4 kB / 0.7313 GB, free: 5.238 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3647, allocations: 0 / 0.7313 GB, free: 5.238 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002168/0.3649, allocations: 35.98 kB / 0.7313 GB, free: 5.203 MB / 0.545 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.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent) * 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.0007893/0.3657, allocations: 423.1 kB / 0.7317 GB, free: 4.941 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001892/0.3659, allocations: 79.84 kB / 0.7318 GB, free: 4.863 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3659, allocations: 3.938 kB / 0.7318 GB, free: 4.859 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.428e-05/0.366, allocations: 31.98 kB / 0.7319 GB, free: 4.828 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.3663, allocations: 36.98 kB / 0.7319 GB, free: 4.793 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004217/0.3667, allocations: 334.8 kB / 0.7322 GB, free: 4.438 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.367, allocations: 0.7201 MB / 0.7329 GB, free: 3.691 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.26e-05/0.367, allocations: 29.38 kB / 0.7329 GB, free: 3.664 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.913e-05/0.3671, allocations: 19.44 kB / 0.733 GB, free: 3.645 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.3671, allocations: 0 / 0.733 GB, free: 3.645 MB / 0.545 GB Notification: Performance of Templates: time 0.004517/0.3716, allocations: 2.515 MB / 0.7354 GB, free: 1.164 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)