Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0009106/0.0009106, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001096/0.002006, allocations: 449.8 kB / 10.44 MB, free: 252 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.0009755/0.0009755, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001086/0.002061, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.979/0.979, allocations: 177.2 MB / 189.8 MB, free: 5.27 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08801/1.067, allocations: 53.67 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.83/1.83, allocations: 390 MB / 0.6193 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4864/2.316, allocations: 127.1 MB / 0.7435 GB, free: 4.527 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.7448 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.843e-05/2.012e-05, allocations: 2.312 kB / 0.7448 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002272/0.002292, allocations: 1.885 MB / 0.7466 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001513/0.003805, allocations: 1.252 MB / 0.7479 GB, free: 96 kB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.932e-05/0.003905, allocations: 0 / 0.7479 GB, free: 96 kB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002376/0.004142, allocations: 64.7 kB / 0.7479 GB, free: 32 kB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003282/0.00447, allocations: 131.9 kB / 0.7481 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005408/0.005011, allocations: 195.8 kB / 0.7482 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000228/0.005239, allocations: 157.5 kB / 0.7484 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.267e-05/0.005332, allocations: 25.02 kB / 0.7484 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001868/0.005519, allocations: 119.7 kB / 0.7485 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.00563, allocations: 55.81 kB / 0.7486 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.005648, allocations: 8 kB / 0.7486 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002019/0.00585, allocations: 83.86 kB / 0.7487 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.571e-05/0.005916, allocations: 35.86 kB / 0.7487 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.101e-05/0.005957, allocations: 23.94 kB / 0.7487 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.006202, allocations: 150.6 kB / 0.7489 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.117e-05/0.006213, allocations: 0 / 0.7489 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.11e-07/0.006214, allocations: 0 / 0.7489 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.372e-05/0.006228, allocations: 0 / 0.7489 GB, free: 15.09 MB / 0.7292 GB 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.0005781/0.006806, allocations: 437 kB / 0.7493 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.006837, allocations: 8.031 kB / 0.7493 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.535e-05/0.006882, allocations: 12.92 kB / 0.7493 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.007085, allocations: 169.5 kB / 0.7495 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.007103, allocations: 5.469 kB / 0.7495 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.007117, allocations: 4.375 kB / 0.7495 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.007254, allocations: 74.59 kB / 0.7496 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.007262, allocations: 3.938 kB / 0.7496 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-06/0.00727, allocations: 0 / 0.7496 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.084e-05/0.007291, allocations: 8.781 kB / 0.7496 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.346e-05/0.007324, allocations: 11.98 kB / 0.7496 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003019/0.007626, allocations: 199.2 kB / 0.7498 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.007747, allocations: 101.2 kB / 0.7499 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.681e-05/0.007774, allocations: 16.86 kB / 0.7499 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.007788, allocations: 7.938 kB / 0.7499 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001088/0.007896, allocations: 70.86 kB / 0.75 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.007898, allocations: 4.531 kB / 0.75 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0001495/0.008047, allocations: 74.97 kB / 0.75 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/0.008072, allocations: 55.41 kB / 0.7501 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.008231, allocations: 212.1 kB / 0.7503 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.008251, allocations: 34.64 kB / 0.7503 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.938e-05/0.0083, allocations: 104.6 kB / 0.7504 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.008323, allocations: 15.84 kB / 0.7504 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.687e-05/0.00837, allocations: 30.59 kB / 0.7505 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.132e-05/0.008461, allocations: 330.8 kB / 0.7508 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.41e-05/0.008486, allocations: 7.328 kB / 0.7508 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.504e-05/0.008531, allocations: 57.11 kB / 0.7508 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.549e-05/0.008596, allocations: 55.86 kB / 0.7509 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.008598, allocations: 1.125 kB / 0.7509 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001047/0.008703, allocations: 76.38 kB / 0.751 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.008715, allocations: 5.719 kB / 0.751 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.008721, allocations: 0 / 0.751 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.008733, allocations: 0 / 0.751 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.524e-05/0.008818, allocations: 15.98 kB / 0.751 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.008823, allocations: 4 kB / 0.751 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.424e-05/0.008867, allocations: 8.688 kB / 0.751 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.008874, allocations: 4 kB / 0.751 GB, free: 12.71 MB / 0.7292 GB 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.966e-05/0.008954, allocations: 113.5 kB / 0.7511 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.00898, allocations: 27.03 kB / 0.7511 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/0.009102, allocations: 75.25 kB / 0.7512 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.009113, allocations: 4 kB / 0.7512 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.009114, allocations: 0 / 0.7512 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.009119, allocations: 4 kB / 0.7512 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.009235, allocations: 101.8 kB / 0.7513 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.009238, allocations: 3.984 kB / 0.7513 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.435e-05/0.009282, allocations: 8 kB / 0.7513 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.132e-05/0.009304, allocations: 23.47 kB / 0.7513 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.009306, allocations: 0 / 0.7513 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.009314, allocations: 7.922 kB / 0.7514 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.009315, allocations: 0 / 0.7514 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.009316, allocations: 0 / 0.7514 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.009428, allocations: 106.6 kB / 0.7515 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.009449, allocations: 3.938 kB / 0.7515 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.401e-05/0.009483, allocations: 7.984 kB / 0.7515 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.00952, allocations: 7.984 kB / 0.7515 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.00953, allocations: 4 kB / 0.7515 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.922e-05/0.009609, allocations: 77.97 kB / 0.7516 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.009609, allocations: 0 / 0.7516 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002036/0.009813, allocations: 32.88 kB / 0.7516 GB, free: 12.07 MB / 0.7292 GB 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.001466/0.01128, allocations: 0.5691 MB / 0.7521 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001264/0.01141, allocations: 37.38 kB / 0.7522 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/0.01141, allocations: 4 kB / 0.7522 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.934e-05/0.01146, allocations: 37.27 kB / 0.7522 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.0117, allocations: 227.2 kB / 0.7524 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005491/0.01225, allocations: 286.6 kB / 0.7527 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.265e-05/0.01231, allocations: 79.81 kB / 0.7528 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.98e-05/0.01237, allocations: 23.56 kB / 0.7528 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.16e-05/0.01246, allocations: 79.3 kB / 0.7529 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of SimCode: time 1.102e-06/0.01246, allocations: 0 / 0.7529 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of Templates: time 0.005913/0.01837, allocations: 2.884 MB / 0.7557 GB, free: 8.23 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.985888434574008]