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.001803/0.001803, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001645/0.001645, allocations: 161 kB / 24.16 MB, free: 332 kB / 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 0.9802/0.9802, allocations: 177.1 MB / 204.6 MB, free: 5.293 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 2.082/2.082, allocations: 389.6 MB / 0.6354 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 177] 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.373e-06/1.373e-06, allocations: 1.422 kB / 0.7752 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845e-05/1.982e-05, allocations: 4.562 kB / 0.7752 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003518/0.003537, allocations: 1.88 MB / 0.777 GB, free: 3.508 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002267/0.005805, allocations: 1.229 MB / 0.7782 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.005911, allocations: 6.688 kB / 0.7782 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003245/0.006235, allocations: 57.33 kB / 0.7783 GB, free: 2.223 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003995/0.006635, allocations: 124.6 kB / 0.7784 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005871/0.007222, allocations: 193.6 kB / 0.7786 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000255/0.007477, allocations: 159.5 kB / 0.7787 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.007581, allocations: 18.27 kB / 0.7788 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001692/0.00775, allocations: 91.73 kB / 0.7789 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.007867, allocations: 51.88 kB / 0.7789 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.00789, allocations: 4.625 kB / 0.7789 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002145/0.008105, allocations: 92.48 kB / 0.779 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.26e-05/0.008177, allocations: 39.78 kB / 0.779 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.041e-05/0.008228, allocations: 32.62 kB / 0.7791 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002897/0.008517, allocations: 163.5 kB / 0.7792 GB, free: 1.277 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.008519, allocations: 0.5938 kB / 0.7792 GB, free: 1.277 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.61e-07/0.00852, allocations: 3.938 kB / 0.7792 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.008523, allocations: 1.5 kB / 0.7792 GB, free: 1.273 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.0004027/0.008926, allocations: 405.4 kB / 0.7796 GB, free: 0.8477 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.008958, allocations: 9.344 kB / 0.7796 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.425e-05/0.008993, allocations: 14.05 kB / 0.7796 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.009159, allocations: 173.4 kB / 0.7798 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.009175, allocations: 4.375 kB / 0.7798 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.764e-06/0.009183, allocations: 1.188 kB / 0.7798 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.009295, allocations: 77.69 kB / 0.7799 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.009303, allocations: 4.438 kB / 0.7799 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.00931, allocations: 4.641 kB / 0.7799 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.009327, allocations: 7.984 kB / 0.7799 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.436e-05/0.009362, allocations: 8.75 kB / 0.7799 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000245/0.009607, allocations: 197.8 kB / 0.7801 GB, free: 316 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.504e-05/0.009702, allocations: 97.55 kB / 0.7802 GB, free: 208 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.225e-05/0.009724, allocations: 17.5 kB / 0.7802 GB, free: 188 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.009735, allocations: 11.88 kB / 0.7802 GB, free: 176 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.185e-05/0.009817, allocations: 67.92 kB / 0.7803 GB, free: 96 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.009818, allocations: 0 / 0.7803 GB, free: 96 kB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0001233/0.009941, allocations: 77.67 kB / 0.7804 GB, free: 12 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.009978, allocations: 52.22 kB / 0.7804 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.01011, allocations: 224.1 kB / 0.7806 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.01013, allocations: 26.2 kB / 0.7806 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.697e-05/0.01016, allocations: 104.6 kB / 0.7807 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.01019, allocations: 28.52 kB / 0.7808 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.01022, allocations: 25.7 kB / 0.7808 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.288e-05/0.0103, allocations: 332.2 kB / 0.7811 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.837e-05/0.01032, allocations: 10.83 kB / 0.7811 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.903e-05/0.01036, allocations: 64.2 kB / 0.7812 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.193e-05/0.01041, allocations: 40.22 kB / 0.7812 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.01041, allocations: 0.5312 kB / 0.7812 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 8.069e-05/0.01049, allocations: 77.16 kB / 0.7813 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.01051, allocations: 10.03 kB / 0.7813 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.01051, allocations: 1.75 kB / 0.7813 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.01052, allocations: 0 / 0.7813 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.969e-05/0.01058, allocations: 15.98 kB / 0.7813 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-06/0.01058, allocations: 0 / 0.7813 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.108e-05/0.01061, allocations: 4 kB / 0.7813 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.01062, allocations: 4.484 kB / 0.7813 GB, free: 14.94 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 6.906e-05/0.01069, allocations: 126.6 kB / 0.7814 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.729e-05/0.01071, allocations: 15.91 kB / 0.7815 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.01081, allocations: 79.61 kB / 0.7815 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.01082, allocations: 1.125 kB / 0.7815 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.01082, allocations: 0 / 0.7815 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.01082, allocations: 3.984 kB / 0.7815 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.116e-05/0.01091, allocations: 106.6 kB / 0.7816 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.01091, allocations: 0 / 0.7816 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.805e-05/0.01094, allocations: 12.62 kB / 0.7817 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.01094, allocations: 3.938 kB / 0.7817 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.01095, allocations: 9.172 kB / 0.7817 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.01095, allocations: 0 / 0.7817 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01095, allocations: 0 / 0.7817 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.944e-05/0.01103, allocations: 95.69 kB / 0.7818 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.544e-05/0.01105, allocations: 15.89 kB / 0.7818 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.01106, allocations: 8.5 kB / 0.7818 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.207e-05/0.01108, allocations: 4 kB / 0.7818 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-05/0.01112, allocations: 13.05 kB / 0.7818 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.01113, allocations: 3.938 kB / 0.7818 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.7e-05/0.01118, allocations: 71.61 kB / 0.7819 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01118, allocations: 2.75 kB / 0.7819 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001441/0.01133, allocations: 35.94 kB / 0.7819 GB, free: 14.29 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.001166/0.01249, allocations: 0.5281 MB / 0.7824 GB, free: 14 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.901e-05/0.01259, allocations: 42.06 kB / 0.7825 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.01259, allocations: 0 / 0.7825 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.461e-05/0.01263, allocations: 24.84 kB / 0.7825 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001356/0.01276, allocations: 37.83 kB / 0.7825 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003101/0.01307, allocations: 278.2 kB / 0.7828 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.939e-05/0.01311, allocations: 83.81 kB / 0.7829 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.347e-05/0.01316, allocations: 19.83 kB / 0.7829 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.108e-05/0.01324, allocations: 71.36 kB / 0.783 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of SimCode: time 6.81e-07/0.01324, allocations: 0 / 0.783 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of Templates: time 0.004488/0.01773, allocations: 2.849 MB / 0.7857 GB, free: 10.72 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.176188254728913]