Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0009595/0.0009595, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001591/0.001591, allocations: 173 kB / 23.49 MB, free: 1.055 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 0.9868/0.9868, allocations: 177.1 MB / 203.8 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001614/0.001614, allocations: 244.7 kB / 260.5 MB, free: 12.9 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7446/0.7446, allocations: 138.4 MB / 455.4 MB, free: 1.512 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator") translateModel(BuildingSystems.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.555 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.414e-05/1.604e-05, allocations: 2.312 kB / 0.555 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegerReplicator): time 0.002145/0.002161, allocations: 1.831 MB / 0.5568 GB, free: 15 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001316/0.003477, allocations: 1.228 MB / 0.558 GB, free: 13.77 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.029e-05/0.003558, allocations: 3.938 kB / 0.558 GB, free: 13.76 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002732/0.003831, allocations: 63.61 kB / 0.5581 GB, free: 13.7 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002626/0.004094, allocations: 123.4 kB / 0.5582 GB, free: 13.58 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003543/0.004448, allocations: 203.2 kB / 0.5584 GB, free: 13.38 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.004617, allocations: 155.6 kB / 0.5586 GB, free: 13.23 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.048e-05/0.004708, allocations: 9.641 kB / 0.5586 GB, free: 13.21 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.004811, allocations: 95.67 kB / 0.5587 GB, free: 13.12 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.099e-05/0.004902, allocations: 59.86 kB / 0.5587 GB, free: 13.06 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.004921, allocations: 8 kB / 0.5587 GB, free: 13.05 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.005047, allocations: 83.86 kB / 0.5588 GB, free: 12.97 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.476e-05/0.005111, allocations: 43.83 kB / 0.5588 GB, free: 12.93 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.6e-05/0.005157, allocations: 31.88 kB / 0.5589 GB, free: 12.9 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.005377, allocations: 163.4 kB / 0.559 GB, free: 12.74 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.005379, allocations: 0 / 0.559 GB, free: 12.74 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.005379, allocations: 4 kB / 0.559 GB, free: 12.73 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.005384, allocations: 0 / 0.559 GB, free: 12.73 MB / 490.7 MB 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.0005201/0.005904, allocations: 0.5206 MB / 0.5595 GB, free: 12.17 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.00594, allocations: 16.73 kB / 0.5596 GB, free: 12.16 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.432e-05/0.005995, allocations: 24.78 kB / 0.5596 GB, free: 12.13 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.006216, allocations: 184.3 kB / 0.5598 GB, free: 11.93 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.006235, allocations: 8.375 kB / 0.5598 GB, free: 11.92 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.006248, allocations: 4.375 kB / 0.5598 GB, free: 11.91 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.006414, allocations: 119.9 kB / 0.5599 GB, free: 11.77 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.006422, allocations: 7.938 kB / 0.5599 GB, free: 11.77 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.006433, allocations: 0 / 0.5599 GB, free: 11.77 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.006447, allocations: 3.984 kB / 0.5599 GB, free: 11.76 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.589e-05/0.006493, allocations: 15.98 kB / 0.5599 GB, free: 11.75 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003797/0.006873, allocations: 343.6 kB / 0.5602 GB, free: 11.38 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.006993, allocations: 71.09 kB / 0.5603 GB, free: 11.29 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.616e-05/0.007029, allocations: 23.69 kB / 0.5603 GB, free: 11.27 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.007042, allocations: 3.984 kB / 0.5603 GB, free: 11.26 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001133/0.007155, allocations: 81.05 kB / 0.5604 GB, free: 11.17 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.007157, allocations: 0 / 0.5604 GB, free: 11.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002034/0.00736, allocations: 97.58 kB / 0.5605 GB, free: 11.07 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.007399, allocations: 89.09 kB / 0.5606 GB, free: 10.96 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.007582, allocations: 281.7 kB / 0.5609 GB, free: 10.67 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.007598, allocations: 29.7 kB / 0.5609 GB, free: 10.63 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.335e-05/0.007672, allocations: 170.8 kB / 0.561 GB, free: 10.46 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.007695, allocations: 23.84 kB / 0.5611 GB, free: 10.44 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/0.007732, allocations: 35.36 kB / 0.5611 GB, free: 10.39 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.007853, allocations: 0.4962 MB / 0.5616 GB, free: 9.887 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.801e-05/0.007881, allocations: 19.92 kB / 0.5616 GB, free: 9.867 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.882e-05/0.00794, allocations: 102.1 kB / 0.5617 GB, free: 9.738 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.274e-05/0.008002, allocations: 47.31 kB / 0.5617 GB, free: 9.684 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.008004, allocations: 4.031 kB / 0.5617 GB, free: 9.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001058/0.00811, allocations: 89.83 kB / 0.5618 GB, free: 9.586 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.008121, allocations: 8 kB / 0.5618 GB, free: 9.578 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.008127, allocations: 3.938 kB / 0.5618 GB, free: 9.574 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.008139, allocations: 0 / 0.5618 GB, free: 9.574 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.019e-05/0.008209, allocations: 16 kB / 0.5619 GB, free: 9.559 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.008214, allocations: 80 / 0.5619 GB, free: 9.559 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.776e-05/0.008252, allocations: 11.92 kB / 0.5619 GB, free: 9.547 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.008258, allocations: 3.984 kB / 0.5619 GB, free: 9.543 MB / 490.7 MB 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.848e-05/0.008337, allocations: 176.5 kB / 0.562 GB, free: 9.359 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.008359, allocations: 23.84 kB / 0.5621 GB, free: 9.336 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/0.008509, allocations: 103.2 kB / 0.5622 GB, free: 9.23 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.008517, allocations: 4 kB / 0.5622 GB, free: 9.227 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.00852, allocations: 0 / 0.5622 GB, free: 9.227 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.008524, allocations: 0 / 0.5622 GB, free: 9.227 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.008645, allocations: 172.5 kB / 0.5623 GB, free: 9.023 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.008646, allocations: 0 / 0.5623 GB, free: 9.023 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.706e-05/0.008673, allocations: 11.98 kB / 0.5623 GB, free: 9.012 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.008675, allocations: 0 / 0.5623 GB, free: 9.012 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.008682, allocations: 4 kB / 0.5623 GB, free: 9.008 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.008683, allocations: 0 / 0.5623 GB, free: 9.008 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.008684, allocations: 4 kB / 0.5624 GB, free: 9.004 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.008807, allocations: 144.1 kB / 0.5625 GB, free: 8.84 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.997e-05/0.008827, allocations: 27.8 kB / 0.5625 GB, free: 8.812 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.008845, allocations: 4 kB / 0.5625 GB, free: 8.809 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.806e-05/0.008873, allocations: 7.984 kB / 0.5625 GB, free: 8.801 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.008916, allocations: 11.98 kB / 0.5625 GB, free: 8.789 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.008923, allocations: 0 / 0.5625 GB, free: 8.789 MB / 490.7 MB Notification: Performance of sorting global known variables: time 9.737e-05/0.009021, allocations: 191.1 kB / 0.5627 GB, free: 8.602 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009021, allocations: 8 kB / 0.5627 GB, free: 8.594 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001626/0.009183, allocations: 28 kB / 0.5628 GB, free: 8.566 MB / 490.7 MB 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.0009458/0.01013, allocations: 402.8 kB / 0.5631 GB, free: 8.305 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001356/0.01026, allocations: 51.59 kB / 0.5632 GB, free: 8.25 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01027, allocations: 4 kB / 0.5632 GB, free: 8.246 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.458e-05/0.01031, allocations: 35.61 kB / 0.5632 GB, free: 8.207 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.01052, allocations: 45.56 kB / 0.5633 GB, free: 8.168 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003806/0.0109, allocations: 265.8 kB / 0.5635 GB, free: 7.883 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.559e-05/0.01095, allocations: 75.83 kB / 0.5636 GB, free: 7.789 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.004e-05/0.011, allocations: 25.84 kB / 0.5636 GB, free: 7.762 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.984e-05/0.01104, allocations: 24.48 kB / 0.5636 GB, free: 7.738 MB / 490.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01104, allocations: 0 / 0.5636 GB, free: 7.738 MB / 490.7 MB Notification: Performance of Templates: time 0.004394/0.01543, allocations: 2.698 MB / 0.5663 GB, free: 5.078 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.75405469792895]