Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.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.001341/0.001341, 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.0009597/0.0009597, 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.8976/0.8976, 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.5616/0.5616, allocations: 114 MB / 373.9 MB, free: 8.73 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.Integers.Sources.Validation.TimeTable,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 0 / 0.5542 GB, free: 1.707 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.69e-05/1.934e-05, allocations: 3.828 kB / 0.5542 GB, free: 1.703 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001457/0.001477, allocations: 0.651 MB / 0.5548 GB, free: 1.055 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.002728, allocations: 1.357 MB / 0.5562 GB, free: 15.68 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.994e-05/0.002778, allocations: 0 / 0.5562 GB, free: 15.68 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003761/0.003154, allocations: 187.5 kB / 0.5563 GB, free: 15.5 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.283e-05/0.003227, allocations: 103.6 kB / 0.5564 GB, free: 15.4 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004612/0.003688, allocations: 244.3 kB / 0.5567 GB, free: 15.17 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003685/0.004057, allocations: 495.7 kB / 0.5571 GB, free: 14.68 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.558e-05/0.004092, allocations: 7.984 kB / 0.5571 GB, free: 14.67 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.004272, allocations: 251.6 kB / 0.5574 GB, free: 14.43 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.004496, allocations: 219.6 kB / 0.5576 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.47e-05/0.004541, allocations: 24 kB / 0.5576 GB, free: 14.19 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.00469, allocations: 95.84 kB / 0.5577 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002195/0.004909, allocations: 279.4 kB / 0.558 GB, free: 13.82 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.05e-05/0.005, allocations: 111.8 kB / 0.5581 GB, free: 13.71 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003722/0.005372, allocations: 0.5299 MB / 0.5586 GB, free: 13.18 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.005374, allocations: 0 / 0.5586 GB, free: 13.18 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.005375, allocations: 0 / 0.5586 GB, free: 13.18 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.005379, allocations: 0 / 0.5586 GB, free: 13.18 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000628/0.006007, allocations: 0.5714 MB / 0.5592 GB, free: 12.57 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.006042, allocations: 16.61 kB / 0.5592 GB, free: 12.56 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.22e-05/0.006074, allocations: 34.75 kB / 0.5592 GB, free: 12.52 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.761e-05/0.006152, allocations: 32.73 kB / 0.5592 GB, free: 12.48 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.006474, allocations: 325.7 kB / 0.5595 GB, free: 12.14 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.006488, allocations: 12.38 kB / 0.5596 GB, free: 12.13 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.989e-05/0.006528, allocations: 20.38 kB / 0.5596 GB, free: 12.11 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.006726, allocations: 188.7 kB / 0.5598 GB, free: 11.91 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.006733, allocations: 192 / 0.5598 GB, free: 11.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.006744, allocations: 384 / 0.5598 GB, free: 11.91 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.006756, allocations: 8.125 kB / 0.5598 GB, free: 11.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.00687, allocations: 115.9 kB / 0.5599 GB, free: 11.79 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002391/0.007109, allocations: 298.3 kB / 0.5602 GB, free: 11.45 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003629/0.007472, allocations: 315.6 kB / 0.5605 GB, free: 11.11 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.007584, allocations: 118.6 kB / 0.5606 GB, free: 10.99 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.352e-06/0.00759, allocations: 0 / 0.5606 GB, free: 10.99 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002672/0.007858, allocations: 287.3 kB / 0.5609 GB, free: 10.69 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 9.62e-07/0.007859, allocations: 4 kB / 0.5609 GB, free: 10.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005322/0.008391, allocations: 0.5055 MB / 0.5613 GB, free: 10.17 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.008437, allocations: 106.8 kB / 0.5614 GB, free: 10.04 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002632/0.0087, allocations: 400.4 kB / 0.5618 GB, free: 9.645 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.058e-05/0.008741, allocations: 41.7 kB / 0.5619 GB, free: 9.598 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.948e-05/0.00883, allocations: 156.8 kB / 0.562 GB, free: 9.441 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.06e-05/0.008861, allocations: 39.75 kB / 0.5621 GB, free: 9.402 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.55e-05/0.008956, allocations: 113.6 kB / 0.5622 GB, free: 9.285 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.287e-05/0.009039, allocations: 342.8 kB / 0.5625 GB, free: 8.941 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.224e-05/0.009121, allocations: 87.95 kB / 0.5626 GB, free: 8.855 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004653/0.009587, allocations: 1.091 MB / 0.5636 GB, free: 7.484 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001932/0.00978, allocations: 253.5 kB / 0.5639 GB, free: 7.188 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.009782, allocations: 4 kB / 0.5639 GB, free: 7.184 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003092/0.01009, allocations: 329.2 kB / 0.5642 GB, free: 6.855 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.0101, allocations: 4.406 kB / 0.5642 GB, free: 6.852 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01011, allocations: 8 kB / 0.5642 GB, free: 6.844 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.01012, allocations: 12.17 kB / 0.5642 GB, free: 6.832 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.368e-05/0.01022, allocations: 27.92 kB / 0.5643 GB, free: 6.805 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.01023, allocations: 15.86 kB / 0.5643 GB, free: 6.789 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003466/0.01057, allocations: 74.2 kB / 0.5643 GB, free: 6.719 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.01059, allocations: 12 kB / 0.5644 GB, free: 6.707 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 (tabOneRow.idx,$PRE.tabOneRow.idx,tabOneRow.y[1],$PRE.tabOneRow.y[1],$whenCondition10,intTimTab1.idx,$PRE.intTimTab1.idx,intTimTab1.y[2],$PRE.intTimTab1.y[2],intTimTab1.y[1],$PRE.intTimTab1.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab.idx,$PRE.intTimTab.idx,intTimTab.y[2],$PRE.intTimTab.y[2],intTimTab.y[1],$PRE.intTimTab.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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 0.000137/0.01072, allocations: 191.7 kB / 0.5645 GB, free: 6.512 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/0.01075, allocations: 31.81 kB / 0.5646 GB, free: 6.48 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.566e-05/0.01079, allocations: 33.95 kB / 0.5646 GB, free: 6.445 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.01079, allocations: 7.938 kB / 0.5646 GB, free: 6.438 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.0108, allocations: 0 / 0.5646 GB, free: 6.438 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.0108, allocations: 0 / 0.5646 GB, free: 6.438 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.01095, allocations: 240.5 kB / 0.5648 GB, free: 6.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01095, allocations: 0 / 0.5648 GB, free: 6.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.534e-06/0.01096, allocations: 4 kB / 0.5648 GB, free: 6.156 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.01096, allocations: 4 kB / 0.5648 GB, free: 6.152 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.01097, allocations: 15.98 kB / 0.5649 GB, free: 6.137 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.01097, allocations: 3.938 kB / 0.5649 GB, free: 6.133 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.01098, allocations: 3.938 kB / 0.5649 GB, free: 6.129 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003384/0.01131, allocations: 424.5 kB / 0.5653 GB, free: 5.691 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.482e-05/0.01134, allocations: 23.86 kB / 0.5653 GB, free: 5.668 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.01136, allocations: 7.984 kB / 0.5653 GB, free: 5.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.914e-05/0.01141, allocations: 7.938 kB / 0.5653 GB, free: 5.652 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.01144, allocations: 15.97 kB / 0.5653 GB, free: 5.637 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.01146, allocations: 12 kB / 0.5653 GB, free: 5.625 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001887/0.01165, allocations: 291 kB / 0.5656 GB, free: 5.34 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01165, allocations: 0 / 0.5656 GB, free: 5.34 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002453/0.0119, allocations: 79.94 kB / 0.5657 GB, free: 5.262 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0005675/0.01246, allocations: 0.9975 MB / 0.5667 GB, free: 4.23 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003351/0.0128, allocations: 259.6 kB / 0.5669 GB, free: 3.977 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.0128, allocations: 0.8125 kB / 0.5669 GB, free: 3.977 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.01291, allocations: 127.8 kB / 0.567 GB, free: 3.852 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/0.01308, allocations: 28.64 kB / 0.5671 GB, free: 3.824 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/0.01537, allocations: 3.239 MB / 0.5702 GB, free: 408 kB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.616e-05/0.01546, allocations: 153.2 kB / 0.5704 GB, free: 232 kB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.464e-05/0.01554, allocations: 53.86 kB / 0.5704 GB, free: 180 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.086e-05/0.01563, allocations: 88.45 kB / 0.5705 GB, free: 92 kB / 490.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01563, allocations: 4 kB / 0.5705 GB, free: 88 kB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01781/0.03344, allocations: 8.741 MB / 0.579 GB, free: 7.648 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.828/6.861, allocations: 0 / 0.579 GB, free: 7.648 MB / 0.4948 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.374511481262743] Failed to read output from testmodel.py, exit status != 0: 6.942571897059679 6.955675233 6.947931826 Calling exit ...