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.001647/0.001647, allocations: 72.95 kB / 20.72 MB, free: 3.766 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.001699/0.001699, allocations: 169 kB / 24.14 MB, free: 352 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.12/1.12, allocations: 177.1 MB / 204.6 MB, free: 5.48 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.6476/0.6476, allocations: 115 MB / 376 MB, free: 7.5 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.383e-06/1.383e-06, allocations: 0 / 428.8 MB, free: 2.762 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.32e-05/2.459e-05, allocations: 6.25 kB / 428.8 MB, free: 2.754 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.002981/0.003006, allocations: 1.871 MB / 430.6 MB, free: 0.8711 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.004694, allocations: 1.239 MB / 431.9 MB, free: 15.62 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.004797, allocations: 3.938 kB / 431.9 MB, free: 15.62 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003676/0.005165, allocations: 59.67 kB / 431.9 MB, free: 15.56 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002865/0.005451, allocations: 119.4 kB / 432.1 MB, free: 15.45 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004042/0.005856, allocations: 199.2 kB / 432.2 MB, free: 15.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002108/0.006066, allocations: 155.5 kB / 432.4 MB, free: 15.1 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.006178, allocations: 22.27 kB / 432.4 MB, free: 15.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.00631, allocations: 87.8 kB / 432.5 MB, free: 14.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.006412, allocations: 55.8 kB / 432.6 MB, free: 14.93 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.00643, allocations: 12 kB / 432.6 MB, free: 14.92 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001722/0.006602, allocations: 91.8 kB / 432.7 MB, free: 14.83 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.293e-05/0.006665, allocations: 31.86 kB / 432.7 MB, free: 14.8 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.252e-05/0.006708, allocations: 31.91 kB / 432.7 MB, free: 14.77 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.006928, allocations: 171.4 kB / 432.9 MB, free: 14.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.00693, allocations: 3.938 kB / 432.9 MB, free: 14.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.006932, allocations: 0 / 432.9 MB, free: 14.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.006936, allocations: 0 / 432.9 MB, free: 14.59 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.0004643/0.007401, allocations: 397.5 kB / 433.3 MB, free: 14.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.007435, allocations: 8.031 kB / 433.3 MB, free: 14.17 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.00748, allocations: 12.92 kB / 433.3 MB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.007676, allocations: 173.4 kB / 433.5 MB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.007693, allocations: 4.375 kB / 433.5 MB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.007704, allocations: 8.312 kB / 433.5 MB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.007831, allocations: 73.75 kB / 433.6 MB, free: 13.87 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.00784, allocations: 3.938 kB / 433.6 MB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.007848, allocations: 0 / 433.6 MB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.821e-05/0.007866, allocations: 3.938 kB / 433.6 MB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.356e-05/0.0079, allocations: 15.98 kB / 433.6 MB, free: 13.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000305/0.008205, allocations: 197.8 kB / 433.8 MB, free: 13.63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.008341, allocations: 108.1 kB / 433.9 MB, free: 13.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.665e-05/0.008367, allocations: 12.86 kB / 433.9 MB, free: 13.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.008381, allocations: 3.938 kB / 433.9 MB, free: 13.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001174/0.008499, allocations: 78.22 kB / 434 MB, free: 13.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.753e-06/0.008501, allocations: 0 / 434 MB, free: 13.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001552/0.008656, allocations: 65.91 kB / 434 MB, free: 13.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.008688, allocations: 51.41 kB / 434.1 MB, free: 13.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.00885, allocations: 224.1 kB / 434.3 MB, free: 13.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.008866, allocations: 25.7 kB / 434.3 MB, free: 13.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.328e-05/0.008919, allocations: 104.6 kB / 434.4 MB, free: 12.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.008952, allocations: 27.77 kB / 434.5 MB, free: 12.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.008989, allocations: 25.7 kB / 434.5 MB, free: 12.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.009102, allocations: 330.8 kB / 434.8 MB, free: 12.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.086e-05/0.009123, allocations: 10.83 kB / 434.8 MB, free: 12.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.874e-05/0.009172, allocations: 56.2 kB / 434.9 MB, free: 12.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.913e-05/0.009231, allocations: 47.41 kB / 434.9 MB, free: 12.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.009234, allocations: 0 / 434.9 MB, free: 12.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001014/0.009336, allocations: 84.39 kB / 435 MB, free: 12.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.009353, allocations: 8 kB / 435 MB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.009364, allocations: 0 / 435 MB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.009379, allocations: 0 / 435 MB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.8e-05/0.009457, allocations: 12 kB / 435 MB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.009461, allocations: 0 / 435 MB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.609e-05/0.009497, allocations: 7.984 kB / 435 MB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-06/0.009503, allocations: 0 / 435 MB, free: 12.26 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.555e-05/0.009589, allocations: 128.6 kB / 435.2 MB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.416e-05/0.009603, allocations: 19.95 kB / 435.2 MB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.009715, allocations: 79.06 kB / 435.3 MB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.009726, allocations: 4 kB / 435.3 MB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.009729, allocations: 3.938 kB / 435.3 MB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.009736, allocations: 4 kB / 435.3 MB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.859e-05/0.009834, allocations: 97.84 kB / 435.4 MB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.009836, allocations: 0 / 435.4 MB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.591e-05/0.009862, allocations: 15.92 kB / 435.4 MB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.009865, allocations: 4 kB / 435.4 MB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.004e-06/0.009872, allocations: 3.938 kB / 435.4 MB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.009874, allocations: 4 kB / 435.4 MB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.009875, allocations: 0 / 435.4 MB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.464e-05/0.009959, allocations: 98.73 kB / 435.5 MB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.754e-05/0.009977, allocations: 15.86 kB / 435.5 MB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.009995, allocations: 7.938 kB / 435.5 MB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.255e-05/0.01002, allocations: 4 kB / 435.5 MB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.01005, allocations: 7.922 kB / 435.5 MB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003396/0.01039, allocations: 8 kB / 435.5 MB, free: 11.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.974e-05/0.01045, allocations: 77 kB / 435.6 MB, free: 11.63 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01045, allocations: 0 / 435.6 MB, free: 11.63 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001381/0.01059, allocations: 39.92 kB / 435.6 MB, free: 11.59 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.00128/0.01187, allocations: 0.5116 MB / 436.2 MB, free: 11.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001083/0.01198, allocations: 36.78 kB / 436.2 MB, free: 11.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.01199, allocations: 4 kB / 436.2 MB, free: 11.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.605e-05/0.01202, allocations: 24.83 kB / 436.2 MB, free: 11.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001494/0.01217, allocations: 44.5 kB / 436.3 MB, free: 10.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003774/0.01255, allocations: 273.5 kB / 436.5 MB, free: 10.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.986e-05/0.0126, allocations: 71.83 kB / 436.6 MB, free: 10.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.581e-05/0.01264, allocations: 21.78 kB / 436.6 MB, free: 10.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.503e-05/0.01273, allocations: 83.28 kB / 436.7 MB, free: 10.48 MB / 410.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01273, allocations: 0 / 436.7 MB, free: 10.48 MB / 410.7 MB Notification: Performance of Templates: time 0.004791/0.01752, allocations: 2.841 MB / 439.5 MB, free: 7.648 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.822080688085407]