Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.723/1.723, allocations: 288.3 MB / 303.2 MB, free: 8.129 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001142/0.001142, allocations: 179.4 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.986/1.986, allocations: 205.4 MB / 0.6306 GB, free: 9.98 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001165/0.001166, allocations: 93.27 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003708/0.0003709, allocations: 24.89 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2007, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.001901/0.2027, allocations: 1.451 MB / 0.9808 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.204, allocations: 0.9104 MB / 0.9817 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.2041, allocations: 3.938 kB / 0.9817 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002741/0.2044, allocations: 59.78 kB / 0.9818 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000203/0.2046, allocations: 59.86 kB / 0.9818 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006085/0.2052, allocations: 167.4 kB / 0.982 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.2054, allocations: 87.83 kB / 0.9821 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.2056, allocations: 25.09 kB / 0.9821 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.2057, allocations: 55.77 kB / 0.9822 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.77e-05/0.2058, allocations: 43.83 kB / 0.9822 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.2058, allocations: 4 kB / 0.9822 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.2059, allocations: 55.83 kB / 0.9823 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.861e-05/0.206, allocations: 31.84 kB / 0.9823 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.593e-05/0.2061, allocations: 45.64 kB / 0.9823 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.2063, allocations: 148 kB / 0.9825 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.2063, allocations: 0 / 0.9825 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2063, allocations: 0 / 0.9825 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.2063, allocations: 4 kB / 0.9825 GB, free: 24.54 MB / 0.6198 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.0005873/0.2069, allocations: 472.2 kB / 0.9829 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.2069, allocations: 12.02 kB / 0.9829 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.785e-05/0.207, allocations: 19.77 kB / 0.983 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.2073, allocations: 243.7 kB / 0.9832 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.2073, allocations: 4 kB / 0.9832 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.2073, allocations: 4 kB / 0.9832 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.2075, allocations: 96.17 kB / 0.9833 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.2075, allocations: 0 / 0.9833 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.2076, allocations: 0 / 0.9833 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/0.2076, allocations: 7.984 kB / 0.9833 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.98e-05/0.2077, allocations: 31.98 kB / 0.9833 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004746/0.2082, allocations: 360.5 kB / 0.9837 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.2084, allocations: 86.67 kB / 0.9838 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.2084, allocations: 0 / 0.9838 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001937/0.2086, allocations: 91.52 kB / 0.9838 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.874e-06/0.2086, allocations: 0 / 0.9838 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003168/0.2089, allocations: 218.5 kB / 0.9841 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.209, allocations: 106.8 kB / 0.9842 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.2092, allocations: 263.7 kB / 0.9844 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.2092, allocations: 29.7 kB / 0.9844 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.997e-05/0.2093, allocations: 112.1 kB / 0.9845 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.2093, allocations: 23.7 kB / 0.9846 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.561e-06/0.2093, allocations: 4 kB / 0.9846 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.571e-05/0.2094, allocations: 326.8 kB / 0.9849 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.024e-05/0.2095, allocations: 27.92 kB / 0.9849 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.553e-05/0.2095, allocations: 80.14 kB / 0.985 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.839e-05/0.2096, allocations: 27.98 kB / 0.985 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2096, allocations: 0 / 0.985 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001778/0.2098, allocations: 113.4 kB / 0.9851 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.2098, allocations: 4 kB / 0.9851 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2098, allocations: 0 / 0.9851 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.2099, allocations: 15.97 kB / 0.9851 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.863e-05/0.21, allocations: 8 kB / 0.9851 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.21, allocations: 4 kB / 0.9851 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.233e-05/0.21, allocations: 11.94 kB / 0.9852 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.2101, allocations: 3.984 kB / 0.9852 GB, free: 21.51 MB / 0.6198 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 9.479e-05/0.2102, allocations: 143.7 kB / 0.9853 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/0.2102, allocations: 15.81 kB / 0.9853 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.714e-05/0.2102, allocations: 17.41 kB / 0.9853 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.2102, allocations: 15.92 kB / 0.9853 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.2103, allocations: 3.953 kB / 0.9853 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.2103, allocations: 0 / 0.9853 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.2104, allocations: 217.6 kB / 0.9856 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2104, allocations: 0 / 0.9856 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.817e-05/0.2105, allocations: 8 kB / 0.9856 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2105, allocations: 0 / 0.9856 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.2105, allocations: 4 kB / 0.9856 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.2105, allocations: 0 / 0.9856 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2105, allocations: 4.031 kB / 0.9856 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002565/0.2107, allocations: 144.9 kB / 0.9857 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.349e-05/0.2108, allocations: 96.91 kB / 0.9858 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.2108, allocations: 4 kB / 0.9858 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.58e-05/0.2109, allocations: 4 kB / 0.9858 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.2109, allocations: 7.984 kB / 0.9858 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.211, allocations: 7.984 kB / 0.9858 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001267/0.2111, allocations: 204.3 kB / 0.986 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2111, allocations: 4 kB / 0.986 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002353/0.2113, allocations: 35.89 kB / 0.9861 GB, free: 20.5 MB / 0.6198 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.0008095/0.2122, allocations: 436.8 kB / 0.9865 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001791/0.2124, allocations: 67.95 kB / 0.9865 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2124, allocations: 0 / 0.9865 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.36e-05/0.2124, allocations: 39.91 kB / 0.9866 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.2127, allocations: 38.34 kB / 0.9866 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004227/0.2131, allocations: 314.3 kB / 0.9869 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001403/0.2133, allocations: 0.7243 MB / 0.9876 GB, free: 19 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.31e-05/0.2133, allocations: 25.02 kB / 0.9876 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.713e-05/0.2134, allocations: 19.42 kB / 0.9877 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2134, allocations: 0 / 0.9877 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of Templates: time 0.004393/0.2178, allocations: 2.361 MB / 0.99 GB, free: 16.61 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)