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.001177/0.001176, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001396/0.001396, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.85/1.85, allocations: 205.4 MB / 222.1 MB, free: 5.555 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.754/1.754, allocations: 251.9 MB / 0.51 GB, free: 4.922 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.0005552/0.0005555, allocations: 23.11 kB / 0.6241 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5997/0.6003, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002127/0.6025, allocations: 1.454 MB / 0.7294 GB, free: 9.977 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.6039, allocations: 0.9337 MB / 0.7303 GB, free: 9.035 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.534e-05/0.604, allocations: 0 / 0.7303 GB, free: 9.035 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002904/0.6043, allocations: 51.8 kB / 0.7303 GB, free: 8.984 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002019/0.6045, allocations: 63.78 kB / 0.7304 GB, free: 8.922 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005347/0.6051, allocations: 169.4 kB / 0.7306 GB, free: 8.758 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001813/0.6052, allocations: 87.81 kB / 0.7306 GB, free: 8.672 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.6054, allocations: 17.12 kB / 0.7307 GB, free: 8.652 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.44e-05/0.6055, allocations: 55.75 kB / 0.7307 GB, free: 8.598 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.111e-05/0.6056, allocations: 47.77 kB / 0.7308 GB, free: 8.551 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.6056, allocations: 8 kB / 0.7308 GB, free: 8.543 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.6057, allocations: 47.95 kB / 0.7308 GB, free: 8.496 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.493e-05/0.6058, allocations: 35.84 kB / 0.7309 GB, free: 8.461 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.899e-05/0.6059, allocations: 41.64 kB / 0.7309 GB, free: 8.414 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.6061, allocations: 153.6 kB / 0.731 GB, free: 8.266 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.6061, allocations: 0 / 0.731 GB, free: 8.266 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6061, allocations: 0 / 0.731 GB, free: 8.266 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.6061, allocations: 0 / 0.731 GB, free: 8.266 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.0006439/0.6067, allocations: 468.3 kB / 0.7315 GB, free: 7.754 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.6068, allocations: 12.03 kB / 0.7315 GB, free: 7.742 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.238e-05/0.6068, allocations: 23.77 kB / 0.7315 GB, free: 7.719 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003068/0.6072, allocations: 239.7 kB / 0.7317 GB, free: 7.441 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.6072, allocations: 11.98 kB / 0.7318 GB, free: 7.43 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.6072, allocations: 4 kB / 0.7318 GB, free: 7.426 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.6074, allocations: 88.22 kB / 0.7318 GB, free: 7.324 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.6074, allocations: 0 / 0.7318 GB, free: 7.324 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.6074, allocations: 11.94 kB / 0.7319 GB, free: 7.312 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.6075, allocations: 4 kB / 0.7319 GB, free: 7.309 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.6076, allocations: 43.8 kB / 0.7319 GB, free: 7.266 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005004/0.6081, allocations: 348.7 kB / 0.7322 GB, free: 6.875 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.6083, allocations: 86.69 kB / 0.7323 GB, free: 6.781 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.6084, allocations: 4 kB / 0.7323 GB, free: 6.777 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002048/0.6086, allocations: 83.44 kB / 0.7324 GB, free: 6.684 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.744e-06/0.6086, allocations: 0 / 0.7324 GB, free: 6.684 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0004115/0.609, allocations: 230.5 kB / 0.7326 GB, free: 6.434 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.842e-05/0.6091, allocations: 106.8 kB / 0.7327 GB, free: 6.305 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002557/0.6093, allocations: 263 kB / 0.733 GB, free: 6.039 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.6094, allocations: 29.7 kB / 0.733 GB, free: 6.004 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.89e-05/0.6095, allocations: 120 kB / 0.7331 GB, free: 5.883 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.6095, allocations: 19.75 kB / 0.7331 GB, free: 5.863 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/0.6095, allocations: 0 / 0.7331 GB, free: 5.863 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.6096, allocations: 326.8 kB / 0.7334 GB, free: 5.535 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.459e-05/0.6097, allocations: 23.98 kB / 0.7335 GB, free: 5.512 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.867e-05/0.6098, allocations: 68.27 kB / 0.7335 GB, free: 5.43 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.512e-05/0.6099, allocations: 39.92 kB / 0.7336 GB, free: 5.391 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.6099, allocations: 4 kB / 0.7336 GB, free: 5.387 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001939/0.6101, allocations: 105.5 kB / 0.7337 GB, free: 5.277 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.6101, allocations: 4 kB / 0.7337 GB, free: 5.273 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.6101, allocations: 7.953 kB / 0.7337 GB, free: 5.266 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.6102, allocations: 0 / 0.7337 GB, free: 5.266 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.676e-05/0.6103, allocations: 23.92 kB / 0.7337 GB, free: 5.242 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.6103, allocations: 0 / 0.7337 GB, free: 5.242 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.663e-05/0.6103, allocations: 11.94 kB / 0.7337 GB, free: 5.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.6104, allocations: 0 / 0.7337 GB, free: 5.23 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 ($whenCondition1,$PRE.intTab.combiTimeTable.nextTimeEvent,intTab.y,intTab.combiTimeTable.nextTimeEvent,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001313/0.6105, allocations: 143.2 kB / 0.7339 GB, free: 5.082 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.6105, allocations: 15.81 kB / 0.7339 GB, free: 5.066 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.575e-05/0.6106, allocations: 21.39 kB / 0.7339 GB, free: 5.043 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.6106, allocations: 3.953 kB / 0.7339 GB, free: 5.039 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.6106, allocations: 3.938 kB / 0.7339 GB, free: 5.035 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.6106, allocations: 0 / 0.7339 GB, free: 5.035 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/0.6108, allocations: 225.5 kB / 0.7341 GB, free: 4.766 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.6108, allocations: 4 kB / 0.7341 GB, free: 4.762 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.936e-05/0.6109, allocations: 7.984 kB / 0.7341 GB, free: 4.754 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.6109, allocations: 192 / 0.7341 GB, free: 4.754 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.6109, allocations: 3.984 kB / 0.7341 GB, free: 4.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.6109, allocations: 7.938 kB / 0.7341 GB, free: 4.742 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.6109, allocations: 3.953 kB / 0.7341 GB, free: 4.738 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.6111, allocations: 136.8 kB / 0.7343 GB, free: 4.586 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.905e-05/0.6112, allocations: 104.9 kB / 0.7344 GB, free: 4.465 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.6112, allocations: 0 / 0.7344 GB, free: 4.465 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.458e-05/0.6113, allocations: 4 kB / 0.7344 GB, free: 4.461 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.6114, allocations: 15.94 kB / 0.7344 GB, free: 4.445 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.6114, allocations: 4.047 kB / 0.7344 GB, free: 4.441 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001743/0.6116, allocations: 196.4 kB / 0.7346 GB, free: 4.25 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6116, allocations: 0 / 0.7346 GB, free: 4.25 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002438/0.6118, allocations: 28 kB / 0.7346 GB, free: 4.223 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000924/0.6127, allocations: 441.1 kB / 0.735 GB, free: 3.945 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000204/0.613, allocations: 71.91 kB / 0.7351 GB, free: 3.875 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.613, allocations: 0 / 0.7351 GB, free: 3.875 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.149e-05/0.6131, allocations: 31.98 kB / 0.7351 GB, free: 3.844 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.6133, allocations: 31.06 kB / 0.7352 GB, free: 3.816 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005269/0.6138, allocations: 322 kB / 0.7355 GB, free: 3.477 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.6141, allocations: 0.7321 MB / 0.7362 GB, free: 2.719 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.991e-05/0.6142, allocations: 25.38 kB / 0.7362 GB, free: 2.691 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.072e-05/0.6143, allocations: 15.44 kB / 0.7362 GB, free: 2.676 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.6143, allocations: 0 / 0.7362 GB, free: 2.676 MB / 0.545 GB Notification: Performance of Templates: time 0.005327/0.6196, allocations: 2.354 MB / 0.7385 GB, free: 360 kB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: