Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.711/1.711, allocations: 292.6 MB / 307.5 MB, free: 5.23 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.001538/0.001538, allocations: 193 kB / 377.1 MB, free: 1.52 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.634/1.634, allocations: 205.4 MB / 0.6367 GB, free: 8.625 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009203/0.0009204, allocations: 87.11 kB / 0.751 GB, free: 63.13 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005263/0.0005265, allocations: 12 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3286, allocations: 116.3 MB / 0.9884 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6398/0.9684, allocations: 143 MB / 1.128 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/0.9687, allocations: 79.25 kB / 1.128 GB, free: 32.55 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01356/0.9823, allocations: 5.407 MB / 1.133 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.655e-06/0.9823, allocations: 0 / 1.133 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.815e-05/0.9823, allocations: 4 kB / 1.133 GB, free: 28.65 MB / 0.7292 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.0006854/0.983, allocations: 494.2 kB / 1.134 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.9831, allocations: 12.02 kB / 1.134 GB, free: 28.12 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.192e-05/0.9832, allocations: 18.67 kB / 1.134 GB, free: 28.11 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003649/0.9835, allocations: 260.5 kB / 1.134 GB, free: 27.83 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.9836, allocations: 4 kB / 1.134 GB, free: 27.83 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.9836, allocations: 8.797 kB / 1.134 GB, free: 27.82 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.9838, allocations: 98.73 kB / 1.134 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.9838, allocations: 0 / 1.134 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.9838, allocations: 2.016 kB / 1.134 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.9839, allocations: 4.656 kB / 1.134 GB, free: 27.72 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.984, allocations: 34.33 kB / 1.134 GB, free: 27.7 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005229/0.9845, allocations: 387 kB / 1.135 GB, free: 27.31 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.9847, allocations: 91.06 kB / 1.135 GB, free: 27.23 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.9847, allocations: 0 / 1.135 GB, free: 27.23 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000174/0.9849, allocations: 84.84 kB / 1.135 GB, free: 27.14 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.9849, allocations: 4.656 kB / 1.135 GB, free: 27.14 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0003802/0.9853, allocations: 227.8 kB / 1.135 GB, free: 26.91 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.9854, allocations: 103.5 kB / 1.135 GB, free: 26.79 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/0.9856, allocations: 241.7 kB / 1.135 GB, free: 26.57 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.9856, allocations: 29.7 kB / 1.135 GB, free: 26.53 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.4e-05/0.9857, allocations: 124.3 kB / 1.135 GB, free: 26.41 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.9858, allocations: 13.36 kB / 1.135 GB, free: 26.4 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-06/0.9858, allocations: 8.562 kB / 1.135 GB, free: 26.39 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.668e-05/0.9859, allocations: 324.7 kB / 1.136 GB, free: 26.07 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.283e-05/0.986, allocations: 28.17 kB / 1.136 GB, free: 26.05 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.9861, allocations: 81.05 kB / 1.136 GB, free: 25.96 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.885e-05/0.9862, allocations: 28.03 kB / 1.136 GB, free: 25.94 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.9862, allocations: 4 kB / 1.136 GB, free: 25.93 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002063/0.9864, allocations: 119.5 kB / 1.136 GB, free: 25.82 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.9864, allocations: 4 kB / 1.136 GB, free: 25.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.9864, allocations: 0.7812 kB / 1.136 GB, free: 25.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.9864, allocations: 5.125 kB / 1.136 GB, free: 25.81 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.54e-05/0.9865, allocations: 10.06 kB / 1.136 GB, free: 25.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.9866, allocations: 5.688 kB / 1.136 GB, free: 25.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.042e-05/0.9866, allocations: 12.48 kB / 1.136 GB, free: 25.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.9867, allocations: 5.781 kB / 1.136 GB, free: 25.79 MB / 0.7292 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.combiTimeTable.nextTimeEvent,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEventScaled,intRep.u,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.0001034/0.9868, allocations: 146.7 kB / 1.136 GB, free: 25.64 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.9868, allocations: 15.81 kB / 1.136 GB, free: 25.62 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000254/0.9871, allocations: 132.4 kB / 1.136 GB, free: 25.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.9871, allocations: 0 / 1.136 GB, free: 25.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.9871, allocations: 4.562 kB / 1.136 GB, free: 25.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.9871, allocations: 0.7031 kB / 1.136 GB, free: 25.5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.9873, allocations: 234.5 kB / 1.137 GB, free: 25.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.9873, allocations: 6.156 kB / 1.137 GB, free: 25.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.462e-05/0.9873, allocations: 9.453 kB / 1.137 GB, free: 25.24 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.9873, allocations: 0 / 1.137 GB, free: 25.24 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.9874, allocations: 5.406 kB / 1.137 GB, free: 25.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-06/0.9874, allocations: 5.234 kB / 1.137 GB, free: 25.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.9874, allocations: 1.219 kB / 1.137 GB, free: 25.23 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002118/0.9876, allocations: 149.3 kB / 1.137 GB, free: 25.08 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.944e-05/0.9877, allocations: 103.8 kB / 1.137 GB, free: 24.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/0.9877, allocations: 0.5625 kB / 1.137 GB, free: 24.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.159e-05/0.9878, allocations: 14.06 kB / 1.137 GB, free: 24.95 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.9878, allocations: 7.703 kB / 1.137 GB, free: 24.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.9878, allocations: 5.922 kB / 1.137 GB, free: 24.94 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001531/0.988, allocations: 195.4 kB / 1.137 GB, free: 24.77 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.988, allocations: 0 / 1.137 GB, free: 24.77 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002802/0.9883, allocations: 54.03 kB / 1.137 GB, free: 24.72 MB / 0.7292 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.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.u,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * 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.0009191/0.9892, allocations: 445.7 kB / 1.138 GB, free: 24.48 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002298/0.9895, allocations: 81.72 kB / 1.138 GB, free: 24.42 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.9895, allocations: 0 / 1.138 GB, free: 24.42 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.851e-05/0.9896, allocations: 46.72 kB / 1.138 GB, free: 24.38 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.9898, allocations: 38.97 kB / 1.138 GB, free: 24.35 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004681/0.9903, allocations: 318.4 kB / 1.138 GB, free: 24.04 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001619/0.9905, allocations: 0.7336 MB / 1.139 GB, free: 23.3 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.945e-05/0.9905, allocations: 28.77 kB / 1.139 GB, free: 23.28 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.647e-05/0.9906, allocations: 17.73 kB / 1.139 GB, free: 23.27 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/0.9906, allocations: 0 / 1.139 GB, free: 23.27 MB / 0.7292 GB Notification: Performance of Templates: time 0.005537/0.9961, allocations: 2.478 MB / 1.141 GB, free: 21.85 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)