Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 80.81 kB / 21.55 MB, free: 2.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001953/0.001953, allocations: 165.5 kB / 24.96 MB, free: 8.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.017/1.017, allocations: 177.1 MB / 205.4 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.915/1.915, allocations: 389.6 MB / 0.6362 GB, free: 12.32 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.776 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.001e-05/2.141e-05, allocations: 2.312 kB / 0.776 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002449/0.002471, allocations: 1.891 MB / 0.7778 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001437/0.003907, allocations: 1.235 MB / 0.779 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.992e-05/0.003977, allocations: 0 / 0.779 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002638/0.004241, allocations: 60.7 kB / 0.7791 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002321/0.004473, allocations: 121.9 kB / 0.7792 GB, free: 2.121 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003266/0.0048, allocations: 192.6 kB / 0.7794 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.004961, allocations: 159.5 kB / 0.7795 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.496e-05/0.005046, allocations: 23.45 kB / 0.7795 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.845e-05/0.005145, allocations: 83.73 kB / 0.7796 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.417e-05/0.005229, allocations: 59.81 kB / 0.7797 GB, free: 1.613 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.005244, allocations: 8.5 kB / 0.7797 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.00538, allocations: 80.61 kB / 0.7798 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.541e-05/0.005435, allocations: 43.84 kB / 0.7798 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.74e-05/0.005473, allocations: 33.84 kB / 0.7798 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.005664, allocations: 171.3 kB / 0.78 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.005667, allocations: 4 kB / 0.78 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.232e-06/0.005668, allocations: 0 / 0.78 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.918e-06/0.005672, allocations: 0 / 0.78 GB, free: 1.281 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.000408/0.00608, allocations: 396.2 kB / 0.7804 GB, free: 0.8672 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.006111, allocations: 13.34 kB / 0.7804 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.361e-05/0.006145, allocations: 16.92 kB / 0.7804 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.006313, allocations: 165.4 kB / 0.7806 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.00633, allocations: 8.375 kB / 0.7806 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.00634, allocations: 8.359 kB / 0.7806 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.006458, allocations: 73.69 kB / 0.7807 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.006466, allocations: 7.062 kB / 0.7807 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.006474, allocations: 7.938 kB / 0.7807 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.006489, allocations: 0 / 0.7807 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.681e-05/0.006516, allocations: 8 kB / 0.7807 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002481/0.006764, allocations: 194 kB / 0.7809 GB, free: 336 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.695e-05/0.006861, allocations: 104 kB / 0.781 GB, free: 220 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.168e-05/0.006883, allocations: 17.78 kB / 0.781 GB, free: 200 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.006897, allocations: 3.938 kB / 0.781 GB, free: 196 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.538e-05/0.006983, allocations: 70.69 kB / 0.7811 GB, free: 112 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.006984, allocations: 0.7812 kB / 0.7811 GB, free: 112 kB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0001221/0.007106, allocations: 74.23 kB / 0.7811 GB, free: 32 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.007139, allocations: 51.41 kB / 0.7812 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.007267, allocations: 225 kB / 0.7814 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.007281, allocations: 25.7 kB / 0.7814 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.942e-05/0.00732, allocations: 101.7 kB / 0.7815 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.007345, allocations: 31.77 kB / 0.7815 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/0.007375, allocations: 25.7 kB / 0.7816 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.748e-05/0.007452, allocations: 331.8 kB / 0.7819 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.769e-05/0.00747, allocations: 6.828 kB / 0.7819 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.664e-05/0.007507, allocations: 56.8 kB / 0.7819 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.015e-05/0.007557, allocations: 48.88 kB / 0.782 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.007559, allocations: 0 / 0.782 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 8.583e-05/0.007645, allocations: 76.69 kB / 0.7821 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.007657, allocations: 4.781 kB / 0.7821 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.007661, allocations: 3.984 kB / 0.7821 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.007675, allocations: 9.266 kB / 0.7821 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.783e-05/0.007733, allocations: 8 kB / 0.7821 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.007737, allocations: 8.062 kB / 0.7821 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.165e-05/0.007769, allocations: 5.719 kB / 0.7821 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.007776, allocations: 7.984 kB / 0.7821 GB, free: 14.95 MB / 0.7448 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 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.y) * 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 7.238e-05/0.007849, allocations: 121.6 kB / 0.7822 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.469e-05/0.007863, allocations: 15.92 kB / 0.7822 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.007969, allocations: 76.27 kB / 0.7823 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.007979, allocations: 11.92 kB / 0.7823 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.007981, allocations: 0.6562 kB / 0.7823 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.007985, allocations: 0 / 0.7823 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.592e-05/0.00808, allocations: 102.9 kB / 0.7824 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.008083, allocations: 0 / 0.7824 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.791e-05/0.008111, allocations: 8 kB / 0.7824 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.008113, allocations: 4.766 kB / 0.7824 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.008121, allocations: 3.938 kB / 0.7824 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.02e-07/0.008121, allocations: 4.531 kB / 0.7824 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.008122, allocations: 0 / 0.7824 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.348e-05/0.008206, allocations: 100.5 kB / 0.7825 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.913e-05/0.008225, allocations: 19.89 kB / 0.7826 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.008241, allocations: 3.938 kB / 0.7826 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.343e-05/0.008264, allocations: 4 kB / 0.7826 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.0083, allocations: 8.984 kB / 0.7826 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.008309, allocations: 4 kB / 0.7826 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.218e-05/0.008371, allocations: 75.61 kB / 0.7827 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008371, allocations: 1.094 kB / 0.7827 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001398/0.008511, allocations: 35.92 kB / 0.7827 GB, free: 14.3 MB / 0.7448 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.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 (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.001194/0.009705, allocations: 0.522 MB / 0.7832 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001073/0.009812, allocations: 36.84 kB / 0.7832 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.009817, allocations: 4 kB / 0.7832 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.574e-05/0.009852, allocations: 31.8 kB / 0.7833 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001398/0.009992, allocations: 49.83 kB / 0.7833 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003303/0.01032, allocations: 273.4 kB / 0.7836 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.918e-05/0.01036, allocations: 71.83 kB / 0.7836 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.627e-05/0.01041, allocations: 23.28 kB / 0.7837 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.716e-05/0.01049, allocations: 79.34 kB / 0.7837 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of SimCode: time 6.41e-07/0.01049, allocations: 3.938 kB / 0.7837 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of Templates: time 0.004514/0.015, allocations: 2.826 MB / 0.7865 GB, free: 10.75 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.069859732873738]