Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.69/1.69, allocations: 287.5 MB / 302.6 MB, free: 8.211 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.001127/0.001127, allocations: 188.2 kB / 371.2 MB, free: 10.83 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.6299 GB, free: 10.55 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.0008183/0.0008181, allocations: 89.97 kB / 0.7432 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004491/0.0004491, allocations: 16.12 kB / 0.8661 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2216, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002352/0.2241, allocations: 1.454 MB / 0.9801 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001648/0.2257, allocations: 0.9505 MB / 0.981 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001766/0.226, allocations: 4 kB / 0.981 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003935/0.2264, allocations: 47.81 kB / 0.9811 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003073/0.2267, allocations: 67.73 kB / 0.9811 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006384/0.2273, allocations: 167.7 kB / 0.9813 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002188/0.2276, allocations: 127.5 kB / 0.9814 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.2277, allocations: 25.09 kB / 0.9814 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.2278, allocations: 59.77 kB / 0.9815 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.228, allocations: 47.77 kB / 0.9815 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.228, allocations: 4 kB / 0.9815 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.2282, allocations: 59.89 kB / 0.9816 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.285e-05/0.2282, allocations: 31.91 kB / 0.9816 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.04e-05/0.2283, allocations: 41.64 kB / 0.9817 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002269/0.2285, allocations: 152 kB / 0.9818 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2285, allocations: 0 / 0.9818 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2286, allocations: 4 kB / 0.9818 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.2286, allocations: 0 / 0.9818 GB, free: 24.96 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.0006928/0.2293, allocations: 464.4 kB / 0.9823 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.2293, allocations: 8.031 kB / 0.9823 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.901e-05/0.2294, allocations: 16.75 kB / 0.9823 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003231/0.2297, allocations: 252.8 kB / 0.9825 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.2298, allocations: 8.375 kB / 0.9825 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.2298, allocations: 4.125 kB / 0.9825 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.23, allocations: 96.17 kB / 0.9826 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.23, allocations: 3.938 kB / 0.9826 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.2301, allocations: 4 kB / 0.9826 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.075e-05/0.2301, allocations: 7.984 kB / 0.9826 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.975e-05/0.2302, allocations: 27.98 kB / 0.9827 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000499/0.2307, allocations: 360.6 kB / 0.983 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.2309, allocations: 86.67 kB / 0.9831 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.32e-05/0.231, allocations: 28.84 kB / 0.9831 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.231, allocations: 7.984 kB / 0.9831 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002132/0.2312, allocations: 83.42 kB / 0.9832 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.834e-06/0.2312, allocations: 0 / 0.9832 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003462/0.2316, allocations: 141.4 kB / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.2317, allocations: 110.8 kB / 0.9835 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.2319, allocations: 263.6 kB / 0.9837 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.2319, allocations: 29.7 kB / 0.9837 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.192e-05/0.232, allocations: 112.1 kB / 0.9838 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.232, allocations: 15.81 kB / 0.9839 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-06/0.232, allocations: 0 / 0.9839 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.67e-05/0.2321, allocations: 338.7 kB / 0.9842 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.643e-05/0.2322, allocations: 35.92 kB / 0.9842 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.927e-05/0.2323, allocations: 64.28 kB / 0.9843 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.2324, allocations: 69.69 kB / 0.9843 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2324, allocations: 0 / 0.9843 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001957/0.2326, allocations: 113.4 kB / 0.9845 GB, free: 22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.2326, allocations: 12 kB / 0.9845 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.2327, allocations: 0 / 0.9845 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.2327, allocations: 0 / 0.9845 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.442e-05/0.2328, allocations: 15.98 kB / 0.9845 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.2328, allocations: 0 / 0.9845 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.636e-05/0.2329, allocations: 15.78 kB / 0.9845 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.2329, allocations: 0 / 0.9845 GB, free: 21.95 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.0001299/0.233, allocations: 149.8 kB / 0.9846 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.2331, allocations: 19.81 kB / 0.9847 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.096e-05/0.2331, allocations: 21.39 kB / 0.9847 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.2331, allocations: 0 / 0.9847 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.2332, allocations: 0 / 0.9847 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.2332, allocations: 8.156 kB / 0.9847 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.2333, allocations: 221.6 kB / 0.9849 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.2334, allocations: 3.938 kB / 0.9849 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.245e-05/0.2334, allocations: 7.984 kB / 0.9849 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.2334, allocations: 0 / 0.9849 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.2334, allocations: 0 / 0.9849 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.2334, allocations: 4 kB / 0.9849 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.2335, allocations: 4 kB / 0.9849 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.2337, allocations: 149.2 kB / 0.9851 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.669e-05/0.2337, allocations: 92.92 kB / 0.9851 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.067e-05/0.2338, allocations: 3.984 kB / 0.9851 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.488e-05/0.2338, allocations: 8 kB / 0.9852 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.593e-05/0.2339, allocations: 7.984 kB / 0.9852 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.2339, allocations: 7.938 kB / 0.9852 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000153/0.2341, allocations: 200.4 kB / 0.9854 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.81e-07/0.2341, allocations: 0 / 0.9854 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002568/0.2344, allocations: 36 kB / 0.9854 GB, free: 20.94 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.001022/0.2354, allocations: 438.2 kB / 0.9858 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002484/0.2356, allocations: 67.91 kB / 0.9859 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.2357, allocations: 0 / 0.9859 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.393e-05/0.2358, allocations: 36.05 kB / 0.9859 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.2361, allocations: 35.81 kB / 0.9859 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000527/0.2366, allocations: 310.3 kB / 0.9862 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/0.2368, allocations: 0.7281 MB / 0.987 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.15e-05/0.2369, allocations: 25.38 kB / 0.987 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.348e-05/0.2369, allocations: 23.44 kB / 0.987 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of SimCode: time 3.51e-07/0.2369, allocations: 3.938 kB / 0.987 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of Templates: time 0.005614/0.2426, allocations: 2.356 MB / 0.9893 GB, free: 17.05 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)