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.662/1.662, allocations: 288.4 MB / 304.3 MB, free: 8.07 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.00114/0.00114, allocations: 184.5 kB / 372.9 MB, free: 10.16 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.628/1.628, allocations: 205.4 MB / 0.6316 GB, free: 9.906 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.0007603/0.0007604, allocations: 94.28 kB / 0.745 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000385/0.000385, allocations: 16.84 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2244, allocations: 115.3 MB / 0.9807 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.00188/0.2264, allocations: 1.451 MB / 0.9822 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.2276, allocations: 0.9416 MB / 0.9831 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.877e-05/0.2277, allocations: 4 kB / 0.9831 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000284/0.2279, allocations: 59.69 kB / 0.9831 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001701/0.2281, allocations: 67.72 kB / 0.9832 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004404/0.2286, allocations: 163 kB / 0.9834 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.2287, allocations: 123.6 kB / 0.9835 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.2288, allocations: 21.11 kB / 0.9835 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.665e-05/0.2289, allocations: 51.77 kB / 0.9835 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.229, allocations: 51.77 kB / 0.9836 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.2291, allocations: 4 kB / 0.9836 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.2292, allocations: 63.89 kB / 0.9837 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.226e-05/0.2292, allocations: 27.91 kB / 0.9837 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.754e-05/0.2293, allocations: 77.36 kB / 0.9838 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.2295, allocations: 144 kB / 0.9839 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2295, allocations: 4 kB / 0.9839 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2295, allocations: 4 kB / 0.9839 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.2295, allocations: 0 / 0.9839 GB, free: 24.09 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.000575/0.2301, allocations: 472.3 kB / 0.9844 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.2302, allocations: 8.031 kB / 0.9844 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.703e-05/0.2302, allocations: 16.75 kB / 0.9844 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.2305, allocations: 248.9 kB / 0.9846 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.2305, allocations: 4.375 kB / 0.9846 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.2305, allocations: 16.12 kB / 0.9846 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.2307, allocations: 96.16 kB / 0.9847 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.2307, allocations: 3.984 kB / 0.9847 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.2308, allocations: 0 / 0.9847 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.2308, allocations: 4 kB / 0.9847 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.828e-05/0.2309, allocations: 31.98 kB / 0.9848 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004622/0.2314, allocations: 360.6 kB / 0.9851 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.2316, allocations: 90.66 kB / 0.9852 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.172e-05/0.2316, allocations: 28.84 kB / 0.9852 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.2317, allocations: 4 kB / 0.9852 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000206/0.2319, allocations: 87.41 kB / 0.9853 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.853e-06/0.2319, allocations: 0 / 0.9853 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003149/0.2322, allocations: 133.5 kB / 0.9854 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.2323, allocations: 106.8 kB / 0.9855 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.2325, allocations: 262.9 kB / 0.9858 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.2325, allocations: 33.64 kB / 0.9858 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.304e-05/0.2325, allocations: 120.1 kB / 0.9859 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.2326, allocations: 19.8 kB / 0.986 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/0.2326, allocations: 4 kB / 0.986 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.885e-05/0.2327, allocations: 330.8 kB / 0.9863 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.769e-05/0.2327, allocations: 23.98 kB / 0.9863 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.146e-05/0.2328, allocations: 72.2 kB / 0.9864 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.2329, allocations: 61.7 kB / 0.9864 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2329, allocations: 8 kB / 0.9864 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001785/0.2331, allocations: 117.7 kB / 0.9865 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.2331, allocations: 4 kB / 0.9865 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2331, allocations: 4 kB / 0.9866 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.2332, allocations: 0 / 0.9866 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.656e-05/0.2333, allocations: 11.98 kB / 0.9866 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.2333, allocations: 4 kB / 0.9866 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.083e-05/0.2333, allocations: 15.84 kB / 0.9866 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.2333, allocations: 3.938 kB / 0.9866 GB, free: 21.07 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.685e-05/0.2335, allocations: 161.2 kB / 0.9867 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.973e-05/0.2335, allocations: 15.81 kB / 0.9868 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.764e-05/0.2335, allocations: 17.41 kB / 0.9868 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.2335, allocations: 0 / 0.9868 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2335, allocations: 0 / 0.9868 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.55e-05/0.2336, allocations: 92.91 kB / 0.9869 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.2336, allocations: 11.94 kB / 0.9869 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.305e-05/0.2337, allocations: 3.984 kB / 0.9869 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.272e-05/0.2337, allocations: 8 kB / 0.9869 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001985/0.2339, allocations: 184.9 kB / 0.9871 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000204/0.2342, allocations: 290.5 kB / 0.9873 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.059e-05/0.2342, allocations: 39.97 kB / 0.9874 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001288/0.2344, allocations: 196.4 kB / 0.9876 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of Backend: time 3.3e-07/0.2344, allocations: 0 / 0.9876 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001268/0.2357, allocations: 468 kB / 0.988 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0005601/0.2362, allocations: 0.7573 MB / 0.9887 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of Templates: time 0.004969/0.2412, allocations: 2.425 MB / 0.9911 GB, free: 16.5 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)