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.001024/0.001024, allocations: 96.2 kB / 20.43 MB, free: 4.133 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.001179/0.001179, allocations: 169 kB / 23.8 MB, free: 0.7695 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 1.022/1.022, allocations: 177.1 MB / 204.2 MB, free: 5.613 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.6631/0.6631, allocations: 115 MB / 375.7 MB, free: 7.633 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.543e-06/1.543e-06, allocations: 0 / 481.5 MB, free: 11.84 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.972e-05/2.126e-05, allocations: 7.391 kB / 481.5 MB, free: 11.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.002302/0.002324, allocations: 1.836 MB / 483.4 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.003768, allocations: 1.217 MB / 484.6 MB, free: 9.879 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.281e-05/0.003851, allocations: 5.531 kB / 484.6 MB, free: 9.875 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003683/0.004219, allocations: 62.58 kB / 484.6 MB, free: 9.848 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003695/0.004589, allocations: 119.8 kB / 484.8 MB, free: 9.789 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004787/0.005068, allocations: 206.8 kB / 485 MB, free: 9.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001905/0.005258, allocations: 157.9 kB / 485.1 MB, free: 9.609 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.828e-05/0.005356, allocations: 12.11 kB / 485.1 MB, free: 9.602 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.005466, allocations: 95.88 kB / 485.2 MB, free: 9.555 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.005566, allocations: 63.22 kB / 485.3 MB, free: 9.539 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.005585, allocations: 7.656 kB / 485.3 MB, free: 9.539 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.00572, allocations: 83.25 kB / 485.4 MB, free: 9.516 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.986e-05/0.005789, allocations: 40.08 kB / 485.4 MB, free: 9.496 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.23e-05/0.005842, allocations: 33.88 kB / 485.4 MB, free: 9.477 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.006062, allocations: 162.8 kB / 485.6 MB, free: 9.414 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.006064, allocations: 5.188 kB / 485.6 MB, free: 9.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.006064, allocations: 0 / 485.6 MB, free: 9.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.006069, allocations: 0 / 485.6 MB, free: 9.41 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.0004912/0.00656, allocations: 0.5187 MB / 486.1 MB, free: 8.914 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.0066, allocations: 9.25 kB / 486.1 MB, free: 8.914 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.919e-05/0.00666, allocations: 31.28 kB / 486.2 MB, free: 8.898 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.00684, allocations: 180.6 kB / 486.3 MB, free: 8.738 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.00686, allocations: 8.391 kB / 486.3 MB, free: 8.734 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.006871, allocations: 5.406 kB / 486.3 MB, free: 8.734 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.007002, allocations: 74 kB / 486.4 MB, free: 8.676 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.007011, allocations: 3.938 kB / 486.4 MB, free: 8.672 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.007023, allocations: 3.5 kB / 486.4 MB, free: 8.672 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/0.007043, allocations: 0.875 kB / 486.4 MB, free: 8.672 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.394e-05/0.007087, allocations: 20 kB / 486.4 MB, free: 8.672 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003488/0.007436, allocations: 332 kB / 486.8 MB, free: 8.375 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.007557, allocations: 68.36 kB / 486.8 MB, free: 8.328 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.429e-05/0.007592, allocations: 25.06 kB / 486.9 MB, free: 8.312 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.007605, allocations: 6.453 kB / 486.9 MB, free: 8.309 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.23e-05/0.007697, allocations: 74.19 kB / 486.9 MB, free: 8.246 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.743e-06/0.007699, allocations: 1.375 kB / 486.9 MB, free: 8.246 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002078/0.007907, allocations: 105.2 kB / 487 MB, free: 8.195 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.144e-05/0.007928, allocations: 52.88 kB / 487.1 MB, free: 8.133 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003058/0.008234, allocations: 289 kB / 487.4 MB, free: 23.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.008247, allocations: 30.89 kB / 487.4 MB, free: 23.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.93e-05/0.008316, allocations: 166.6 kB / 487.6 MB, free: 23.74 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.008338, allocations: 23.7 kB / 487.6 MB, free: 23.72 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.008372, allocations: 31.52 kB / 487.6 MB, free: 23.69 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.008486, allocations: 0.507 MB / 488.1 MB, free: 23.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.778e-05/0.008513, allocations: 15.95 kB / 488.2 MB, free: 23.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.47e-05/0.008558, allocations: 68.19 kB / 488.2 MB, free: 23.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.097e-05/0.008619, allocations: 59.7 kB / 488.3 MB, free: 23.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.008621, allocations: 0 / 488.3 MB, free: 23.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001068/0.008728, allocations: 91.75 kB / 488.4 MB, free: 23.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.008741, allocations: 5.188 kB / 488.4 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.008747, allocations: 0.9375 kB / 488.4 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.00876, allocations: 1.312 kB / 488.4 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.771e-05/0.008828, allocations: 11.31 kB / 488.4 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.008833, allocations: 4.516 kB / 488.4 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.548e-05/0.008869, allocations: 12.22 kB / 488.4 MB, free: 23.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.008876, allocations: 2.812 kB / 488.4 MB, free: 23.01 MB / 426.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.166e-05/0.008947, allocations: 165.4 kB / 488.6 MB, free: 22.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.047e-05/0.008968, allocations: 29.8 kB / 488.6 MB, free: 22.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001353/0.009103, allocations: 97.78 kB / 488.7 MB, free: 22.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.009111, allocations: 1.125 kB / 488.7 MB, free: 22.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.009115, allocations: 2.219 kB / 488.7 MB, free: 22.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.009118, allocations: 0 / 488.7 MB, free: 22.77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.009221, allocations: 181.2 kB / 488.9 MB, free: 22.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.009222, allocations: 2.188 kB / 488.9 MB, free: 22.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.469e-05/0.009247, allocations: 5.156 kB / 488.9 MB, free: 22.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.00925, allocations: 5.828 kB / 488.9 MB, free: 22.61 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.009259, allocations: 1.531 kB / 488.9 MB, free: 22.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.00926, allocations: 0 / 488.9 MB, free: 22.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.009261, allocations: 1.219 kB / 488.9 MB, free: 22.61 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.009402, allocations: 149 kB / 489 MB, free: 22.49 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.671e-05/0.009418, allocations: 17.22 kB / 489 MB, free: 22.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.009436, allocations: 7.25 kB / 489.1 MB, free: 22.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.426e-05/0.009461, allocations: 2.406 kB / 489.1 MB, free: 22.48 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.411e-05/0.009505, allocations: 9.734 kB / 489.1 MB, free: 22.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-06/0.009514, allocations: 2.625 kB / 489.1 MB, free: 22.48 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001031/0.009617, allocations: 199.3 kB / 489.3 MB, free: 22.34 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009617, allocations: 0 / 489.3 MB, free: 22.34 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001655/0.009783, allocations: 40.3 kB / 489.3 MB, free: 22.33 MB / 426.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.000867/0.01065, allocations: 403.8 kB / 489.7 MB, free: 22.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001319/0.01078, allocations: 51.41 kB / 489.7 MB, free: 22.16 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01078, allocations: 0 / 489.7 MB, free: 22.16 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.872e-05/0.01083, allocations: 40.97 kB / 489.8 MB, free: 22.14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.01103, allocations: 47.22 kB / 489.8 MB, free: 22.12 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003562/0.01139, allocations: 264.9 kB / 490.1 MB, free: 21.93 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.07e-05/0.01143, allocations: 78.83 kB / 490.2 MB, free: 21.86 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.53e-05/0.01148, allocations: 22.33 kB / 490.2 MB, free: 21.85 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.156e-05/0.01152, allocations: 24.36 kB / 490.2 MB, free: 21.84 MB / 426.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01152, allocations: 0 / 490.2 MB, free: 21.84 MB / 426.7 MB Notification: Performance of Templates: time 0.004836/0.01635, allocations: 2.813 MB / 493 MB, free: 21.57 MB / 426.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.883415397722274]