Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.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.000705/0.000705, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009511/0.001656, 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.000725/0.000725, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000957/0.001682, 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.9448/0.9448, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09369/1.038, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.901/1.901, allocations: 389.9 MB / 0.619 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5235/2.425, allocations: 127.1 MB / 0.7432 GB, free: 4.633 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.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset") translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.7445 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.648e-05/1.777e-05, allocations: 2.312 kB / 0.7445 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.002146/0.002164, allocations: 1.888 MB / 0.7463 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007577/0.002921, allocations: 0.5769 MB / 0.7469 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.342e-05/0.003005, allocations: 9.781 kB / 0.7469 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 6.906e-05/0.003074, allocations: 30.23 kB / 0.7469 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.751e-05/0.003131, allocations: 27.95 kB / 0.747 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001288/0.00326, allocations: 73.05 kB / 0.747 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000153/0.003413, allocations: 174.1 kB / 0.7472 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.81e-05/0.003511, allocations: 34.44 kB / 0.7472 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.003617, allocations: 95.77 kB / 0.7473 GB, free: 456 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.968e-05/0.003667, allocations: 35.84 kB / 0.7474 GB, free: 420 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.003695, allocations: 8 kB / 0.7474 GB, free: 412 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.247e-05/0.003707, allocations: 12 kB / 0.7474 GB, free: 400 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.962e-05/0.003727, allocations: 23.86 kB / 0.7474 GB, free: 376 kB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.74e-05/0.003764, allocations: 35.88 kB / 0.7474 GB, free: 340 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.003883, allocations: 96.06 kB / 0.7475 GB, free: 244 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.252e-05/0.003895, allocations: 0 / 0.7475 GB, free: 244 kB / 0.7136 GB Notification: Performance of FrontEnd: time 8.22e-07/0.003896, allocations: 0.7188 kB / 0.7475 GB, free: 244 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.464e-05/0.003911, allocations: 0 / 0.7475 GB, free: 244 kB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007192/0.00463, allocations: 404.9 kB / 0.7479 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.004669, allocations: 8.625 kB / 0.7479 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.004715, allocations: 16.92 kB / 0.7479 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.004884, allocations: 179.4 kB / 0.7481 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.004896, allocations: 9.344 kB / 0.7481 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.004916, allocations: 16.38 kB / 0.7481 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.00506, allocations: 133.1 kB / 0.7483 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-06/0.005067, allocations: 192 / 0.7483 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.005076, allocations: 4.969 kB / 0.7483 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.005083, allocations: 7.938 kB / 0.7483 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.617e-05/0.00513, allocations: 33.14 kB / 0.7483 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004783/0.005608, allocations: 0.5724 MB / 0.7489 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.571e-05/0.005664, allocations: 26.58 kB / 0.7489 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.704e-05/0.005681, allocations: 14.42 kB / 0.7489 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.005701, allocations: 4 kB / 0.7489 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001105/0.005812, allocations: 98.88 kB / 0.749 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.005813, allocations: 2.438 kB / 0.749 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0001491/0.005962, allocations: 93.52 kB / 0.7491 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/0.00602, allocations: 132.5 kB / 0.7492 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.626e-05/0.006116, allocations: 184 kB / 0.7494 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.006128, allocations: 25.7 kB / 0.7494 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.134e-05/0.00618, allocations: 129.9 kB / 0.7495 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.006201, allocations: 35.69 kB / 0.7496 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.006243, allocations: 41.69 kB / 0.7496 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.434e-05/0.006317, allocations: 334.8 kB / 0.7499 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.133e-05/0.006338, allocations: 11.94 kB / 0.7499 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.238e-05/0.006401, allocations: 118.6 kB / 0.7501 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.006506, allocations: 162.2 kB / 0.7502 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.006508, allocations: 0 / 0.7502 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001286/0.006637, allocations: 140.6 kB / 0.7503 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.006651, allocations: 11.94 kB / 0.7504 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.006656, allocations: 4 kB / 0.7504 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.006665, allocations: 4 kB / 0.7504 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.097e-05/0.006746, allocations: 39.92 kB / 0.7504 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.006751, allocations: 4 kB / 0.7504 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.89e-05/0.00681, allocations: 25.25 kB / 0.7504 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.00682, allocations: 16 kB / 0.7504 GB, free: 12.95 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intNoReset.trigger_internal,intDef.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * 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.624e-05/0.006886, allocations: 123.4 kB / 0.7506 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.924e-05/0.006905, allocations: 19.98 kB / 0.7506 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/0.006935, allocations: 25.89 kB / 0.7506 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.006937, allocations: 0 / 0.7506 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.00694, allocations: 4.781 kB / 0.7506 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.006944, allocations: 0 / 0.7506 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002891/0.007233, allocations: 339 kB / 0.7509 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.007237, allocations: 4 kB / 0.7509 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.141e-05/0.007288, allocations: 24.67 kB / 0.751 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.418e-05/0.007302, allocations: 11.91 kB / 0.751 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.007304, allocations: 1.281 kB / 0.751 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.007315, allocations: 7.984 kB / 0.751 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.007316, allocations: 0 / 0.751 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.007319, allocations: 4 kB / 0.751 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001538/0.007473, allocations: 280.6 kB / 0.7513 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.007494, allocations: 4 kB / 0.7513 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.927e-05/0.007563, allocations: 8 kB / 0.7513 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/0.007597, allocations: 11.97 kB / 0.7513 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.007603, allocations: 13.53 kB / 0.7513 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.569e-05/0.007639, allocations: 51.03 kB / 0.7513 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.007639, allocations: 0 / 0.7513 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001856/0.007825, allocations: 35.89 kB / 0.7514 GB, free: 11.96 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 8.194e-05/0.007907, allocations: 86.38 kB / 0.7515 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001029/0.00801, allocations: 80.17 kB / 0.7515 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.008015, allocations: 4.469 kB / 0.7515 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.757e-05/0.008053, allocations: 34.12 kB / 0.7516 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.008322, allocations: 84.09 kB / 0.7516 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005533/0.008876, allocations: 344.7 kB / 0.752 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.196e-05/0.008918, allocations: 71.98 kB / 0.752 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.211e-05/0.00897, allocations: 15.27 kB / 0.7521 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.494e-05/0.009055, allocations: 79.36 kB / 0.7521 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of SimCode: time 5.51e-07/0.009055, allocations: 1.5 kB / 0.7521 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of Templates: time 0.003741/0.0128, allocations: 2.25 MB / 0.7543 GB, free: 9.004 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.855668391101062]