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.0008237/0.0008237, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001227/0.002051, allocations: 452 kB / 10.43 MB, free: 268 kB / 10.45 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.0007358/0.0007358, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001016/0.001752, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.9739/0.9739, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08012/1.054, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6451/0.6451, allocations: 120.1 MB / 364.2 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07484/0.72, allocations: 38.16 MB / 402.4 MB, free: 12.27 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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.082e-06/1.082e-06, allocations: 0 / 403.7 MB, free: 10.93 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.061e-05/1.169e-05, allocations: 2.312 kB / 403.7 MB, free: 10.93 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.001967/0.001978, allocations: 1.874 MB / 405.6 MB, free: 9.035 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001324/0.003303, allocations: 1.246 MB / 406.9 MB, free: 7.781 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.827e-05/0.003371, allocations: 0 / 406.9 MB, free: 7.781 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001822/0.003553, allocations: 67.55 kB / 406.9 MB, free: 7.715 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002082/0.003761, allocations: 123.4 kB / 407 MB, free: 7.594 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004006/0.004162, allocations: 203.1 kB / 407.2 MB, free: 7.395 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002159/0.004378, allocations: 151.6 kB / 407.4 MB, free: 7.246 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.723e-05/0.004475, allocations: 22.28 kB / 407.4 MB, free: 7.223 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.00467, allocations: 119.6 kB / 407.5 MB, free: 7.105 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.004787, allocations: 59.86 kB / 407.6 MB, free: 7.047 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.004808, allocations: 8 kB / 407.6 MB, free: 7.039 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001964/0.005005, allocations: 75.83 kB / 407.7 MB, free: 6.965 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.85e-05/0.005073, allocations: 31.86 kB / 407.7 MB, free: 6.934 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.159e-05/0.005115, allocations: 31.88 kB / 407.7 MB, free: 6.902 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.005353, allocations: 159.4 kB / 407.9 MB, free: 6.746 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.13e-05/0.005364, allocations: 4 kB / 407.9 MB, free: 6.742 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.005365, allocations: 0 / 407.9 MB, free: 6.742 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.005377, allocations: 0 / 407.9 MB, free: 6.742 MB / 394.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.0005539/0.005931, allocations: 421.1 kB / 408.3 MB, free: 6.301 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.005965, allocations: 12.03 kB / 408.3 MB, free: 6.289 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.072e-05/0.006015, allocations: 12.92 kB / 408.3 MB, free: 6.277 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.006229, allocations: 173.5 kB / 408.5 MB, free: 6.082 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.006245, allocations: 384 / 408.5 MB, free: 6.082 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.006258, allocations: 8.312 kB / 408.5 MB, free: 6.074 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.006375, allocations: 77.69 kB / 408.6 MB, free: 5.988 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.006383, allocations: 7.938 kB / 408.6 MB, free: 5.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.00639, allocations: 0 / 408.6 MB, free: 5.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.006405, allocations: 0 / 408.6 MB, free: 5.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.749e-05/0.006433, allocations: 11.98 kB / 408.6 MB, free: 5.969 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004921/0.006925, allocations: 201.8 kB / 408.8 MB, free: 5.754 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.007026, allocations: 100.1 kB / 408.9 MB, free: 5.645 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.234e-05/0.007049, allocations: 20.84 kB / 408.9 MB, free: 5.621 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.00706, allocations: 3.938 kB / 408.9 MB, free: 5.617 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.882e-05/0.007149, allocations: 70.2 kB / 409 MB, free: 5.535 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.00715, allocations: 0 / 409 MB, free: 5.535 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001232/0.007273, allocations: 77.64 kB / 409.1 MB, free: 5.453 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.079e-05/0.007294, allocations: 51.41 kB / 409.1 MB, free: 5.391 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.007412, allocations: 220.1 kB / 409.3 MB, free: 5.16 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.007423, allocations: 25.7 kB / 409.4 MB, free: 5.129 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.686e-05/0.00746, allocations: 104.6 kB / 409.5 MB, free: 5.023 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.007482, allocations: 19.84 kB / 409.5 MB, free: 5.004 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.007514, allocations: 29.7 kB / 409.5 MB, free: 4.969 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.446e-05/0.007588, allocations: 334.8 kB / 409.8 MB, free: 4.633 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.511e-05/0.007603, allocations: 10.77 kB / 409.8 MB, free: 4.621 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.417e-05/0.007638, allocations: 60.2 kB / 409.9 MB, free: 4.547 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.38e-05/0.007681, allocations: 43.34 kB / 409.9 MB, free: 4.496 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.007683, allocations: 0 / 409.9 MB, free: 4.496 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.381e-05/0.007757, allocations: 76.38 kB / 410 MB, free: 4.414 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.007768, allocations: 4 kB / 410 MB, free: 4.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.007772, allocations: 4.062 kB / 410 MB, free: 4.406 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.007783, allocations: 4 kB / 410 MB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.413e-05/0.007847, allocations: 15.98 kB / 410 MB, free: 4.387 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-06/0.00785, allocations: 0 / 410 MB, free: 4.387 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.144e-05/0.007881, allocations: 7.938 kB / 410.1 MB, free: 4.379 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.007886, allocations: 400 / 410.1 MB, free: 4.379 MB / 394.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.0003339/0.00822, allocations: 128.6 kB / 410.2 MB, free: 4.242 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.533e-05/0.008235, allocations: 15.92 kB / 410.2 MB, free: 4.227 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.777e-05/0.008333, allocations: 75.12 kB / 410.3 MB, free: 4.145 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.00834, allocations: 8 kB / 410.3 MB, free: 4.137 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.008342, allocations: 0 / 410.3 MB, free: 4.137 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.008346, allocations: 3.984 kB / 410.3 MB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.868e-05/0.008434, allocations: 113.8 kB / 410.4 MB, free: 4.004 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.008436, allocations: 0 / 410.4 MB, free: 4.004 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.877e-05/0.008465, allocations: 11.94 kB / 410.4 MB, free: 3.992 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.607e-05/0.008481, allocations: 19.83 kB / 410.4 MB, free: 3.973 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.008482, allocations: 0 / 410.4 MB, free: 3.973 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.008488, allocations: 0 / 410.4 MB, free: 3.973 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.008489, allocations: 0 / 410.4 MB, free: 3.973 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.008491, allocations: 4 kB / 410.4 MB, free: 3.969 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.629e-05/0.008567, allocations: 102.7 kB / 410.5 MB, free: 3.848 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.008583, allocations: 11.88 kB / 410.5 MB, free: 3.836 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.445e-05/0.008607, allocations: 4 kB / 410.5 MB, free: 3.832 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/0.00864, allocations: 11.98 kB / 410.6 MB, free: 3.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-06/0.008647, allocations: 0 / 410.6 MB, free: 3.82 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.178e-05/0.008709, allocations: 69.06 kB / 410.6 MB, free: 3.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008709, allocations: 0 / 410.6 MB, free: 3.75 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000148/0.008857, allocations: 39.92 kB / 410.7 MB, free: 3.711 MB / 394.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.001152/0.01001, allocations: 0.5741 MB / 411.2 MB, free: 3.121 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001035/0.01011, allocations: 36.84 kB / 411.3 MB, free: 3.082 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.01012, allocations: 4 kB / 411.3 MB, free: 3.078 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.069e-05/0.01016, allocations: 32.77 kB / 411.3 MB, free: 3.043 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.01036, allocations: 223.2 kB / 411.5 MB, free: 2.785 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004557/0.01081, allocations: 285 kB / 411.8 MB, free: 2.48 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.879e-05/0.01085, allocations: 75.83 kB / 411.9 MB, free: 2.383 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.744e-05/0.0109, allocations: 26.03 kB / 411.9 MB, free: 2.355 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.986e-05/0.01098, allocations: 75.3 kB / 412 MB, free: 2.281 MB / 394.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01098, allocations: 0 / 412 MB, free: 2.281 MB / 394.7 MB Notification: Performance of Templates: time 0.004339/0.01532, allocations: 2.895 MB / 414.9 MB, free: 15.38 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.3347104927524924]