Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0008232/0.0008232, allocations: 72.83 kB / 20.72 MB, free: 3.77 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.001163/0.001163, allocations: 169 kB / 24.14 MB, free: 356 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.9738/0.9738, allocations: 177.1 MB / 204.5 MB, free: 5.09 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6267/0.6267, allocations: 115 MB / 376 MB, free: 7.461 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator") translateModel(IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 428.7 MB, free: 2.852 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.638e-05/1.77e-05, allocations: 2.312 kB / 428.7 MB, free: 2.848 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.003018/0.003035, allocations: 1.823 MB / 430.5 MB, free: 1.012 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001722/0.004758, allocations: 1.235 MB / 431.8 MB, free: 15.77 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.692e-05/0.004835, allocations: 7.938 kB / 431.8 MB, free: 15.76 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002844/0.005119, allocations: 59.61 kB / 431.8 MB, free: 15.7 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003446/0.005464, allocations: 123.4 kB / 432 MB, free: 15.58 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005097/0.005973, allocations: 195.3 kB / 432.1 MB, free: 15.39 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002202/0.006194, allocations: 159.5 kB / 432.3 MB, free: 15.23 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.352e-05/0.006287, allocations: 18.27 kB / 432.3 MB, free: 15.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.006426, allocations: 87.73 kB / 432.4 MB, free: 15.12 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.006531, allocations: 59.81 kB / 432.5 MB, free: 15.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.00655, allocations: 4 kB / 432.5 MB, free: 15.06 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001653/0.006715, allocations: 79.86 kB / 432.5 MB, free: 14.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.955e-05/0.006784, allocations: 47.84 kB / 432.6 MB, free: 14.94 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.552e-05/0.00684, allocations: 31.86 kB / 432.6 MB, free: 14.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.007101, allocations: 163.4 kB / 432.8 MB, free: 14.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.007103, allocations: 4 kB / 432.8 MB, free: 14.74 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.007104, allocations: 0 / 432.8 MB, free: 14.74 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.007107, allocations: 0 / 432.8 MB, free: 14.74 MB / 410.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.0004784/0.007586, allocations: 405.4 kB / 433.2 MB, free: 14.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.007618, allocations: 12.03 kB / 433.2 MB, free: 14.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.433e-05/0.007652, allocations: 16.91 kB / 433.2 MB, free: 14.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.007841, allocations: 177.4 kB / 433.4 MB, free: 14.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.00786, allocations: 8.375 kB / 433.4 MB, free: 14.08 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.007878, allocations: 8.375 kB / 433.4 MB, free: 14.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.008021, allocations: 69.69 kB / 433.5 MB, free: 14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.008029, allocations: 3.938 kB / 433.5 MB, free: 13.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.00804, allocations: 4 kB / 433.5 MB, free: 13.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.938e-05/0.00806, allocations: 4 kB / 433.5 MB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.057e-05/0.0081, allocations: 11.98 kB / 433.5 MB, free: 13.97 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003227/0.008423, allocations: 201.8 kB / 433.7 MB, free: 13.76 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.008553, allocations: 104.1 kB / 433.8 MB, free: 13.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.864e-05/0.008582, allocations: 12.86 kB / 433.8 MB, free: 13.63 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.008595, allocations: 3.938 kB / 433.8 MB, free: 13.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.082e-05/0.008686, allocations: 66.19 kB / 433.9 MB, free: 13.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/0.008687, allocations: 0 / 433.9 MB, free: 13.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001388/0.008826, allocations: 81.69 kB / 433.9 MB, free: 13.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.008856, allocations: 51.41 kB / 434 MB, free: 13.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.009047, allocations: 216.2 kB / 434.2 MB, free: 13.17 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.009066, allocations: 25.7 kB / 434.2 MB, free: 13.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.608e-05/0.009122, allocations: 104.6 kB / 434.3 MB, free: 13.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.009151, allocations: 27.78 kB / 434.4 MB, free: 13.01 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.6e-05/0.009197, allocations: 25.69 kB / 434.4 MB, free: 12.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.009299, allocations: 326.8 kB / 434.7 MB, free: 12.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.467e-05/0.009324, allocations: 10.81 kB / 434.7 MB, free: 12.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.27e-05/0.009376, allocations: 60.22 kB / 434.8 MB, free: 12.56 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.103e-05/0.009447, allocations: 47.33 kB / 434.8 MB, free: 12.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.00945, allocations: 3.938 kB / 434.8 MB, free: 12.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001207/0.009571, allocations: 76.67 kB / 434.9 MB, free: 12.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.009583, allocations: 8.062 kB / 434.9 MB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.009588, allocations: 0 / 434.9 MB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.009603, allocations: 4 kB / 434.9 MB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.289e-05/0.009685, allocations: 11.98 kB / 434.9 MB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.009689, allocations: 0 / 434.9 MB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.324e-05/0.009742, allocations: 8 kB / 434.9 MB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.009749, allocations: 0 / 434.9 MB, free: 12.39 MB / 410.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 8.802e-05/0.009837, allocations: 124.6 kB / 435.1 MB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.009868, allocations: 23.86 kB / 435.1 MB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000141/0.01001, allocations: 79.06 kB / 435.2 MB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.01002, allocations: 0 / 435.2 MB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.01002, allocations: 0 / 435.2 MB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.01002, allocations: 4 kB / 435.2 MB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.01016, allocations: 101.8 kB / 435.3 MB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.01016, allocations: 0 / 435.3 MB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.042e-05/0.0102, allocations: 12 kB / 435.3 MB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.01021, allocations: 0 / 435.3 MB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.01022, allocations: 3.938 kB / 435.3 MB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.01022, allocations: 3.938 kB / 435.3 MB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01022, allocations: 0 / 435.3 MB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.01035, allocations: 106.7 kB / 435.4 MB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.905e-05/0.01038, allocations: 15.86 kB / 435.4 MB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.0104, allocations: 7.938 kB / 435.4 MB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.187e-05/0.01045, allocations: 0 / 435.4 MB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.01049, allocations: 19.95 kB / 435.4 MB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.0105, allocations: 0 / 435.4 MB, free: 11.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.703e-05/0.01059, allocations: 77 kB / 435.5 MB, free: 11.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01059, allocations: 4 kB / 435.5 MB, free: 11.76 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002311/0.01083, allocations: 35.88 kB / 435.5 MB, free: 11.73 MB / 410.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.001609/0.01243, allocations: 0.5191 MB / 436.1 MB, free: 11.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001331/0.01257, allocations: 36.78 kB / 436.1 MB, free: 11.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.01257, allocations: 4 kB / 436.1 MB, free: 11.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.152e-05/0.01262, allocations: 32.83 kB / 436.1 MB, free: 11.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001795/0.0128, allocations: 36.64 kB / 436.2 MB, free: 11.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004497/0.01325, allocations: 269.4 kB / 436.4 MB, free: 10.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.85e-05/0.01331, allocations: 75.91 kB / 436.5 MB, free: 10.72 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.025e-05/0.01338, allocations: 25.77 kB / 436.5 MB, free: 10.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.01351, allocations: 87.34 kB / 436.6 MB, free: 10.61 MB / 410.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01351, allocations: 0 / 436.6 MB, free: 10.61 MB / 410.7 MB Notification: Performance of Templates: time 0.006228/0.01974, allocations: 2.826 MB / 439.4 MB, free: 7.785 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6777050266973674]