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.0007441/0.0007441, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0007355/0.0007355, allocations: 169.9 kB / 23.21 MB, free: 1.355 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.8751/0.8751, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.5547/0.5547, allocations: 114 MB / 373.9 MB, free: 8.723 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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_TriggeredMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_TriggeredMax",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0 / 0.5542 GB, free: 2.824 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.905e-05/2.162e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.82 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001754/0.001775, allocations: 0.7081 MB / 0.5549 GB, free: 2.117 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001606/0.003381, allocations: 1.213 MB / 0.556 GB, free: 0.8906 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.582e-05/0.003437, allocations: 0 / 0.556 GB, free: 0.8906 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.724e-05/0.003474, allocations: 7.922 kB / 0.556 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 8.299e-05/0.003557, allocations: 7.938 kB / 0.5561 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005169/0.004074, allocations: 146.9 kB / 0.5562 GB, free: 0.7344 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.004257, allocations: 127.7 kB / 0.5563 GB, free: 0.6094 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.004369, allocations: 7.938 kB / 0.5563 GB, free: 0.6016 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.004501, allocations: 63.94 kB / 0.5564 GB, free: 0.5391 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 9.272e-05/0.004594, allocations: 39.88 kB / 0.5564 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.00462, allocations: 8 kB / 0.5564 GB, free: 0.4922 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 7.128e-05/0.004691, allocations: 31.97 kB / 0.5565 GB, free: 472 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.226e-05/0.004714, allocations: 8 kB / 0.5565 GB, free: 464 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 5.972e-05/0.004773, allocations: 35.91 kB / 0.5565 GB, free: 428 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.004972, allocations: 135.6 kB / 0.5566 GB, free: 292 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.004974, allocations: 0 / 0.5566 GB, free: 292 kB / 0.5105 GB Notification: Performance of FrontEnd: time 8.92e-07/0.004975, allocations: 7.938 kB / 0.5566 GB, free: 284 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.00498, allocations: 0 / 0.5566 GB, free: 284 kB / 0.5105 GB 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.0005463/0.005526, allocations: 335.8 kB / 0.557 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.005571, allocations: 8.625 kB / 0.557 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.343e-05/0.005605, allocations: 34.75 kB / 0.557 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.25e-05/0.005697, allocations: 4.938 kB / 0.557 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.758e-05/0.005785, allocations: 117.7 kB / 0.5571 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.005804, allocations: 12.36 kB / 0.5571 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.005829, allocations: 8.375 kB / 0.5571 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.005999, allocations: 70.22 kB / 0.5572 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.006008, allocations: 192 / 0.5572 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.006018, allocations: 384 / 0.5572 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.006024, allocations: 4.125 kB / 0.5572 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.006159, allocations: 43.89 kB / 0.5573 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000423/0.006582, allocations: 268 kB / 0.5575 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.006686, allocations: 46.55 kB / 0.5576 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.902e-05/0.006735, allocations: 32.88 kB / 0.5576 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.006755, allocations: 0 / 0.5576 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.006911, allocations: 95.25 kB / 0.5577 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.006912, allocations: 0 / 0.5577 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0002826/0.007195, allocations: 137.7 kB / 0.5578 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.007231, allocations: 51.41 kB / 0.5579 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.538e-05/0.007296, allocations: 129.7 kB / 0.558 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.007315, allocations: 29.7 kB / 0.558 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.002e-05/0.007366, allocations: 88.14 kB / 0.5581 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.007381, allocations: 15.89 kB / 0.5581 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.717e-05/0.007428, allocations: 37.7 kB / 0.5581 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.249e-05/0.007501, allocations: 310.8 kB / 0.5584 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.007602, allocations: 85.59 kB / 0.5585 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.891e-05/0.0077, allocations: 105.1 kB / 0.5586 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.007839, allocations: 137 kB / 0.5587 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.007842, allocations: 3.938 kB / 0.5588 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002437/0.008086, allocations: 229 kB / 0.559 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.008111, allocations: 33.7 kB / 0.559 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.008118, allocations: 7.969 kB / 0.559 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.008129, allocations: 480 / 0.559 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.059e-05/0.008189, allocations: 20 kB / 0.559 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.008195, allocations: 3.984 kB / 0.559 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.507e-05/0.00829, allocations: 35.92 kB / 0.5591 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.008304, allocations: 7.984 kB / 0.5591 GB, free: 13.52 MB / 0.5261 GB 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.903e-05/0.008373, allocations: 129.7 kB / 0.5592 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.275e-06/0.008381, allocations: 4 kB / 0.5592 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001714/0.008552, allocations: 122.3 kB / 0.5593 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.008555, allocations: 0 / 0.5593 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.008558, allocations: 4 kB / 0.5593 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.008562, allocations: 3.984 kB / 0.5593 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.008793, allocations: 329.6 kB / 0.5596 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.008795, allocations: 4 kB / 0.5596 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.816e-05/0.008823, allocations: 11.98 kB / 0.5597 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.008824, allocations: 0 / 0.5597 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.00883, allocations: 4 kB / 0.5597 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.008831, allocations: 0 / 0.5597 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.008832, allocations: 0 / 0.5597 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001523/0.008984, allocations: 207.4 kB / 0.5599 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.434e-06/0.008992, allocations: 7.953 kB / 0.5599 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.009003, allocations: 0 / 0.5599 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.168e-05/0.009045, allocations: 11.98 kB / 0.5599 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.3e-05/0.009078, allocations: 4 kB / 0.5599 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.009083, allocations: 0 / 0.5599 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.144e-05/0.009114, allocations: 95.27 kB / 0.56 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.009114, allocations: 0 / 0.56 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001665/0.009281, allocations: 23.94 kB / 0.56 GB, free: 12.49 MB / 0.5261 GB 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.0003691/0.00965, allocations: 0.7474 MB / 0.5607 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002308/0.009881, allocations: 181 kB / 0.5609 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.009883, allocations: 4.125 kB / 0.5609 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.946e-05/0.009942, allocations: 31.97 kB / 0.5609 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.01013, allocations: 19.55 kB / 0.561 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.01153, allocations: 1.765 MB / 0.5627 GB, free: 9.574 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.76e-05/0.01158, allocations: 71.33 kB / 0.5627 GB, free: 9.484 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.335e-05/0.0116, allocations: 4 kB / 0.5627 GB, free: 9.48 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.57e-05/0.01164, allocations: 16.48 kB / 0.5628 GB, free: 9.465 MB / 0.5261 GB Notification: Performance of SimCode: time 6.21e-07/0.01164, allocations: 4 kB / 0.5628 GB, free: 9.461 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01476/0.0264, allocations: 3.226 MB / 0.5659 GB, free: 6.406 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.694/6.721, allocations: 21.67 kB / 0.5659 GB, free: 6.391 MB / 0.5261 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_TriggeredMax.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.28710397798568] Failed to read output from testmodel.py, exit status != 0: 6.799213016405702 6.806961286 6.800131114 Calling exit ...