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.000891/0.000891, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001779/0.001779, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9729/0.9729, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.002605/0.002605, allocations: 240.3 kB / 260.5 MB, free: 12.66 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.7212/0.7212, allocations: 138.4 MB / 455.5 MB, free: 1.41 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.933e-06/1.933e-06, allocations: 0 / 0.5556 GB, free: 248 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.921e-05/2.114e-05, allocations: 2.312 kB / 0.5556 GB, free: 244 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegerReplicator): time 0.00216/0.002181, allocations: 1.823 MB / 0.5574 GB, free: 14.4 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.003543, allocations: 1.212 MB / 0.5586 GB, free: 13.18 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.524e-05/0.003619, allocations: 0 / 0.5586 GB, free: 13.18 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002585/0.003877, allocations: 63.61 kB / 0.5586 GB, free: 13.11 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002357/0.004113, allocations: 123.4 kB / 0.5588 GB, free: 12.99 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003357/0.004449, allocations: 207.3 kB / 0.559 GB, free: 12.79 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.004599, allocations: 151.5 kB / 0.5591 GB, free: 12.64 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.371e-05/0.004683, allocations: 21.61 kB / 0.5591 GB, free: 12.62 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.66e-05/0.004779, allocations: 87.73 kB / 0.5592 GB, free: 12.53 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.837e-05/0.004858, allocations: 63.86 kB / 0.5593 GB, free: 12.47 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.004874, allocations: 8 kB / 0.5593 GB, free: 12.46 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.00499, allocations: 79.81 kB / 0.5594 GB, free: 12.38 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.241e-05/0.005043, allocations: 39.84 kB / 0.5594 GB, free: 12.34 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.698e-05/0.00508, allocations: 39.84 kB / 0.5594 GB, free: 12.3 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.005267, allocations: 167.4 kB / 0.5596 GB, free: 12.14 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.453e-06/0.005269, allocations: 0 / 0.5596 GB, free: 12.14 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.005269, allocations: 0 / 0.5596 GB, free: 12.14 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.005273, allocations: 0 / 0.5596 GB, free: 12.14 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.0004206/0.005694, allocations: 0.5206 MB / 0.5601 GB, free: 11.58 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.005728, allocations: 12.75 kB / 0.5601 GB, free: 11.57 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/0.005767, allocations: 20.84 kB / 0.5601 GB, free: 11.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.005916, allocations: 188.2 kB / 0.5603 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.00593, allocations: 4.375 kB / 0.5603 GB, free: 11.33 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-06/0.005939, allocations: 4.375 kB / 0.5603 GB, free: 11.33 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.00604, allocations: 70.92 kB / 0.5604 GB, free: 11.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.006047, allocations: 3.938 kB / 0.5604 GB, free: 11.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.006053, allocations: 0 / 0.5604 GB, free: 11.25 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.006069, allocations: 0 / 0.5604 GB, free: 11.25 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.128e-05/0.0061, allocations: 23.91 kB / 0.5604 GB, free: 11.22 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005392/0.006639, allocations: 300.2 kB / 0.5607 GB, free: 10.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.209e-05/0.006731, allocations: 67.19 kB / 0.5608 GB, free: 10.82 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.248e-05/0.006754, allocations: 23.62 kB / 0.5608 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.006769, allocations: 0 / 0.5608 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.187e-05/0.006861, allocations: 77 kB / 0.5609 GB, free: 10.71 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.006862, allocations: 0 / 0.5609 GB, free: 10.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001749/0.007037, allocations: 97.56 kB / 0.5609 GB, free: 10.61 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/0.007061, allocations: 59.34 kB / 0.561 GB, free: 10.54 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.007211, allocations: 273.6 kB / 0.5613 GB, free: 10.25 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.007225, allocations: 33.7 kB / 0.5613 GB, free: 10.21 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.363e-05/0.007288, allocations: 170.8 kB / 0.5615 GB, free: 10.04 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.00731, allocations: 31.83 kB / 0.5615 GB, free: 10.01 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.007341, allocations: 27.38 kB / 0.5615 GB, free: 9.973 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.007449, allocations: 0.5079 MB / 0.562 GB, free: 9.453 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.556e-05/0.007465, allocations: 4 kB / 0.562 GB, free: 9.449 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.85e-05/0.007503, allocations: 64.75 kB / 0.5621 GB, free: 9.367 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.765e-05/0.007551, allocations: 51.28 kB / 0.5621 GB, free: 9.309 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.007554, allocations: 4 kB / 0.5621 GB, free: 9.305 MB / 490.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.924e-05/0.007633, allocations: 77.53 kB / 0.5622 GB, free: 9.223 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.007645, allocations: 12.06 kB / 0.5622 GB, free: 9.211 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.00765, allocations: 0 / 0.5622 GB, free: 9.211 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.00766, allocations: 0 / 0.5622 GB, free: 9.211 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.448e-05/0.007715, allocations: 19.92 kB / 0.5622 GB, free: 9.191 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.007718, allocations: 0 / 0.5622 GB, free: 9.191 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.187e-05/0.00775, allocations: 11.94 kB / 0.5622 GB, free: 9.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.007755, allocations: 0 / 0.5622 GB, free: 9.18 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 6.776e-05/0.007823, allocations: 160.6 kB / 0.5624 GB, free: 9.012 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.922e-05/0.007842, allocations: 31.78 kB / 0.5624 GB, free: 8.98 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/0.007956, allocations: 107.2 kB / 0.5625 GB, free: 8.871 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.007963, allocations: 4 kB / 0.5625 GB, free: 8.867 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-06/0.007964, allocations: 0 / 0.5625 GB, free: 8.867 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.007967, allocations: 0 / 0.5625 GB, free: 8.867 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.008068, allocations: 137.2 kB / 0.5627 GB, free: 8.707 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.008071, allocations: 4 kB / 0.5627 GB, free: 8.703 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.101e-05/0.008092, allocations: 7.984 kB / 0.5627 GB, free: 8.695 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.008095, allocations: 3.938 kB / 0.5627 GB, free: 8.691 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.008101, allocations: 8 kB / 0.5627 GB, free: 8.684 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.008101, allocations: 0 / 0.5627 GB, free: 8.684 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.008102, allocations: 0 / 0.5627 GB, free: 8.684 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.497e-05/0.008197, allocations: 132.2 kB / 0.5628 GB, free: 8.531 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.806e-05/0.008215, allocations: 23.84 kB / 0.5628 GB, free: 8.508 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.008231, allocations: 7.938 kB / 0.5628 GB, free: 8.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.145e-05/0.008252, allocations: 0 / 0.5628 GB, free: 8.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.008284, allocations: 11.98 kB / 0.5629 GB, free: 8.488 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.008291, allocations: 4 kB / 0.5629 GB, free: 8.484 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.221e-05/0.008363, allocations: 187 kB / 0.563 GB, free: 8.301 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008363, allocations: 0 / 0.563 GB, free: 8.301 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001461/0.00851, allocations: 35.94 kB / 0.5631 GB, free: 8.266 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.0007276/0.009237, allocations: 404.1 kB / 0.5635 GB, free: 8.008 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.976e-05/0.009327, allocations: 39.66 kB / 0.5635 GB, free: 7.965 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-06/0.009328, allocations: 0 / 0.5635 GB, free: 7.965 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.707e-05/0.009365, allocations: 51.8 kB / 0.5635 GB, free: 7.91 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/0.009526, allocations: 37.91 kB / 0.5636 GB, free: 7.879 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002853/0.009812, allocations: 265.8 kB / 0.5638 GB, free: 7.594 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.478e-05/0.009846, allocations: 71.83 kB / 0.5639 GB, free: 7.504 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.861e-05/0.009885, allocations: 21.47 kB / 0.5639 GB, free: 7.48 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.311e-05/0.009958, allocations: 102.2 kB / 0.564 GB, free: 7.379 MB / 490.7 MB Notification: Performance of SimCode: time 4.51e-07/0.009959, allocations: 4 kB / 0.564 GB, free: 7.375 MB / 490.7 MB Notification: Performance of Templates: time 0.003858/0.01382, allocations: 2.869 MB / 0.5668 GB, free: 4.547 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.6083880737423897]