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.0009881/0.0009881, allocations: 80.75 kB / 20.82 MB, free: 3.629 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.0009479/0.0009479, allocations: 169 kB / 24.25 MB, free: 204 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.9447/0.9447, allocations: 177.1 MB / 204.7 MB, free: 5.461 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.885/1.885, allocations: 389.6 MB / 0.6355 GB, free: 12.26 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.754e-06/1.754e-06, allocations: 0 / 0.7754 GB, free: 5.277 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.266e-05/2.442e-05, allocations: 2.312 kB / 0.7754 GB, free: 5.273 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003414/0.003438, allocations: 1.884 MB / 0.7772 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002075/0.005513, allocations: 1.232 MB / 0.7784 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.00565, allocations: 0 / 0.7784 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003815/0.006032, allocations: 65.34 kB / 0.7785 GB, free: 2.113 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003877/0.006419, allocations: 121 kB / 0.7786 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006352/0.007054, allocations: 191.2 kB / 0.7788 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.007276, allocations: 159.6 kB / 0.7789 GB, free: 1.66 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.007386, allocations: 18.28 kB / 0.7789 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.007551, allocations: 99.17 kB / 0.779 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.00767, allocations: 55.88 kB / 0.7791 GB, free: 1.492 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.007691, allocations: 4 kB / 0.7791 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002226/0.007914, allocations: 87.84 kB / 0.7792 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7e-05/0.007984, allocations: 31.86 kB / 0.7792 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.704e-05/0.008041, allocations: 39.84 kB / 0.7792 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002851/0.008326, allocations: 167.4 kB / 0.7794 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.008329, allocations: 0 / 0.7794 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.002e-06/0.00833, allocations: 0 / 0.7794 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.008335, allocations: 1.031 kB / 0.7794 GB, free: 1.168 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.0005374/0.008872, allocations: 401.4 kB / 0.7798 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.00891, allocations: 9.344 kB / 0.7798 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.405e-05/0.008954, allocations: 13.83 kB / 0.7798 GB, free: 0.7266 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.009185, allocations: 181.4 kB / 0.78 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.009202, allocations: 4.938 kB / 0.78 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.009214, allocations: 0.9688 kB / 0.78 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.009367, allocations: 78.75 kB / 0.7801 GB, free: 444 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.00938, allocations: 7.922 kB / 0.7801 GB, free: 436 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.009388, allocations: 0 / 0.7801 GB, free: 436 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.059e-05/0.009409, allocations: 0.6562 kB / 0.7801 GB, free: 436 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.592e-05/0.009455, allocations: 15.98 kB / 0.7801 GB, free: 420 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003457/0.009801, allocations: 187.5 kB / 0.7803 GB, free: 216 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.009935, allocations: 108.1 kB / 0.7804 GB, free: 96 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.015e-05/0.009965, allocations: 13.52 kB / 0.7804 GB, free: 80 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.009981, allocations: 9.031 kB / 0.7804 GB, free: 72 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001325/0.01011, allocations: 66.2 kB / 0.7804 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 2.735e-06/0.01012, allocations: 0 / 0.7804 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0001755/0.01029, allocations: 79.33 kB / 0.7805 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.01033, allocations: 51.41 kB / 0.7806 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.01052, allocations: 224.1 kB / 0.7808 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.01054, allocations: 29.7 kB / 0.7808 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.591e-05/0.01059, allocations: 109.2 kB / 0.7809 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.01062, allocations: 23.78 kB / 0.7809 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-05/0.01067, allocations: 27.3 kB / 0.781 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.01078, allocations: 330.8 kB / 0.7813 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.862e-05/0.01081, allocations: 14.81 kB / 0.7813 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.912e-05/0.01086, allocations: 48.28 kB / 0.7813 GB, free: 15 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.269e-05/0.01093, allocations: 56.08 kB / 0.7814 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.01093, allocations: 0.9062 kB / 0.7814 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001191/0.01105, allocations: 72.91 kB / 0.7815 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.01107, allocations: 8.844 kB / 0.7815 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.01108, allocations: 0 / 0.7815 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.01108, allocations: 0 / 0.7815 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.455e-05/0.01117, allocations: 17.02 kB / 0.7815 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.01117, allocations: 0 / 0.7815 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.698e-05/0.01122, allocations: 4 kB / 0.7815 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.01123, allocations: 5.469 kB / 0.7815 GB, free: 14.83 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 8.697e-05/0.01131, allocations: 117.6 kB / 0.7816 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.01134, allocations: 15.92 kB / 0.7816 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001486/0.01149, allocations: 84.12 kB / 0.7817 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.0115, allocations: 4 kB / 0.7817 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.0115, allocations: 1.062 kB / 0.7817 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.0115, allocations: 0 / 0.7817 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.01164, allocations: 109.8 kB / 0.7818 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.01164, allocations: 4.484 kB / 0.7818 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.993e-05/0.01168, allocations: 5.031 kB / 0.7818 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.01169, allocations: 4 kB / 0.7818 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.0117, allocations: 3.938 kB / 0.7818 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.0117, allocations: 0.9688 kB / 0.7818 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.0117, allocations: 0 / 0.7818 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.01182, allocations: 99.41 kB / 0.7819 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.256e-05/0.01184, allocations: 15.91 kB / 0.7819 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.01187, allocations: 8.609 kB / 0.782 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.933e-05/0.01191, allocations: 7.938 kB / 0.782 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.01195, allocations: 12.75 kB / 0.782 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.01196, allocations: 4 kB / 0.782 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.228e-05/0.01204, allocations: 68.75 kB / 0.782 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.01204, allocations: 0 / 0.782 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002136/0.01225, allocations: 31.94 kB / 0.7821 GB, free: 14.19 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.001304/0.01356, allocations: 0.5307 MB / 0.7826 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001087/0.01367, allocations: 33.38 kB / 0.7826 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.01367, allocations: 5.312 kB / 0.7826 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.496e-05/0.01371, allocations: 28.78 kB / 0.7827 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.01385, allocations: 37.77 kB / 0.7827 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003471/0.0142, allocations: 283.1 kB / 0.783 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.921e-05/0.01423, allocations: 75.83 kB / 0.783 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.458e-05/0.01428, allocations: 18.39 kB / 0.7831 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.347e-05/0.01436, allocations: 76.02 kB / 0.7831 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of SimCode: time 9.62e-07/0.01436, allocations: 0 / 0.7831 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of Templates: time 0.004653/0.01902, allocations: 2.853 MB / 0.7859 GB, free: 10.63 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.020176733843982]