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.006046/0.006046, allocations: 100.9 kB / 15.73 MB, free: 6.035 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.001244/0.001244, allocations: 197.9 kB / 16.68 MB, free: 5.953 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.231/1.231, allocations: 205.1 MB / 222.6 MB, free: 4.535 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.339/1.339, allocations: 251.7 MB / 0.5094 GB, free: 3.027 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.001245/0.001245, allocations: 75.89 kB / 0.7258 GB, free: 9.004 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1753, allocations: 104.7 MB / 0.828 GB, free: 200 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002842/0.1782, allocations: 1.772 MB / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.1797, allocations: 1.034 MB / 0.8308 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.744e-05/0.1798, allocations: 0 / 0.8308 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002677/0.1801, allocations: 59.67 kB / 0.8308 GB, free: 13.31 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.0002134/0.1803, allocations: 71.67 kB / 0.8309 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004852/0.1808, allocations: 206.9 kB / 0.8311 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000206/0.181, allocations: 139.7 kB / 0.8312 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.1811, allocations: 29.03 kB / 0.8313 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.592e-05/0.1812, allocations: 63.7 kB / 0.8313 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.793e-05/0.1813, allocations: 67.69 kB / 0.8314 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.1813, allocations: 8 kB / 0.8314 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.1815, allocations: 75.94 kB / 0.8315 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.831e-05/0.1816, allocations: 35.91 kB / 0.8315 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.088e-05/0.1817, allocations: 67.55 kB / 0.8316 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002576/0.1819, allocations: 187.5 kB / 0.8317 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.1819, allocations: 0 / 0.8317 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1819, allocations: 0 / 0.8317 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.182, allocations: 0 / 0.8317 GB, free: 12.38 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.0006824/0.1826, allocations: 496.3 kB / 0.8322 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.1827, allocations: 8.031 kB / 0.8322 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.394e-05/0.1827, allocations: 16.75 kB / 0.8322 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003267/0.1831, allocations: 264.7 kB / 0.8325 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.1831, allocations: 4.359 kB / 0.8325 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.1831, allocations: 12.12 kB / 0.8325 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.1833, allocations: 92.17 kB / 0.8326 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.026e-06/0.1833, allocations: 0 / 0.8326 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.1834, allocations: 3.938 kB / 0.8326 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/0.1834, allocations: 4 kB / 0.8326 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.1835, allocations: 35.97 kB / 0.8326 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004924/0.184, allocations: 352.8 kB / 0.833 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.1842, allocations: 86.7 kB / 0.8331 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.856e-05/0.1843, allocations: 28.84 kB / 0.8331 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.1843, allocations: 4 kB / 0.8331 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001744/0.1845, allocations: 95.34 kB / 0.8332 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.714e-06/0.1845, allocations: 0 / 0.8332 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0003629/0.1849, allocations: 137.4 kB / 0.8333 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/0.185, allocations: 106.8 kB / 0.8334 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/0.1852, allocations: 262.9 kB / 0.8337 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.1852, allocations: 29.7 kB / 0.8337 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.53e-05/0.1853, allocations: 116.1 kB / 0.8338 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.1854, allocations: 23.75 kB / 0.8338 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.715e-05/0.1854, allocations: 29.7 kB / 0.8339 GB, free: 9.973 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1855, allocations: 330.8 kB / 0.8342 GB, free: 9.641 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.764e-05/0.1856, allocations: 23.98 kB / 0.8342 GB, free: 9.617 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.904e-05/0.1857, allocations: 80.19 kB / 0.8343 GB, free: 9.523 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.1859, allocations: 65.7 kB / 0.8343 GB, free: 9.453 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1859, allocations: 4 kB / 0.8343 GB, free: 9.449 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002068/0.1861, allocations: 109.4 kB / 0.8344 GB, free: 9.336 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.1861, allocations: 8 kB / 0.8345 GB, free: 9.328 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1861, allocations: 0 / 0.8345 GB, free: 9.328 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.1862, allocations: 0 / 0.8345 GB, free: 9.328 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.637e-05/0.1863, allocations: 19.92 kB / 0.8345 GB, free: 9.309 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.1863, allocations: 0 / 0.8345 GB, free: 9.309 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.467e-05/0.1863, allocations: 15.88 kB / 0.8345 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.1864, allocations: 0 / 0.8345 GB, free: 9.293 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.0001353/0.1865, allocations: 145.8 kB / 0.8346 GB, free: 9.141 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.948e-05/0.1865, allocations: 19.8 kB / 0.8346 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.177e-05/0.1866, allocations: 21.34 kB / 0.8347 GB, free: 9.098 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.1866, allocations: 0 / 0.8347 GB, free: 9.098 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1866, allocations: 0 / 0.8347 GB, free: 9.098 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.1866, allocations: 7.922 kB / 0.8347 GB, free: 9.09 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.1868, allocations: 225.8 kB / 0.8349 GB, free: 8.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1868, allocations: 4 kB / 0.8349 GB, free: 8.816 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.649e-05/0.1869, allocations: 7.984 kB / 0.8349 GB, free: 8.809 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.1869, allocations: 3.984 kB / 0.8349 GB, free: 8.805 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.1869, allocations: 0 / 0.8349 GB, free: 8.805 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1869, allocations: 4 kB / 0.8349 GB, free: 8.801 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1869, allocations: 0 / 0.8349 GB, free: 8.801 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.1871, allocations: 136.8 kB / 0.835 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.26e-05/0.1872, allocations: 100.9 kB / 0.8351 GB, free: 8.531 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.1873, allocations: 7.984 kB / 0.8351 GB, free: 8.523 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.381e-05/0.1873, allocations: 8 kB / 0.8351 GB, free: 8.516 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.97e-05/0.1874, allocations: 11.98 kB / 0.8352 GB, free: 8.504 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.1874, allocations: 7.875 kB / 0.8352 GB, free: 8.496 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001719/0.1876, allocations: 192.6 kB / 0.8354 GB, free: 8.309 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1876, allocations: 0 / 0.8354 GB, free: 8.309 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002651/0.1879, allocations: 39.98 kB / 0.8354 GB, free: 8.27 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.001024/0.1889, allocations: 424.5 kB / 0.8358 GB, free: 8.008 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002061/0.1891, allocations: 71.95 kB / 0.8359 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1891, allocations: 0 / 0.8359 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.118e-05/0.1892, allocations: 39.92 kB / 0.8359 GB, free: 7.898 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.1895, allocations: 38.78 kB / 0.8359 GB, free: 7.863 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004709/0.19, allocations: 290.9 kB / 0.8362 GB, free: 7.555 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.1902, allocations: 0.7319 MB / 0.8369 GB, free: 6.797 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.678e-05/0.1903, allocations: 21.08 kB / 0.837 GB, free: 6.777 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.156e-05/0.1904, allocations: 15.44 kB / 0.837 GB, free: 6.762 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.1904, allocations: 0 / 0.837 GB, free: 6.762 MB / 0.6544 GB Notification: Performance of Templates: time 0.005292/0.1957, allocations: 2.554 MB / 0.8395 GB, free: 4.238 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)