Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.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.001024/0.001024, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001272/0.002296, allocations: 449.7 kB / 10.37 MB, free: 324 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.000971/0.000971, allocations: 165.2 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001224/0.002195, allocations: 459.6 kB / 11.71 MB, free: 2.453 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.9521/0.9521, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09625/1.048, allocations: 53.66 MB / 243.3 MB, free: 15.58 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.936/1.936, allocations: 389.9 MB / 0.619 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5184/2.455, allocations: 127.1 MB / 0.7432 GB, free: 4.605 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.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 0.7445 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.39e-05/1.57e-05, allocations: 2.312 kB / 0.7445 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001283/0.001298, allocations: 0.9117 MB / 0.7454 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.002462, allocations: 1.23 MB / 0.7466 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.187e-05/0.002514, allocations: 2.812 kB / 0.7466 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.827e-05/0.002542, allocations: 11.86 kB / 0.7467 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.504e-05/0.002597, allocations: 21.45 kB / 0.7467 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003233/0.00292, allocations: 144.5 kB / 0.7468 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.0031, allocations: 166 kB / 0.747 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.003201, allocations: 47.59 kB / 0.747 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.003328, allocations: 103.8 kB / 0.7471 GB, free: 0.6523 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.913e-05/0.003418, allocations: 43.86 kB / 0.7472 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.00344, allocations: 12 kB / 0.7472 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.837e-05/0.003508, allocations: 25.06 kB / 0.7472 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.215e-05/0.00353, allocations: 15.94 kB / 0.7472 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.079e-05/0.003571, allocations: 31.92 kB / 0.7472 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.003715, allocations: 100.3 kB / 0.7473 GB, free: 440 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.434e-05/0.00373, allocations: 1.5 kB / 0.7473 GB, free: 440 kB / 0.7136 GB Notification: Performance of FrontEnd: time 8.32e-07/0.003731, allocations: 4 kB / 0.7473 GB, free: 436 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.451e-05/0.003745, allocations: 0 / 0.7473 GB, free: 436 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005295/0.004275, allocations: 386.8 kB / 0.7477 GB, free: 16 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.004304, allocations: 8.031 kB / 0.7477 GB, free: 8 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.015e-05/0.004354, allocations: 20.92 kB / 0.7477 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.004507, allocations: 144.7 kB / 0.7479 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.004518, allocations: 8.375 kB / 0.7479 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.004544, allocations: 21.02 kB / 0.7479 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.004654, allocations: 79.66 kB / 0.748 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.004661, allocations: 192 / 0.748 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.004671, allocations: 9.703 kB / 0.748 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.004677, allocations: 4.375 kB / 0.748 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.586e-05/0.004703, allocations: 11.94 kB / 0.748 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003566/0.00506, allocations: 230.8 kB / 0.7482 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.854e-05/0.005098, allocations: 26.52 kB / 0.7482 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.737e-05/0.005116, allocations: 16.97 kB / 0.7483 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.005134, allocations: 7.875 kB / 0.7483 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.567e-05/0.00523, allocations: 71.36 kB / 0.7483 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 1.173e-06/0.005231, allocations: 2.438 kB / 0.7483 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0001299/0.005361, allocations: 81.53 kB / 0.7484 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.005392, allocations: 55.41 kB / 0.7485 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.285e-05/0.005465, allocations: 146.6 kB / 0.7486 GB, free: 15 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.005483, allocations: 29.7 kB / 0.7486 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/0.005669, allocations: 108.1 kB / 0.7487 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.005687, allocations: 27.8 kB / 0.7488 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.193e-05/0.005739, allocations: 46.61 kB / 0.7488 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.055e-05/0.00581, allocations: 326.8 kB / 0.7491 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.732e-05/0.005857, allocations: 56.47 kB / 0.7492 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.716e-05/0.005934, allocations: 144.8 kB / 0.7493 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.006044, allocations: 171.4 kB / 0.7495 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.006047, allocations: 3.938 kB / 0.7495 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001611/0.006208, allocations: 211.7 kB / 0.7497 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/0.006239, allocations: 37.69 kB / 0.7497 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.006244, allocations: 0.625 kB / 0.7497 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.887e-06/0.006253, allocations: 4.812 kB / 0.7497 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.754e-05/0.00632, allocations: 27.92 kB / 0.7498 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.006324, allocations: 4.594 kB / 0.7498 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.877e-05/0.006413, allocations: 40.39 kB / 0.7498 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.006426, allocations: 8.938 kB / 0.7498 GB, free: 13.64 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.402e-05/0.00649, allocations: 129.6 kB / 0.7499 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.488e-06/0.0065, allocations: 12.59 kB / 0.7499 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.368e-05/0.006523, allocations: 17.48 kB / 0.75 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.006525, allocations: 0 / 0.75 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.006527, allocations: 0.5938 kB / 0.75 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.00653, allocations: 0 / 0.75 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.006747, allocations: 240.1 kB / 0.7502 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.006748, allocations: 0 / 0.7502 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.095e-05/0.006789, allocations: 19.92 kB / 0.7502 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.087e-06/0.006798, allocations: 8.609 kB / 0.7502 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.006799, allocations: 0 / 0.7502 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.006806, allocations: 0.5938 kB / 0.7502 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.006807, allocations: 1.719 kB / 0.7502 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.006808, allocations: 3.938 kB / 0.7502 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.006922, allocations: 191.3 kB / 0.7504 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.006935, allocations: 4 kB / 0.7504 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.499e-05/0.00697, allocations: 4.812 kB / 0.7504 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.434e-05/0.006994, allocations: 3.984 kB / 0.7504 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.007002, allocations: 12.73 kB / 0.7504 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.068e-05/0.007023, allocations: 26.72 kB / 0.7505 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007023, allocations: 0.5625 kB / 0.7505 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001543/0.007177, allocations: 31.94 kB / 0.7505 GB, free: 12.9 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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 9.248e-05/0.007269, allocations: 87.03 kB / 0.7506 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001546/0.007424, allocations: 175.9 kB / 0.7507 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.007429, allocations: 0 / 0.7507 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.843e-05/0.007457, allocations: 26.59 kB / 0.7508 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.007606, allocations: 36.09 kB / 0.7508 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004887/0.008095, allocations: 250.4 kB / 0.751 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.325e-05/0.008128, allocations: 67.7 kB / 0.7511 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.794e-05/0.008166, allocations: 16.02 kB / 0.7511 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.816e-05/0.008244, allocations: 84.38 kB / 0.7512 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of SimCode: time 7.01e-07/0.008245, allocations: 0 / 0.7512 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of Templates: time 0.003431/0.01168, allocations: 1.92 MB / 0.7531 GB, free: 10.31 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.9328575832769275]