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.004754/0.004754, allocations: 101.8 kB / 15.73 MB, free: 6.043 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.001142/0.001142, allocations: 184.9 kB / 16.67 MB, free: 5.977 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.265/1.265, allocations: 205.1 MB / 222.6 MB, free: 4.484 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.404/1.404, allocations: 251.7 MB / 0.5094 GB, free: 3.023 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.001372/0.001372, allocations: 71.89 kB / 0.7258 GB, free: 9.102 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.17, allocations: 104.7 MB / 0.828 GB, free: 304 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002816/0.1729, allocations: 1.768 MB / 0.8298 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001486/0.1744, allocations: 1.031 MB / 0.8308 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.672e-05/0.1745, allocations: 3.938 kB / 0.8308 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002872/0.1748, allocations: 59.73 kB / 0.8308 GB, free: 13.41 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002517/0.1751, allocations: 71.67 kB / 0.8309 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000568/0.1757, allocations: 209.1 kB / 0.8311 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.1759, allocations: 147.6 kB / 0.8312 GB, free: 13 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.176, allocations: 29.05 kB / 0.8313 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.1761, allocations: 67.69 kB / 0.8313 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.1762, allocations: 67.75 kB / 0.8314 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.1763, allocations: 8 kB / 0.8314 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.1764, allocations: 71.95 kB / 0.8315 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.447e-05/0.1765, allocations: 43.83 kB / 0.8315 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.921e-05/0.1766, allocations: 55.61 kB / 0.8316 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002823/0.1769, allocations: 191.5 kB / 0.8318 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1769, allocations: 0 / 0.8318 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1769, allocations: 0 / 0.8318 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.1769, allocations: 0 / 0.8318 GB, free: 12.47 MB / 0.6544 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.0006451/0.1776, allocations: 0.4885 MB / 0.8322 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.1776, allocations: 8.031 kB / 0.8322 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.22e-05/0.1777, allocations: 16.75 kB / 0.8323 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003441/0.178, allocations: 256.8 kB / 0.8325 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.178, allocations: 4.312 kB / 0.8325 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.1781, allocations: 8.125 kB / 0.8325 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.1783, allocations: 96.17 kB / 0.8326 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.1783, allocations: 4 kB / 0.8326 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.1783, allocations: 3.984 kB / 0.8326 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.1783, allocations: 4 kB / 0.8326 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.1784, allocations: 31.92 kB / 0.8326 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004553/0.1789, allocations: 352.7 kB / 0.833 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.1791, allocations: 94.66 kB / 0.8331 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.865e-05/0.1792, allocations: 36.83 kB / 0.8331 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.1792, allocations: 0 / 0.8331 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001558/0.1794, allocations: 83.41 kB / 0.8332 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.1794, allocations: 0 / 0.8332 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0003357/0.1797, allocations: 133.5 kB / 0.8333 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.1798, allocations: 106.8 kB / 0.8334 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/0.18, allocations: 266.9 kB / 0.8337 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.18, allocations: 29.7 kB / 0.8337 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.552e-05/0.1801, allocations: 116.1 kB / 0.8338 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.1801, allocations: 23.73 kB / 0.8338 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-05/0.1802, allocations: 25.7 kB / 0.8339 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.458e-05/0.1803, allocations: 330.8 kB / 0.8342 GB, free: 9.746 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.757e-05/0.1804, allocations: 23.98 kB / 0.8342 GB, free: 9.723 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.761e-05/0.1805, allocations: 80.2 kB / 0.8343 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.1806, allocations: 65.7 kB / 0.8343 GB, free: 9.559 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1806, allocations: 0 / 0.8343 GB, free: 9.559 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001981/0.1808, allocations: 105.4 kB / 0.8344 GB, free: 9.449 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.1808, allocations: 8 kB / 0.8344 GB, free: 9.441 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.1809, allocations: 4.016 kB / 0.8344 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.1809, allocations: 4 kB / 0.8344 GB, free: 9.434 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.053e-05/0.181, allocations: 16 kB / 0.8345 GB, free: 9.418 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-06/0.181, allocations: 0 / 0.8345 GB, free: 9.418 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.395e-05/0.181, allocations: 11.84 kB / 0.8345 GB, free: 9.406 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.1811, allocations: 11.92 kB / 0.8345 GB, free: 9.395 MB / 0.6544 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.0001244/0.1812, allocations: 153.7 kB / 0.8346 GB, free: 9.234 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/0.1812, allocations: 15.81 kB / 0.8346 GB, free: 9.219 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.232e-05/0.1813, allocations: 17.41 kB / 0.8347 GB, free: 9.199 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/0.1813, allocations: 7.984 kB / 0.8347 GB, free: 9.191 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1813, allocations: 0 / 0.8347 GB, free: 9.191 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1813, allocations: 3.938 kB / 0.8347 GB, free: 9.188 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.1815, allocations: 221.6 kB / 0.8349 GB, free: 8.922 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1815, allocations: 0 / 0.8349 GB, free: 8.922 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.798e-05/0.1815, allocations: 4 kB / 0.8349 GB, free: 8.918 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1815, allocations: 192 / 0.8349 GB, free: 8.918 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.1816, allocations: 4 kB / 0.8349 GB, free: 8.914 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.1816, allocations: 8.312 kB / 0.8349 GB, free: 8.906 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1816, allocations: 0 / 0.8349 GB, free: 8.906 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.1818, allocations: 148.8 kB / 0.835 GB, free: 8.742 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.173e-05/0.1819, allocations: 104.9 kB / 0.8351 GB, free: 8.621 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.1819, allocations: 4 kB / 0.8351 GB, free: 8.617 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.152e-05/0.1819, allocations: 4 kB / 0.8352 GB, free: 8.613 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/0.182, allocations: 11.98 kB / 0.8352 GB, free: 8.602 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.182, allocations: 7.938 kB / 0.8352 GB, free: 8.594 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001514/0.1822, allocations: 192.6 kB / 0.8354 GB, free: 8.406 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1822, allocations: 4 kB / 0.8354 GB, free: 8.402 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002366/0.1824, allocations: 36 kB / 0.8354 GB, free: 8.367 MB / 0.6544 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.000879/0.1833, allocations: 425.5 kB / 0.8358 GB, free: 8.105 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002117/0.1835, allocations: 67.91 kB / 0.8359 GB, free: 8.039 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1835, allocations: 0 / 0.8359 GB, free: 8.039 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.501e-05/0.1836, allocations: 39.98 kB / 0.8359 GB, free: 8 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.1839, allocations: 37.78 kB / 0.8359 GB, free: 7.965 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004654/0.1844, allocations: 290.9 kB / 0.8362 GB, free: 7.656 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.1846, allocations: 0.7201 MB / 0.8369 GB, free: 6.91 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.267e-05/0.1847, allocations: 25.38 kB / 0.8369 GB, free: 6.887 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.344e-05/0.1847, allocations: 23.44 kB / 0.837 GB, free: 6.863 MB / 0.6544 GB Notification: Performance of SimCode: time 3.91e-07/0.1848, allocations: 0 / 0.837 GB, free: 6.863 MB / 0.6544 GB Notification: Performance of Templates: time 0.005336/0.1901, allocations: 2.556 MB / 0.8395 GB, free: 4.332 MB / 0.6544 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)