Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.394/1.394, allocations: 252 MB / 268 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 176.2 kB / 327.6 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.9/1.9, allocations: 205.4 MB / 0.5786 GB, free: 20.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009177/0.0009179, allocations: 79.23 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000362/0.000362, allocations: 9 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2503, allocations: 106.3 MB / 0.9015 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002622/0.253, allocations: 1.489 MB / 0.9029 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00176/0.2548, allocations: 0.9917 MB / 0.9039 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.096e-05/0.2549, allocations: 8 kB / 0.9039 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003918/0.2553, allocations: 55.8 kB / 0.9039 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002059/0.2555, allocations: 67.73 kB / 0.904 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005278/0.256, allocations: 174.4 kB / 0.9042 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.2562, allocations: 139.6 kB / 0.9043 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.2564, allocations: 25.11 kB / 0.9043 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.566e-05/0.2565, allocations: 51.7 kB / 0.9044 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.2566, allocations: 63.69 kB / 0.9044 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.2566, allocations: 4 kB / 0.9044 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.2568, allocations: 51.97 kB / 0.9045 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.015e-05/0.2569, allocations: 39.89 kB / 0.9045 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.705e-05/0.257, allocations: 81.25 kB / 0.9046 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.2572, allocations: 144 kB / 0.9047 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2572, allocations: 4 kB / 0.9047 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2572, allocations: 0 / 0.9047 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.2572, allocations: 0 / 0.9047 GB, free: 60.09 MB / 0.6042 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.0007266/0.258, allocations: 472.4 kB / 0.9052 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.258, allocations: 12.03 kB / 0.9052 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.926e-05/0.2581, allocations: 16.75 kB / 0.9052 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.2584, allocations: 244.9 kB / 0.9055 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.2584, allocations: 8.312 kB / 0.9055 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.2584, allocations: 12.12 kB / 0.9055 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.2587, allocations: 96.22 kB / 0.9056 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.2587, allocations: 0 / 0.9056 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.2587, allocations: 0 / 0.9056 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.017e-05/0.2587, allocations: 4 kB / 0.9056 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.2588, allocations: 35.91 kB / 0.9056 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005084/0.2594, allocations: 352.7 kB / 0.9059 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.2596, allocations: 98.69 kB / 0.906 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.392e-05/0.2597, allocations: 28.84 kB / 0.9061 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.2597, allocations: 7.938 kB / 0.9061 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002666/0.26, allocations: 79.38 kB / 0.9061 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.793e-06/0.26, allocations: 0 / 0.9061 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.000338/0.2603, allocations: 145.4 kB / 0.9063 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.2604, allocations: 106.8 kB / 0.9064 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.2606, allocations: 259.7 kB / 0.9066 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.2606, allocations: 25.7 kB / 0.9067 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.689e-05/0.2607, allocations: 120.1 kB / 0.9068 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.2608, allocations: 23.64 kB / 0.9068 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/0.2608, allocations: 8 kB / 0.9068 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.152e-05/0.2609, allocations: 330.8 kB / 0.9071 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.25e-05/0.2609, allocations: 23.98 kB / 0.9071 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.031e-05/0.261, allocations: 68.27 kB / 0.9072 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.2612, allocations: 69.64 kB / 0.9073 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2612, allocations: 4 kB / 0.9073 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001896/0.2614, allocations: 113.5 kB / 0.9074 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.2614, allocations: 4 kB / 0.9074 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.2614, allocations: 4 kB / 0.9074 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.2614, allocations: 0 / 0.9074 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.2615, allocations: 15.92 kB / 0.9074 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.2615, allocations: 4 kB / 0.9074 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.5e-05/0.2616, allocations: 11.94 kB / 0.9074 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.2616, allocations: 400 / 0.9074 GB, free: 57.07 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001306/0.2618, allocations: 146.5 kB / 0.9076 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.2618, allocations: 19.8 kB / 0.9076 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.094e-05/0.2619, allocations: 21.41 kB / 0.9076 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.2619, allocations: 0 / 0.9076 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.2619, allocations: 0 / 0.9076 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.2619, allocations: 7.922 kB / 0.9076 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.2621, allocations: 225.5 kB / 0.9078 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2621, allocations: 0 / 0.9078 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.831e-05/0.2621, allocations: 4 kB / 0.9078 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2621, allocations: 4 kB / 0.9078 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.2622, allocations: 4 kB / 0.9078 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2622, allocations: 3.938 kB / 0.9078 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2622, allocations: 4 kB / 0.9078 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.2624, allocations: 141 kB / 0.908 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-05/0.2624, allocations: 100.9 kB / 0.9081 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.2625, allocations: 3.938 kB / 0.9081 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.53e-05/0.2625, allocations: 11.94 kB / 0.9081 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.309e-05/0.2626, allocations: 7.984 kB / 0.9081 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.2626, allocations: 11.94 kB / 0.9081 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001439/0.2628, allocations: 196.4 kB / 0.9083 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2628, allocations: 0 / 0.9083 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002208/0.263, allocations: 31.91 kB / 0.9083 GB, free: 56.05 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001123/0.2642, allocations: 427 kB / 0.9087 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002186/0.2644, allocations: 71.91 kB / 0.9088 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2644, allocations: 0 / 0.9088 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.993e-05/0.2645, allocations: 43.84 kB / 0.9088 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.2648, allocations: 41.25 kB / 0.9089 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005061/0.2653, allocations: 359.8 kB / 0.9092 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001663/0.2655, allocations: 0.7204 MB / 0.9099 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.619e-05/0.2655, allocations: 19.42 kB / 0.91 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of SimCode: time 3.01e-07/0.2655, allocations: 4 kB / 0.91 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of Templates: time 0.00436/0.2699, allocations: 2.57 MB / 0.9125 GB, free: 51.92 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)