Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.0008137/0.0008137, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0007842/0.0007842, allocations: 165.9 kB / 23.96 MB, free: 0.5977 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.8693/0.8693, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.555/0.555, allocations: 114 MB / 374.7 MB, free: 8.699 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.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 0 / 0.5554 GB, free: 1.211 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.453e-05/2.702e-05, allocations: 5.891 kB / 0.5554 GB, free: 1.207 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001237/0.001264, allocations: 0.6964 MB / 0.5561 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.002448, allocations: 1.228 MB / 0.5573 GB, free: 15.27 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.32e-05/0.002491, allocations: 0 / 0.5573 GB, free: 15.27 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.85e-05/0.002519, allocations: 3.938 kB / 0.5573 GB, free: 15.27 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.244e-05/0.002582, allocations: 7.922 kB / 0.5573 GB, free: 15.26 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005658/0.003148, allocations: 154.4 kB / 0.5574 GB, free: 15.11 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.003289, allocations: 111.8 kB / 0.5575 GB, free: 15 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.393e-05/0.003383, allocations: 15.98 kB / 0.5576 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.909e-05/0.003482, allocations: 63.94 kB / 0.5576 GB, free: 14.92 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.933e-05/0.003562, allocations: 39.88 kB / 0.5577 GB, free: 14.88 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.003584, allocations: 8 kB / 0.5577 GB, free: 14.88 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.75e-05/0.003651, allocations: 27.98 kB / 0.5577 GB, free: 14.85 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.24e-05/0.003674, allocations: 8 kB / 0.5577 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.794e-05/0.003722, allocations: 39.89 kB / 0.5577 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.003886, allocations: 135.6 kB / 0.5579 GB, free: 14.67 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.003888, allocations: 0 / 0.5579 GB, free: 14.67 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.003889, allocations: 4 kB / 0.5579 GB, free: 14.66 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.003892, allocations: 3.938 kB / 0.5579 GB, free: 14.66 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005994/0.004492, allocations: 328.7 kB / 0.5582 GB, free: 14.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.004531, allocations: 8.625 kB / 0.5582 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.2e-05/0.004623, allocations: 8.891 kB / 0.5582 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.894e-05/0.004702, allocations: 117.7 kB / 0.5583 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.004715, allocations: 4.375 kB / 0.5583 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.004733, allocations: 12.38 kB / 0.5583 GB, free: 14.13 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.00489, allocations: 66.22 kB / 0.5584 GB, free: 14.06 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.004899, allocations: 4.172 kB / 0.5584 GB, free: 14.05 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.004911, allocations: 8.359 kB / 0.5584 GB, free: 14.05 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.004916, allocations: 384 / 0.5584 GB, free: 14.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.816e-05/0.005014, allocations: 51.78 kB / 0.5585 GB, free: 14 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/0.005391, allocations: 244.5 kB / 0.5587 GB, free: 13.73 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.005502, allocations: 50.55 kB / 0.5587 GB, free: 13.67 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.451e-05/0.005557, allocations: 28.92 kB / 0.5588 GB, free: 13.64 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.005577, allocations: 4 kB / 0.5588 GB, free: 13.63 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001777/0.005755, allocations: 95.19 kB / 0.5589 GB, free: 13.53 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.005756, allocations: 0 / 0.5589 GB, free: 13.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.000289/0.006045, allocations: 133.8 kB / 0.559 GB, free: 13.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.006079, allocations: 55.41 kB / 0.559 GB, free: 13.32 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.738e-05/0.006146, allocations: 117.8 kB / 0.5592 GB, free: 13.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.006164, allocations: 29.7 kB / 0.5592 GB, free: 13.16 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.545e-05/0.00621, allocations: 96.16 kB / 0.5593 GB, free: 13.07 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.006225, allocations: 15.84 kB / 0.5593 GB, free: 13.05 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.856e-05/0.006274, allocations: 37.7 kB / 0.5593 GB, free: 13.01 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.332e-05/0.006357, allocations: 318.8 kB / 0.5596 GB, free: 12.69 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.006476, allocations: 81.66 kB / 0.5597 GB, free: 12.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.006582, allocations: 105 kB / 0.5598 GB, free: 12.48 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.006728, allocations: 133 kB / 0.5599 GB, free: 12.33 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.006731, allocations: 4 kB / 0.5599 GB, free: 12.33 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002568/0.006988, allocations: 232.8 kB / 0.5602 GB, free: 12.08 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.007017, allocations: 33.7 kB / 0.5602 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.007022, allocations: 0 / 0.5602 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.007036, allocations: 4.062 kB / 0.5602 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.466e-05/0.007101, allocations: 19.92 kB / 0.5602 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.007106, allocations: 0 / 0.5602 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.007207, allocations: 39.89 kB / 0.5603 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.00722, allocations: 4 kB / 0.5603 GB, free: 11.98 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.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: 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.733e-05/0.007288, allocations: 117.8 kB / 0.5604 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.007303, allocations: 11.89 kB / 0.5604 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001887/0.007491, allocations: 118.1 kB / 0.5605 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.007494, allocations: 8.406 kB / 0.5605 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.007498, allocations: 0 / 0.5605 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.007501, allocations: 0 / 0.5605 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.007724, allocations: 298.1 kB / 0.5608 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.007728, allocations: 8 kB / 0.5608 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.95e-05/0.007757, allocations: 7.938 kB / 0.5608 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.00776, allocations: 4 kB / 0.5608 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.007769, allocations: 11.98 kB / 0.5608 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.007771, allocations: 0 / 0.5608 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.007772, allocations: 0 / 0.5608 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.007931, allocations: 211.3 kB / 0.561 GB, free: 11.13 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.973e-06/0.007938, allocations: 3.953 kB / 0.561 GB, free: 11.13 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.007951, allocations: 4 kB / 0.561 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.172e-05/0.007993, allocations: 7.984 kB / 0.561 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.008027, allocations: 4.078 kB / 0.561 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.008036, allocations: 12 kB / 0.561 GB, free: 11.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.227e-05/0.008068, allocations: 83.28 kB / 0.5611 GB, free: 11.02 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008068, allocations: 0 / 0.5611 GB, free: 11.02 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001824/0.008251, allocations: 31.92 kB / 0.5612 GB, free: 10.99 MB / 490.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: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * Number of discrete states: 1 (triggeredMax.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * 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.0001239/0.008374, allocations: 99.23 kB / 0.5613 GB, free: 10.88 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002492/0.008624, allocations: 188.9 kB / 0.5614 GB, free: 10.68 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.008626, allocations: 4.125 kB / 0.5614 GB, free: 10.67 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.192e-05/0.008688, allocations: 39.91 kB / 0.5615 GB, free: 10.63 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.008888, allocations: 15.92 kB / 0.5615 GB, free: 10.62 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002976/0.009186, allocations: 174.5 kB / 0.5617 GB, free: 10.41 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.694e-05/0.009233, allocations: 71.2 kB / 0.5617 GB, free: 10.32 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.593e-05/0.009259, allocations: 20.48 kB / 0.5617 GB, free: 10.3 MB / 490.7 MB Notification: Performance of SimCode: time 5.61e-07/0.00926, allocations: 4 kB / 0.5617 GB, free: 10.3 MB / 490.7 MB Notification: Performance of Templates: time 0.002084/0.01134, allocations: 1.232 MB / 0.563 GB, free: 9.094 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.759665464051068] Failed to read output from testmodel.py, exit status != 0: 0.016524423845112324 0.024874283 0.018491713 Calling exit ...