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.0009715/0.0009715, 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.0009367/0.0009367, allocations: 169 kB / 23.8 MB, free: 0.7656 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 0.9834/0.9834, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.6375/0.6375, allocations: 115 MB / 375.7 MB, free: 7.672 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 2.063e-06/2.063e-06, allocations: 0 / 481.5 MB, free: 11.8 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.798e-05/3.005e-05, allocations: 6.766 kB / 481.5 MB, free: 11.8 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.003129/0.003159, allocations: 1.833 MB / 483.3 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002021/0.00518, allocations: 1.217 MB / 484.6 MB, free: 9.844 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.005304, allocations: 6.031 kB / 484.6 MB, free: 9.84 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003842/0.005688, allocations: 56.53 kB / 484.6 MB, free: 9.816 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004383/0.006126, allocations: 125.5 kB / 484.7 MB, free: 9.754 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006535/0.006779, allocations: 203.9 kB / 484.9 MB, free: 9.648 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002642/0.007044, allocations: 159.9 kB / 485.1 MB, free: 9.574 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.007157, allocations: 12.58 kB / 485.1 MB, free: 9.566 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.007331, allocations: 91.2 kB / 485.2 MB, free: 9.523 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.007461, allocations: 63.72 kB / 485.3 MB, free: 9.508 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.681e-05/0.007487, allocations: 7.406 kB / 485.3 MB, free: 9.508 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.007689, allocations: 79.95 kB / 485.3 MB, free: 9.484 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.88e-05/0.007777, allocations: 44.08 kB / 485.4 MB, free: 9.465 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.481e-05/0.007842, allocations: 32.88 kB / 485.4 MB, free: 9.449 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000345/0.008187, allocations: 164.9 kB / 485.6 MB, free: 9.383 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.00819, allocations: 3.938 kB / 485.6 MB, free: 9.379 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.008191, allocations: 0 / 485.6 MB, free: 9.379 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.008197, allocations: 0 / 485.6 MB, free: 9.379 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.0006765/0.008873, allocations: 0.5247 MB / 486.1 MB, free: 8.879 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.008921, allocations: 9.969 kB / 486.1 MB, free: 8.879 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.572e-05/0.008997, allocations: 26.12 kB / 486.1 MB, free: 8.867 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.009276, allocations: 183 kB / 486.3 MB, free: 8.703 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.0093, allocations: 7.656 kB / 486.3 MB, free: 8.699 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.009319, allocations: 4.5 kB / 486.3 MB, free: 8.699 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.009515, allocations: 125.7 kB / 486.5 MB, free: 8.586 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.009528, allocations: 7.922 kB / 486.5 MB, free: 8.578 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.009541, allocations: 1.281 kB / 486.5 MB, free: 8.578 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.009557, allocations: 1.312 kB / 486.5 MB, free: 8.578 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.499e-05/0.009622, allocations: 17.53 kB / 486.5 MB, free: 8.578 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004816/0.0101, allocations: 337.1 kB / 486.8 MB, free: 8.281 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.01026, allocations: 67.5 kB / 486.9 MB, free: 8.234 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.637e-05/0.01031, allocations: 29.05 kB / 486.9 MB, free: 8.215 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.01033, allocations: 1.156 kB / 486.9 MB, free: 8.215 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00013/0.01046, allocations: 79.27 kB / 487 MB, free: 8.148 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.442e-06/0.01046, allocations: 0.5625 kB / 487 MB, free: 8.148 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002791/0.01074, allocations: 103.4 kB / 487.1 MB, free: 8.102 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.01077, allocations: 78.55 kB / 487.2 MB, free: 8.008 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003925/0.01116, allocations: 287.2 kB / 487.4 MB, free: 23.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.01118, allocations: 32.23 kB / 487.5 MB, free: 23.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.906e-05/0.01127, allocations: 163.7 kB / 487.6 MB, free: 23.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.0113, allocations: 27.19 kB / 487.7 MB, free: 23.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.516e-05/0.01134, allocations: 37.55 kB / 487.7 MB, free: 23.56 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.01149, allocations: 0.5044 MB / 488.2 MB, free: 23.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.55e-05/0.01152, allocations: 11.64 kB / 488.2 MB, free: 23.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.983e-05/0.01158, allocations: 103.1 kB / 488.3 MB, free: 22.94 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.799e-05/0.01166, allocations: 55.56 kB / 488.4 MB, free: 22.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01166, allocations: 0 / 488.4 MB, free: 22.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001499/0.01181, allocations: 88.64 kB / 488.5 MB, free: 22.85 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.01183, allocations: 6.406 kB / 488.5 MB, free: 22.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.01184, allocations: 1.125 kB / 488.5 MB, free: 22.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.01186, allocations: 1.25 kB / 488.5 MB, free: 22.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.064e-05/0.01195, allocations: 12.8 kB / 488.5 MB, free: 22.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.01195, allocations: 6.281 kB / 488.5 MB, free: 22.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.01e-05/0.012, allocations: 9.609 kB / 488.5 MB, free: 22.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.01202, allocations: 4.312 kB / 488.5 MB, free: 22.84 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 0.000104/0.01212, allocations: 169.3 kB / 488.7 MB, free: 22.67 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/0.01215, allocations: 25.56 kB / 488.7 MB, free: 22.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001871/0.01234, allocations: 105.1 kB / 488.8 MB, free: 22.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.01235, allocations: 2.094 kB / 488.8 MB, free: 22.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.01235, allocations: 2.312 kB / 488.8 MB, free: 22.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.706e-06/0.01235, allocations: 0 / 488.8 MB, free: 22.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.0125, allocations: 177.6 kB / 489 MB, free: 22.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.0125, allocations: 1.938 kB / 489 MB, free: 22.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.476e-05/0.01253, allocations: 10.25 kB / 489 MB, free: 22.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.01254, allocations: 0.9688 kB / 489 MB, free: 22.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.01255, allocations: 4.844 kB / 489 MB, free: 22.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.01255, allocations: 0 / 489 MB, free: 22.43 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01255, allocations: 2.031 kB / 489 MB, free: 22.43 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.01272, allocations: 145.9 kB / 489.1 MB, free: 22.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.544e-05/0.01274, allocations: 16.56 kB / 489.1 MB, free: 22.31 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.01277, allocations: 6.094 kB / 489.2 MB, free: 22.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.655e-05/0.0128, allocations: 3 kB / 489.2 MB, free: 22.31 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.313e-05/0.01286, allocations: 14.16 kB / 489.2 MB, free: 22.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.01287, allocations: 4.844 kB / 489.2 MB, free: 22.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001518/0.01302, allocations: 193.2 kB / 489.4 MB, free: 22.17 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01302, allocations: 0 / 489.4 MB, free: 22.17 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002764/0.0133, allocations: 39.53 kB / 489.4 MB, free: 22.16 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.001096/0.01439, allocations: 399.2 kB / 489.8 MB, free: 22.02 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001723/0.01457, allocations: 53.92 kB / 489.8 MB, free: 22 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01457, allocations: 0 / 489.8 MB, free: 22 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.487e-05/0.01463, allocations: 37.36 kB / 489.9 MB, free: 21.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.01491, allocations: 51.88 kB / 489.9 MB, free: 21.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005064/0.01542, allocations: 271.9 kB / 490.2 MB, free: 21.76 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.764e-05/0.01546, allocations: 76.02 kB / 490.3 MB, free: 21.69 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.72e-05/0.01553, allocations: 24.94 kB / 490.3 MB, free: 21.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.26e-05/0.01558, allocations: 19.03 kB / 490.3 MB, free: 21.68 MB / 426.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01558, allocations: 0.5625 kB / 490.3 MB, free: 21.68 MB / 426.7 MB Notification: Performance of Templates: time 0.005882/0.02147, allocations: 2.695 MB / 493 MB, free: 21.43 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.7902524387463927]