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.892/1.892, allocations: 288.4 MB / 303.4 MB, free: 8.055 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.001151/0.001152, allocations: 182.7 kB / 372 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.763/1.763, allocations: 205.4 MB / 0.6307 GB, free: 9.996 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.0009056/0.0009062, allocations: 81.39 kB / 0.7441 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004467/0.0004469, allocations: 12.25 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.222, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.001907/0.2239, allocations: 1.455 MB / 0.981 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.2252, allocations: 0.9416 MB / 0.9819 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.141e-05/0.2253, allocations: 7.875 kB / 0.9819 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000273/0.2256, allocations: 51.88 kB / 0.982 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002071/0.2258, allocations: 67.72 kB / 0.982 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004921/0.2263, allocations: 167.8 kB / 0.9822 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.2265, allocations: 127.6 kB / 0.9823 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.873e-05/0.2266, allocations: 17.12 kB / 0.9823 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.617e-05/0.2267, allocations: 59.7 kB / 0.9824 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.214e-05/0.2268, allocations: 55.75 kB / 0.9824 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.2268, allocations: 0 / 0.9824 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.227, allocations: 59.95 kB / 0.9825 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.112e-05/0.227, allocations: 27.91 kB / 0.9825 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.306e-05/0.2271, allocations: 49.58 kB / 0.9826 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.2272, allocations: 152 kB / 0.9827 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2273, allocations: 0 / 0.9827 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2273, allocations: 0 / 0.9827 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.2273, allocations: 4 kB / 0.9827 GB, free: 24.42 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.0004879/0.2278, allocations: 468.3 kB / 0.9832 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.2278, allocations: 12.02 kB / 0.9832 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.338e-05/0.2279, allocations: 19.77 kB / 0.9832 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.2281, allocations: 243.7 kB / 0.9834 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.2281, allocations: 0 / 0.9834 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.2281, allocations: 4 kB / 0.9834 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.2283, allocations: 100.2 kB / 0.9835 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.2283, allocations: 0 / 0.9835 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.2284, allocations: 0 / 0.9835 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.2284, allocations: 4 kB / 0.9835 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.96e-05/0.2285, allocations: 31.92 kB / 0.9836 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004173/0.2289, allocations: 356.6 kB / 0.9839 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.2291, allocations: 98.62 kB / 0.984 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.602e-05/0.2292, allocations: 32.83 kB / 0.984 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.2292, allocations: 8 kB / 0.984 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000185/0.2294, allocations: 79.36 kB / 0.9841 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/0.2294, allocations: 4 kB / 0.9841 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003127/0.2298, allocations: 141.4 kB / 0.9843 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.2298, allocations: 102.8 kB / 0.9844 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.23, allocations: 263.7 kB / 0.9846 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.23, allocations: 29.7 kB / 0.9846 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.951e-05/0.2301, allocations: 120.1 kB / 0.9847 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/0.2301, allocations: 19.7 kB / 0.9848 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-06/0.2301, allocations: 4 kB / 0.9848 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.959e-05/0.2302, allocations: 326.8 kB / 0.9851 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.439e-05/0.2302, allocations: 23.98 kB / 0.9851 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.757e-05/0.2303, allocations: 72.27 kB / 0.9852 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.581e-05/0.2304, allocations: 39.94 kB / 0.9852 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2304, allocations: 0 / 0.9852 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000183/0.2306, allocations: 109.5 kB / 0.9853 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.2306, allocations: 8 kB / 0.9853 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2306, allocations: 0 / 0.9853 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.2307, allocations: 7.938 kB / 0.9853 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.2308, allocations: 15.94 kB / 0.9853 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.2308, allocations: 0 / 0.9853 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.125e-05/0.2309, allocations: 7.938 kB / 0.9854 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.2309, allocations: 7.984 kB / 0.9854 GB, free: 21.45 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 0.0001096/0.231, allocations: 144.9 kB / 0.9855 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.337e-05/0.2311, allocations: 19.8 kB / 0.9855 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.176e-05/0.2311, allocations: 17.41 kB / 0.9855 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.2311, allocations: 7.938 kB / 0.9855 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.2312, allocations: 0 / 0.9855 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2312, allocations: 4 kB / 0.9855 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.2313, allocations: 221.6 kB / 0.9858 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.2313, allocations: 4 kB / 0.9858 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.042e-05/0.2314, allocations: 4 kB / 0.9858 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2314, allocations: 0 / 0.9858 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.2314, allocations: 4 kB / 0.9858 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2314, allocations: 4.188 kB / 0.9858 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2314, allocations: 7.938 kB / 0.9858 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.2316, allocations: 136.8 kB / 0.9859 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.601e-05/0.2317, allocations: 100.9 kB / 0.986 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.2317, allocations: 0 / 0.986 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.004e-05/0.2318, allocations: 8 kB / 0.986 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/0.2318, allocations: 7.984 kB / 0.986 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.2318, allocations: 15.94 kB / 0.986 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001406/0.232, allocations: 196.3 kB / 0.9862 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.51e-07/0.232, allocations: 0 / 0.9862 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002388/0.2322, allocations: 43.89 kB / 0.9863 GB, free: 20.44 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.00101/0.2333, allocations: 419.9 kB / 0.9867 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002412/0.2335, allocations: 75.83 kB / 0.9867 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2335, allocations: 4.062 kB / 0.9867 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.267e-05/0.2336, allocations: 35.97 kB / 0.9868 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.2339, allocations: 35.52 kB / 0.9868 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004396/0.2344, allocations: 322.2 kB / 0.9871 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.2345, allocations: 0.7165 MB / 0.9878 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.55e-05/0.2346, allocations: 25.08 kB / 0.9878 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.021e-05/0.2346, allocations: 27.42 kB / 0.9879 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of SimCode: time 3.41e-07/0.2346, allocations: 0 / 0.9879 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of Templates: time 0.006934/0.2416, allocations: 2.358 MB / 0.9902 GB, free: 16.56 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)