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 2.69/2.69, allocations: 287.5 MB / 302.4 MB, free: 8.242 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.001276/0.001276, allocations: 170.2 kB / 371 MB, free: 10.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.111/2.111, allocations: 205.4 MB / 0.6297 GB, free: 10.63 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.0009717/0.0009718, allocations: 85.11 kB / 0.743 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005067/0.0005069, allocations: 13.5 kB / 0.8658 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2231, allocations: 115.3 MB / 0.9784 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002305/0.2255, allocations: 1.459 MB / 0.9798 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001845/0.2273, allocations: 0.9419 MB / 0.9807 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.902e-05/0.2274, allocations: 7.938 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002915/0.2277, allocations: 51.8 kB / 0.9808 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002121/0.228, allocations: 59.75 kB / 0.9808 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006611/0.2286, allocations: 174.7 kB / 0.981 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.2288, allocations: 123.7 kB / 0.9811 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.525e-05/0.229, allocations: 17.11 kB / 0.9811 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.2291, allocations: 59.7 kB / 0.9812 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.698e-05/0.2292, allocations: 51.75 kB / 0.9812 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.2292, allocations: 4 kB / 0.9812 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001611/0.2294, allocations: 51.97 kB / 0.9813 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.648e-05/0.2295, allocations: 39.83 kB / 0.9813 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.868e-05/0.2295, allocations: 45.64 kB / 0.9814 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.2298, allocations: 148 kB / 0.9815 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2298, allocations: 0 / 0.9815 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2298, allocations: 0 / 0.9815 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.2298, allocations: 0 / 0.9815 GB, free: 25.15 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.0006531/0.2305, allocations: 468.3 kB / 0.9819 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.2305, allocations: 12.02 kB / 0.982 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.204e-05/0.2306, allocations: 19.77 kB / 0.982 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000324/0.2309, allocations: 243.7 kB / 0.9822 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.2309, allocations: 8 kB / 0.9822 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.231, allocations: 7.984 kB / 0.9822 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.2312, allocations: 88.23 kB / 0.9823 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.2312, allocations: 0 / 0.9823 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.2313, allocations: 7.984 kB / 0.9823 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.491e-05/0.2313, allocations: 0 / 0.9823 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.2315, allocations: 39.88 kB / 0.9823 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005363/0.232, allocations: 356.7 kB / 0.9827 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002993/0.2323, allocations: 86.69 kB / 0.9828 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.2325, allocations: 32.84 kB / 0.9828 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.2325, allocations: 7.984 kB / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002419/0.2327, allocations: 83.33 kB / 0.9829 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.953e-06/0.2328, allocations: 0 / 0.9829 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0004589/0.2332, allocations: 141.4 kB / 0.983 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.2333, allocations: 106.8 kB / 0.9831 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002997/0.2336, allocations: 259.7 kB / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.2336, allocations: 25.7 kB / 0.9834 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.006e-05/0.2337, allocations: 124.1 kB / 0.9835 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.2338, allocations: 23.69 kB / 0.9835 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-06/0.2338, allocations: 7.938 kB / 0.9835 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.985e-05/0.2338, allocations: 322.8 kB / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.234, allocations: 27.98 kB / 0.9839 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.2341, allocations: 68.27 kB / 0.9839 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.2342, allocations: 39.95 kB / 0.984 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2342, allocations: 0 / 0.984 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002923/0.2345, allocations: 113.5 kB / 0.9841 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.2346, allocations: 7.953 kB / 0.9841 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.2346, allocations: 0 / 0.9841 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.2346, allocations: 4 kB / 0.9841 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.2348, allocations: 11.94 kB / 0.9841 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.2348, allocations: 0 / 0.9841 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.2349, allocations: 15.95 kB / 0.9841 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.2349, allocations: 4 kB / 0.9841 GB, free: 22.18 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.0001338/0.2351, allocations: 141.8 kB / 0.9843 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/0.2351, allocations: 11.81 kB / 0.9843 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.248e-05/0.2352, allocations: 29.34 kB / 0.9843 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.2352, allocations: 4 kB / 0.9843 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.2352, allocations: 0 / 0.9843 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.2352, allocations: 0 / 0.9843 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/0.2354, allocations: 221.6 kB / 0.9845 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2355, allocations: 4 kB / 0.9845 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.237e-05/0.2355, allocations: 8 kB / 0.9845 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.2355, allocations: 0 / 0.9845 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.2356, allocations: 3.984 kB / 0.9845 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.2356, allocations: 3.953 kB / 0.9845 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.2356, allocations: 3.938 kB / 0.9845 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003046/0.2359, allocations: 136.9 kB / 0.9847 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.794e-05/0.236, allocations: 92.92 kB / 0.9848 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.761e-05/0.236, allocations: 8 kB / 0.9848 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.962e-05/0.2361, allocations: 7.984 kB / 0.9848 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.142e-05/0.2362, allocations: 15.92 kB / 0.9848 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.2362, allocations: 4 kB / 0.9848 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002109/0.2364, allocations: 196.4 kB / 0.985 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2364, allocations: 192 / 0.985 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003471/0.2368, allocations: 39.89 kB / 0.985 GB, free: 21.17 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.001197/0.238, allocations: 438.1 kB / 0.9854 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002956/0.2383, allocations: 71.89 kB / 0.9855 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2383, allocations: 0 / 0.9855 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.2385, allocations: 36.12 kB / 0.9855 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003997/0.2389, allocations: 37.28 kB / 0.9856 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006275/0.2395, allocations: 310.3 kB / 0.9859 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/0.2397, allocations: 0.7281 MB / 0.9866 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001078/0.2399, allocations: 21.08 kB / 0.9866 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.037e-05/0.2399, allocations: 27.38 kB / 0.9866 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of SimCode: time 6.11e-07/0.2399, allocations: 0 / 0.9866 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of Templates: time 0.007151/0.2471, allocations: 2.352 MB / 0.9889 GB, free: 17.29 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)