Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.MultiOr.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.001118/0.001118, allocations: 72.5 kB / 19.92 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.001071/0.001071, allocations: 173.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.8591/0.8591, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.5648/0.5648, allocations: 114 MB / 373.9 MB, free: 8.727 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.Logical.Validation.MultiOr,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.375e-06/2.375e-06, allocations: 0 / 0.5542 GB, free: 1.719 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.585e-05/1.823e-05, allocations: 7.766 kB / 0.5542 GB, free: 1.711 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001273/0.001292, allocations: 0.7794 MB / 0.555 GB, free: 0.9336 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.002815, allocations: 1.513 MB / 0.5564 GB, free: 15.41 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.951e-05/0.002894, allocations: 0 / 0.5564 GB, free: 15.41 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.003004, allocations: 15.8 kB / 0.5565 GB, free: 15.39 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.152e-05/0.003055, allocations: 39.66 kB / 0.5565 GB, free: 15.35 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009068/0.003962, allocations: 0.5188 MB / 0.557 GB, free: 14.85 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004287/0.004391, allocations: 483.1 kB / 0.5575 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.00453, allocations: 29.61 kB / 0.5575 GB, free: 14.34 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002257/0.004755, allocations: 255.7 kB / 0.5577 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.004933, allocations: 143.7 kB / 0.5579 GB, free: 13.95 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.88e-05/0.004982, allocations: 40 kB / 0.5579 GB, free: 13.91 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.038e-05/0.005072, allocations: 59.91 kB / 0.558 GB, free: 13.86 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.6e-05/0.005118, allocations: 39.91 kB / 0.558 GB, free: 13.82 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.005227, allocations: 139.7 kB / 0.5581 GB, free: 13.68 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004327/0.00566, allocations: 486.8 kB / 0.5586 GB, free: 13.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.005662, allocations: 0 / 0.5586 GB, free: 13.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.005663, allocations: 3.938 kB / 0.5586 GB, free: 13.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.005669, allocations: 0 / 0.5586 GB, free: 13.2 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005504/0.00622, allocations: 0.576 MB / 0.5592 GB, free: 12.56 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.006256, allocations: 16.62 kB / 0.5592 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.392e-05/0.00629, allocations: 46.73 kB / 0.5592 GB, free: 12.49 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.047e-05/0.00636, allocations: 36.8 kB / 0.5593 GB, free: 12.45 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.006602, allocations: 197.5 kB / 0.5595 GB, free: 12.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.006626, allocations: 20.36 kB / 0.5595 GB, free: 12.21 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.83e-05/0.006665, allocations: 28.38 kB / 0.5595 GB, free: 12.19 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.006849, allocations: 155.1 kB / 0.5596 GB, free: 12.03 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.006857, allocations: 192 / 0.5596 GB, free: 12.03 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.00687, allocations: 8.375 kB / 0.5597 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.006876, allocations: 4.125 kB / 0.5597 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.76e-05/0.006973, allocations: 91.88 kB / 0.5597 GB, free: 11.93 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005693/0.007543, allocations: 0.5894 MB / 0.5603 GB, free: 11.29 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.007671, allocations: 90.53 kB / 0.5604 GB, free: 11.19 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.657e-05/0.007717, allocations: 40.84 kB / 0.5604 GB, free: 11.15 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.007727, allocations: 0 / 0.5604 GB, free: 11.15 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002093/0.007936, allocations: 157.8 kB / 0.5606 GB, free: 10.98 MB / 490.7 MB Notification: Performance of pre-optimization done (n=20): time 1.844e-06/0.007938, allocations: 0 / 0.5606 GB, free: 10.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003273/0.008265, allocations: 241.5 kB / 0.5608 GB, free: 10.74 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.008302, allocations: 71.28 kB / 0.5609 GB, free: 10.66 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.008417, allocations: 183.9 kB / 0.5611 GB, free: 10.47 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.582e-05/0.008453, allocations: 37.7 kB / 0.5611 GB, free: 10.43 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.823e-05/0.008531, allocations: 128.6 kB / 0.5612 GB, free: 10.29 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.008555, allocations: 43.73 kB / 0.5613 GB, free: 10.25 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.008668, allocations: 113.6 kB / 0.5614 GB, free: 10.13 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.469e-05/0.008763, allocations: 330.8 kB / 0.5617 GB, free: 9.801 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003307/0.009093, allocations: 304.4 kB / 0.562 GB, free: 9.473 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004708/0.009564, allocations: 395.8 kB / 0.5624 GB, free: 9.02 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004411/0.01001, allocations: 410.5 kB / 0.5628 GB, free: 8.551 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.01001, allocations: 0 / 0.5628 GB, free: 8.551 MB / 490.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008362/0.01085, allocations: 0.7826 MB / 0.5635 GB, free: 7.703 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.194e-05/0.01092, allocations: 165.9 kB / 0.5637 GB, free: 7.512 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.01093, allocations: 4 kB / 0.5637 GB, free: 7.508 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.01094, allocations: 4 kB / 0.5637 GB, free: 7.504 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.26e-05/0.01096, allocations: 11.88 kB / 0.5637 GB, free: 7.492 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.01097, allocations: 4 kB / 0.5637 GB, free: 7.488 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003828/0.01135, allocations: 140.1 kB / 0.5638 GB, free: 7.352 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.945e-05/0.01139, allocations: 43.89 kB / 0.5639 GB, free: 7.309 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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 0.0001999/0.01159, allocations: 153.8 kB / 0.564 GB, free: 7.148 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.47e-05/0.0116, allocations: 15.91 kB / 0.564 GB, free: 7.133 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.842e-05/0.01163, allocations: 21.8 kB / 0.5641 GB, free: 7.117 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.01164, allocations: 4 kB / 0.5641 GB, free: 7.113 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.01164, allocations: 3.938 kB / 0.5641 GB, free: 7.109 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.01165, allocations: 0 / 0.5641 GB, free: 7.109 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003669/0.01201, allocations: 478.8 kB / 0.5645 GB, free: 6.594 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01201, allocations: 4.062 kB / 0.5645 GB, free: 6.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.917e-06/0.01202, allocations: 4 kB / 0.5645 GB, free: 6.586 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.01203, allocations: 7.938 kB / 0.5645 GB, free: 6.578 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.01204, allocations: 3.984 kB / 0.5645 GB, free: 6.574 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.01204, allocations: 4 kB / 0.5645 GB, free: 6.57 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01204, allocations: 0 / 0.5645 GB, free: 6.57 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.01222, allocations: 281 kB / 0.5648 GB, free: 6.281 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.4e-05/0.01223, allocations: 23.78 kB / 0.5648 GB, free: 6.258 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.01225, allocations: 8 kB / 0.5648 GB, free: 6.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.82e-05/0.01229, allocations: 0 / 0.5648 GB, free: 6.25 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.01233, allocations: 19.97 kB / 0.5649 GB, free: 6.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.01233, allocations: 11.98 kB / 0.5649 GB, free: 6.219 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.88e-05/0.01239, allocations: 128.8 kB / 0.565 GB, free: 6.094 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01239, allocations: 0 / 0.565 GB, free: 6.094 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002329/0.01263, allocations: 75.94 kB / 0.5651 GB, free: 6.02 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: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0003971/0.01302, allocations: 0.8357 MB / 0.5659 GB, free: 5.16 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005416/0.01357, allocations: 0.6949 MB / 0.5666 GB, free: 4.375 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01357, allocations: 0.6875 kB / 0.5666 GB, free: 4.375 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.715e-05/0.01363, allocations: 71.91 kB / 0.5666 GB, free: 4.305 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.0139, allocations: 51.61 kB / 0.5667 GB, free: 4.258 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002769/0.01667, allocations: 3.627 MB / 0.5702 GB, free: 332 kB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.416e-05/0.01674, allocations: 112.2 kB / 0.5703 GB, free: 200 kB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.871e-05/0.01679, allocations: 25.47 kB / 0.5704 GB, free: 176 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.921e-05/0.01685, allocations: 52.48 kB / 0.5704 GB, free: 124 kB / 490.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01685, allocations: 4 kB / 0.5704 GB, free: 120 kB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01885/0.03571, allocations: 7.633 MB / 0.5779 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.662/6.698, allocations: 9.391 kB / 0.5779 GB, free: 8.738 MB / 0.4948 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.MultiOr_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.277643589302897] Failed to read output from testmodel.py, exit status != 0: 6.784879773855209 6.793175088 6.78578276 Calling exit ...