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.005027/0.005028, allocations: 101.2 kB / 15.73 MB, free: 6.059 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.001182/0.001182, allocations: 197 kB / 16.68 MB, free: 5.984 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.222/1.222, allocations: 205.1 MB / 222.6 MB, free: 4.52 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.374/1.374, allocations: 251.7 MB / 0.5094 GB, free: 3.074 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.001302/0.001302, allocations: 83.88 kB / 0.7258 GB, free: 8.996 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1845, allocations: 104.7 MB / 0.828 GB, free: 196 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002814/0.1874, allocations: 1.771 MB / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001444/0.1888, allocations: 1.034 MB / 0.8308 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.053e-05/0.1889, allocations: 3.938 kB / 0.8308 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002662/0.1892, allocations: 63.72 kB / 0.8308 GB, free: 13.3 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.000214/0.1894, allocations: 71.67 kB / 0.8309 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004678/0.1899, allocations: 199.1 kB / 0.8311 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000187/0.1901, allocations: 151.6 kB / 0.8313 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.282e-05/0.1902, allocations: 21.06 kB / 0.8313 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.591e-05/0.1903, allocations: 67.69 kB / 0.8313 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.84e-05/0.1904, allocations: 63.75 kB / 0.8314 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.1904, allocations: 4 kB / 0.8314 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.1906, allocations: 79.89 kB / 0.8315 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.307e-05/0.1906, allocations: 31.91 kB / 0.8315 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.036e-05/0.1907, allocations: 63.61 kB / 0.8316 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.191, allocations: 191.4 kB / 0.8318 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.191, allocations: 0 / 0.8318 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.252e-06/0.191, allocations: 0 / 0.8318 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.191, allocations: 4 kB / 0.8318 GB, free: 12.37 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.0005699/0.1916, allocations: 492.2 kB / 0.8322 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.1916, allocations: 12.03 kB / 0.8322 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.106e-05/0.1917, allocations: 12.75 kB / 0.8322 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002843/0.1919, allocations: 260.8 kB / 0.8325 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.192, allocations: 12.31 kB / 0.8325 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.192, allocations: 12.12 kB / 0.8325 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.1922, allocations: 96.11 kB / 0.8326 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.1922, allocations: 0 / 0.8326 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.1922, allocations: 0 / 0.8326 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.1922, allocations: 0 / 0.8326 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.1923, allocations: 39.97 kB / 0.8326 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004414/0.1928, allocations: 356.7 kB / 0.833 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.193, allocations: 82.66 kB / 0.8331 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.638e-05/0.1931, allocations: 32.84 kB / 0.8331 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.1931, allocations: 0 / 0.8331 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/0.1933, allocations: 87.41 kB / 0.8332 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.412e-06/0.1933, allocations: 0 / 0.8332 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0003278/0.1936, allocations: 141.4 kB / 0.8333 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.1937, allocations: 102.8 kB / 0.8334 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.1939, allocations: 266.9 kB / 0.8337 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.1939, allocations: 29.7 kB / 0.8337 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.998e-05/0.194, allocations: 112.1 kB / 0.8338 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.1941, allocations: 27.73 kB / 0.8338 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.562e-05/0.1941, allocations: 21.72 kB / 0.8339 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.808e-05/0.1942, allocations: 338.8 kB / 0.8342 GB, free: 9.641 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.885e-05/0.1943, allocations: 27.92 kB / 0.8342 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.673e-05/0.1944, allocations: 64.28 kB / 0.8343 GB, free: 9.535 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.1945, allocations: 73.69 kB / 0.8343 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1945, allocations: 0 / 0.8343 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000197/0.1947, allocations: 121.4 kB / 0.8344 GB, free: 9.332 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.1948, allocations: 4 kB / 0.8345 GB, free: 9.328 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1948, allocations: 0 / 0.8345 GB, free: 9.328 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.1948, allocations: 4 kB / 0.8345 GB, free: 9.324 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.937e-05/0.1949, allocations: 11.98 kB / 0.8345 GB, free: 9.312 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.1949, allocations: 4 kB / 0.8345 GB, free: 9.309 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.012e-05/0.195, allocations: 7.844 kB / 0.8345 GB, free: 9.301 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.195, allocations: 11.97 kB / 0.8345 GB, free: 9.289 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.0001129/0.1951, allocations: 149.9 kB / 0.8346 GB, free: 9.133 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.1951, allocations: 15.81 kB / 0.8346 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.813e-05/0.1952, allocations: 21.72 kB / 0.8347 GB, free: 9.094 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.948e-06/0.1952, allocations: 4 kB / 0.8347 GB, free: 9.09 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1952, allocations: 0 / 0.8347 GB, free: 9.09 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.1952, allocations: 3.938 kB / 0.8347 GB, free: 9.086 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.1954, allocations: 217.6 kB / 0.8349 GB, free: 8.824 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1954, allocations: 0 / 0.8349 GB, free: 8.824 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.125e-05/0.1954, allocations: 15.98 kB / 0.8349 GB, free: 8.809 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1954, allocations: 0 / 0.8349 GB, free: 8.809 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.1955, allocations: 3.984 kB / 0.8349 GB, free: 8.805 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1955, allocations: 0 / 0.8349 GB, free: 8.805 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1955, allocations: 0 / 0.8349 GB, free: 8.805 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.1957, allocations: 148.8 kB / 0.835 GB, free: 8.641 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.595e-05/0.1958, allocations: 96.86 kB / 0.8351 GB, free: 8.527 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.1958, allocations: 4 kB / 0.8351 GB, free: 8.523 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.06e-05/0.1958, allocations: 7.984 kB / 0.8351 GB, free: 8.516 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.1959, allocations: 11.98 kB / 0.8352 GB, free: 8.504 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.1959, allocations: 7.984 kB / 0.8352 GB, free: 8.496 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001589/0.1961, allocations: 192.6 kB / 0.8354 GB, free: 8.309 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.1961, allocations: 0 / 0.8354 GB, free: 8.309 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002319/0.1963, allocations: 35.98 kB / 0.8354 GB, free: 8.273 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.0008944/0.1972, allocations: 428.9 kB / 0.8358 GB, free: 8.008 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002103/0.1974, allocations: 75.91 kB / 0.8359 GB, free: 7.934 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1975, allocations: 0 / 0.8359 GB, free: 7.934 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.233e-05/0.1975, allocations: 31.98 kB / 0.8359 GB, free: 7.902 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.1978, allocations: 46.94 kB / 0.8359 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004703/0.1983, allocations: 290.9 kB / 0.8362 GB, free: 7.551 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.1986, allocations: 0.728 MB / 0.8369 GB, free: 6.797 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.534e-05/0.1986, allocations: 21.38 kB / 0.837 GB, free: 6.777 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.165e-05/0.1987, allocations: 19.44 kB / 0.837 GB, free: 6.758 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.1987, allocations: 3.938 kB / 0.837 GB, free: 6.754 MB / 0.6544 GB Notification: Performance of Templates: time 0.005151/0.2039, allocations: 2.546 MB / 0.8395 GB, free: 4.234 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)