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.001374/0.001374, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001246/0.001246, allocations: 173 kB / 24.06 MB, free: 452 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 1.061/1.061, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.001825/0.001825, allocations: 233.3 kB / 261.3 MB, free: 12.68 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.7433/0.7433, allocations: 138.4 MB / 456.3 MB, free: 1.418 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.863e-06/1.863e-06, allocations: 0 / 0.5564 GB, free: 224 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.565e-05/2.751e-05, allocations: 6.312 kB / 0.5564 GB, free: 216 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegerReplicator): time 0.003487/0.003515, allocations: 1.816 MB / 0.5582 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00243/0.005945, allocations: 1.216 MB / 0.5594 GB, free: 13.15 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.00606, allocations: 0 / 0.5594 GB, free: 13.15 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003357/0.006396, allocations: 59.62 kB / 0.5594 GB, free: 13.09 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003973/0.006793, allocations: 119.4 kB / 0.5595 GB, free: 12.98 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005725/0.007365, allocations: 211.2 kB / 0.5597 GB, free: 12.77 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002521/0.007618, allocations: 159.5 kB / 0.5599 GB, free: 12.61 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.007728, allocations: 13.64 kB / 0.5599 GB, free: 12.6 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.007889, allocations: 87.73 kB / 0.56 GB, free: 12.51 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.008012, allocations: 67.8 kB / 0.56 GB, free: 12.45 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.008032, allocations: 8 kB / 0.56 GB, free: 12.44 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000187/0.008219, allocations: 83.84 kB / 0.5601 GB, free: 12.36 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.837e-05/0.008298, allocations: 35.84 kB / 0.5602 GB, free: 12.32 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.4e-05/0.008352, allocations: 35.86 kB / 0.5602 GB, free: 12.29 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002949/0.008647, allocations: 171.4 kB / 0.5604 GB, free: 12.12 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.00865, allocations: 0 / 0.5604 GB, free: 12.12 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.008651, allocations: 0 / 0.5604 GB, free: 12.12 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.008656, allocations: 0 / 0.5604 GB, free: 12.12 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.0006073/0.009263, allocations: 0.5167 MB / 0.5609 GB, free: 11.56 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.009302, allocations: 8.75 kB / 0.5609 GB, free: 11.55 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.583e-05/0.009368, allocations: 20.84 kB / 0.5609 GB, free: 11.53 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.009604, allocations: 192.2 kB / 0.5611 GB, free: 11.32 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.009623, allocations: 384 / 0.5611 GB, free: 11.32 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.009636, allocations: 8.359 kB / 0.5611 GB, free: 11.31 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.009791, allocations: 78.91 kB / 0.5612 GB, free: 11.22 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.0098, allocations: 3.938 kB / 0.5612 GB, free: 11.22 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.009809, allocations: 0 / 0.5612 GB, free: 11.22 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/0.009829, allocations: 0 / 0.5612 GB, free: 11.22 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.709e-05/0.009876, allocations: 19.92 kB / 0.5612 GB, free: 11.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004142/0.01029, allocations: 296.2 kB / 0.5615 GB, free: 10.88 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.01043, allocations: 71.17 kB / 0.5615 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.789e-05/0.01047, allocations: 27.59 kB / 0.5616 GB, free: 10.77 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.01048, allocations: 4 kB / 0.5616 GB, free: 10.77 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000122/0.0106, allocations: 69.03 kB / 0.5616 GB, free: 10.68 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 1.924e-06/0.01061, allocations: 0 / 0.5616 GB, free: 10.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002356/0.01084, allocations: 101.5 kB / 0.5617 GB, free: 10.58 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.01087, allocations: 51.41 kB / 0.5618 GB, free: 10.52 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002287/0.0111, allocations: 277.6 kB / 0.562 GB, free: 10.23 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.01112, allocations: 33.7 kB / 0.5621 GB, free: 10.19 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.586e-05/0.01122, allocations: 170.8 kB / 0.5622 GB, free: 10.02 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.781e-05/0.01126, allocations: 19.86 kB / 0.5622 GB, free: 9.996 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.062e-05/0.01131, allocations: 39.34 kB / 0.5623 GB, free: 9.949 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.01147, allocations: 0.5001 MB / 0.5628 GB, free: 9.438 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.959e-05/0.0115, allocations: 7.984 kB / 0.5628 GB, free: 9.43 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.405e-05/0.01156, allocations: 68.73 kB / 0.5628 GB, free: 9.344 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.412e-05/0.01164, allocations: 47.25 kB / 0.5629 GB, free: 9.289 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01164, allocations: 0 / 0.5629 GB, free: 9.289 MB / 490.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001527/0.01179, allocations: 89.5 kB / 0.563 GB, free: 9.195 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.01181, allocations: 8 kB / 0.563 GB, free: 9.188 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.01181, allocations: 3.938 kB / 0.563 GB, free: 9.184 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.01183, allocations: 4.062 kB / 0.563 GB, free: 9.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.564e-05/0.01191, allocations: 12 kB / 0.563 GB, free: 9.168 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.01191, allocations: 0 / 0.563 GB, free: 9.168 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.7e-05/0.01197, allocations: 11.92 kB / 0.563 GB, free: 9.156 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.679e-06/0.01198, allocations: 4 kB / 0.563 GB, free: 9.152 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 0.0001035/0.01208, allocations: 160.6 kB / 0.5632 GB, free: 8.984 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.393e-05/0.01212, allocations: 27.8 kB / 0.5632 GB, free: 8.957 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001874/0.01231, allocations: 95.06 kB / 0.5633 GB, free: 8.859 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.01232, allocations: 0 / 0.5633 GB, free: 8.859 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.01232, allocations: 8 kB / 0.5633 GB, free: 8.852 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.01232, allocations: 0 / 0.5633 GB, free: 8.852 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.01249, allocations: 145.2 kB / 0.5634 GB, free: 8.684 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.01249, allocations: 0 / 0.5634 GB, free: 8.684 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.591e-05/0.01254, allocations: 4 kB / 0.5634 GB, free: 8.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.01254, allocations: 3.938 kB / 0.5634 GB, free: 8.676 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.01255, allocations: 11.98 kB / 0.5635 GB, free: 8.664 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.01255, allocations: 0 / 0.5635 GB, free: 8.664 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.01256, allocations: 0 / 0.5635 GB, free: 8.664 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.01273, allocations: 124.3 kB / 0.5636 GB, free: 8.52 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.935e-05/0.01276, allocations: 23.86 kB / 0.5636 GB, free: 8.496 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.01278, allocations: 3.938 kB / 0.5636 GB, free: 8.492 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.693e-05/0.01283, allocations: 7.984 kB / 0.5636 GB, free: 8.484 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/0.01288, allocations: 15.97 kB / 0.5636 GB, free: 8.469 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.01289, allocations: 0 / 0.5636 GB, free: 8.469 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001294/0.01302, allocations: 179.1 kB / 0.5638 GB, free: 8.293 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01302, allocations: 0 / 0.5638 GB, free: 8.293 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003021/0.01332, allocations: 35.92 kB / 0.5638 GB, free: 8.258 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.001279/0.0146, allocations: 423.8 kB / 0.5642 GB, free: 7.984 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001473/0.01475, allocations: 43.64 kB / 0.5643 GB, free: 7.938 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01475, allocations: 0 / 0.5643 GB, free: 7.938 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.549e-05/0.01481, allocations: 35.61 kB / 0.5643 GB, free: 7.898 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.01511, allocations: 44.78 kB / 0.5644 GB, free: 7.859 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004881/0.0156, allocations: 273.1 kB / 0.5646 GB, free: 7.57 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.569e-05/0.01565, allocations: 75.83 kB / 0.5647 GB, free: 7.477 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.785e-05/0.01572, allocations: 21.48 kB / 0.5647 GB, free: 7.453 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.01583, allocations: 98.19 kB / 0.5648 GB, free: 7.355 MB / 490.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01584, allocations: 0 / 0.5648 GB, free: 7.355 MB / 490.7 MB Notification: Performance of Templates: time 0.007023/0.02286, allocations: 2.897 MB / 0.5676 GB, free: 4.488 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.874408209230751]