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.0007237/0.0007237, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00096/0.001684, allocations: 449.7 kB / 10.37 MB, free: 328 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.000699/0.000699, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009056/0.001605, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9325/0.9325, allocations: 177.2 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08559/1.018, allocations: 53.65 MB / 243.3 MB, free: 15.6 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.853/1.853, allocations: 389.9 MB / 0.619 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4907/2.344, allocations: 127.1 MB / 0.7432 GB, free: 4.629 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 3.317e-06/3.317e-06, allocations: 3.984 kB / 0.7445 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.188e-05/2.52e-05, allocations: 2.312 kB / 0.7445 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002207/0.002232, allocations: 1.879 MB / 0.7463 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001666/0.003898, allocations: 1.253 MB / 0.7475 GB, free: 216 kB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.188e-05/0.00398, allocations: 2.469 kB / 0.7475 GB, free: 216 kB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002006/0.004181, allocations: 65.47 kB / 0.7476 GB, free: 152 kB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002293/0.00441, allocations: 118.7 kB / 0.7477 GB, free: 40 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004124/0.004822, allocations: 199.7 kB / 0.7479 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000181/0.005003, allocations: 150.1 kB / 0.7481 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.557e-05/0.005099, allocations: 22.27 kB / 0.7481 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.005242, allocations: 122.4 kB / 0.7482 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.506e-05/0.005327, allocations: 51.88 kB / 0.7482 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.005342, allocations: 7.938 kB / 0.7482 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001511/0.005493, allocations: 87.86 kB / 0.7483 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.271e-05/0.005546, allocations: 31.92 kB / 0.7484 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.856e-05/0.005584, allocations: 27.88 kB / 0.7484 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.005772, allocations: 151.4 kB / 0.7485 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.201e-05/0.005784, allocations: 3.984 kB / 0.7485 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.41e-07/0.005785, allocations: 0.7188 kB / 0.7485 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.177e-05/0.005796, allocations: 0 / 0.7485 GB, free: 15.21 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.0004778/0.006274, allocations: 429.6 kB / 0.7489 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.006306, allocations: 8.844 kB / 0.749 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.817e-05/0.006344, allocations: 12.92 kB / 0.749 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.006522, allocations: 166.1 kB / 0.7491 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.006539, allocations: 9.062 kB / 0.7491 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.00655, allocations: 4.375 kB / 0.7491 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.006675, allocations: 75.19 kB / 0.7492 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.006681, allocations: 7.875 kB / 0.7492 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.00669, allocations: 0 / 0.7492 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/0.006708, allocations: 4 kB / 0.7492 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.306e-05/0.006741, allocations: 13.11 kB / 0.7492 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002807/0.007022, allocations: 197.9 kB / 0.7494 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.007132, allocations: 105 kB / 0.7495 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.1e-05/0.007153, allocations: 13.52 kB / 0.7495 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.007165, allocations: 8.688 kB / 0.7495 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.996e-05/0.007265, allocations: 74.14 kB / 0.7496 GB, free: 14 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.007266, allocations: 0.5 kB / 0.7496 GB, free: 14 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.000122/0.007389, allocations: 71.16 kB / 0.7497 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.007419, allocations: 59.39 kB / 0.7497 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.007545, allocations: 216.1 kB / 0.7499 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.00756, allocations: 32.58 kB / 0.75 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.901e-05/0.007599, allocations: 104.5 kB / 0.7501 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.007624, allocations: 23.84 kB / 0.7501 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-05/0.007653, allocations: 25.69 kB / 0.7501 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.93e-05/0.007732, allocations: 330.8 kB / 0.7504 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.682e-05/0.007749, allocations: 10.81 kB / 0.7504 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.845e-05/0.007788, allocations: 52.28 kB / 0.7505 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.679e-05/0.007835, allocations: 55.3 kB / 0.7506 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.007837, allocations: 0 / 0.7506 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10) (initialization): time 7.788e-05/0.007914, allocations: 76.44 kB / 0.7506 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.007925, allocations: 6.5 kB / 0.7506 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.00793, allocations: 3.938 kB / 0.7506 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.572e-06/0.007937, allocations: 0 / 0.7506 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.46e-05/0.008001, allocations: 15.98 kB / 0.7506 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.008005, allocations: 4 kB / 0.7507 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.149e-05/0.008037, allocations: 3.938 kB / 0.7507 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.008043, allocations: 4.625 kB / 0.7507 GB, free: 12.85 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 6.885e-05/0.008112, allocations: 130.4 kB / 0.7508 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.336e-05/0.008125, allocations: 11.94 kB / 0.7508 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.61e-05/0.008221, allocations: 79.06 kB / 0.7509 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.008229, allocations: 4.812 kB / 0.7509 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.008231, allocations: 0 / 0.7509 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.008234, allocations: 0 / 0.7509 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.362e-05/0.008328, allocations: 102.5 kB / 0.751 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.00833, allocations: 4 kB / 0.751 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.575e-05/0.008356, allocations: 6.812 kB / 0.751 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.824e-05/0.008374, allocations: 23.84 kB / 0.751 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.008376, allocations: 0 / 0.751 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.008382, allocations: 3.984 kB / 0.751 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.008382, allocations: 0 / 0.751 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.008384, allocations: 0 / 0.751 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.801e-05/0.008462, allocations: 98.69 kB / 0.7511 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.00848, allocations: 10.69 kB / 0.7511 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.412e-05/0.008504, allocations: 15.91 kB / 0.7511 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.083e-05/0.008535, allocations: 3.984 kB / 0.7511 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.008543, allocations: 4 kB / 0.7511 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.833e-05/0.008601, allocations: 81 kB / 0.7512 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.008601, allocations: 0 / 0.7512 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000141/0.008742, allocations: 31.94 kB / 0.7512 GB, free: 12.2 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.001354/0.0101, allocations: 0.5636 MB / 0.7518 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001114/0.01021, allocations: 36.78 kB / 0.7518 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/0.01022, allocations: 8.859 kB / 0.7518 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.545e-05/0.01025, allocations: 28.78 kB / 0.7519 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.0104, allocations: 50.67 kB / 0.7519 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004803/0.01088, allocations: 290 kB / 0.7522 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.025e-05/0.01092, allocations: 73.58 kB / 0.7523 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.107e-05/0.01097, allocations: 25.78 kB / 0.7523 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.763e-05/0.01105, allocations: 75.95 kB / 0.7524 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of SimCode: time 7.51e-07/0.01105, allocations: 0.9375 kB / 0.7524 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of Templates: time 0.005044/0.01609, allocations: 2.871 MB / 0.7552 GB, free: 8.59 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.94192314799875]