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.001856/0.001856, allocations: 119 kB / 19.69 MB, free: 2.199 MB / 14.72 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.001601/0.001601, allocations: 222.4 kB / 23.01 MB, free: 5.047 MB / 14.72 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 1.651/1.651, allocations: 230.6 MB / 256.8 MB, free: 7.945 MB / 206.1 MB " [Timeout remaining time 178] 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.9769/0.9769, allocations: 150 MB / 463.2 MB, free: 10.43 MB / 366.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 70.36 kB / 0.6413 GB, free: 10.27 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1835, allocations: 89.17 MB / 0.7284 GB, free: 1.172 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001993/0.1855, allocations: 0.6785 MB / 0.729 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002073/0.1876, allocations: 1.389 MB / 0.7304 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.459e-05/0.1877, allocations: 0 / 0.7304 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005206/0.1882, allocations: 187.5 kB / 0.7306 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000133/0.1883, allocations: 99.72 kB / 0.7306 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008102/0.1891, allocations: 242.5 kB / 0.7309 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006168/0.1897, allocations: 0.4919 MB / 0.7314 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.784e-05/0.1898, allocations: 4 kB / 0.7314 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002435/0.19, allocations: 203.6 kB / 0.7316 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004193/0.1904, allocations: 227.6 kB / 0.7318 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.334e-05/0.1905, allocations: 24 kB / 0.7318 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002534/0.1908, allocations: 103.9 kB / 0.7319 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004225/0.1912, allocations: 279.4 kB / 0.7322 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001928/0.1914, allocations: 155.3 kB / 0.7323 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000595/0.192, allocations: 478.7 kB / 0.7328 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.192, allocations: 0 / 0.7328 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.164e-06/0.192, allocations: 0 / 0.7328 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.192, allocations: 0 / 0.7328 GB, free: 12.64 MB / 0.5606 GB 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.001133/0.1931, allocations: 0.5709 MB / 0.7333 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.1932, allocations: 8.031 kB / 0.7333 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.568e-05/0.1932, allocations: 34.75 kB / 0.7334 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.1934, allocations: 36.73 kB / 0.7334 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006301/0.194, allocations: 330.4 kB / 0.7337 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.194, allocations: 12.36 kB / 0.7337 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.853e-05/0.1941, allocations: 20.38 kB / 0.7337 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003476/0.1944, allocations: 188.7 kB / 0.7339 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.1944, allocations: 7.875 kB / 0.7339 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.1945, allocations: 8 kB / 0.7339 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1945, allocations: 0 / 0.7339 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001954/0.1947, allocations: 115.9 kB / 0.7341 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005177/0.1952, allocations: 354.2 kB / 0.7344 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004984/0.1957, allocations: 311.6 kB / 0.7347 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001927/0.1959, allocations: 122.6 kB / 0.7348 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.1959, allocations: 0 / 0.7348 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005323/0.1964, allocations: 291.9 kB / 0.7351 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=18): time 1.183e-06/0.1964, allocations: 0 / 0.7351 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18): time 0.0009448/0.1974, allocations: 0.4974 MB / 0.7356 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.1975, allocations: 114.8 kB / 0.7357 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004942/0.198, allocations: 400.5 kB / 0.7361 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.433e-05/0.198, allocations: 41.7 kB / 0.7361 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.1982, allocations: 156.8 kB / 0.7363 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.75e-05/0.1982, allocations: 31.8 kB / 0.7363 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/0.1984, allocations: 113.6 kB / 0.7364 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.1986, allocations: 346.8 kB / 0.7367 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.1987, allocations: 83.95 kB / 0.7368 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006104/0.1994, allocations: 467 kB / 0.7372 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003614/0.1997, allocations: 261.4 kB / 0.7375 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.1997, allocations: 4 kB / 0.7375 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005423/0.2003, allocations: 333 kB / 0.7378 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.2003, allocations: 7.938 kB / 0.7378 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.2003, allocations: 4 kB / 0.7378 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/0.2003, allocations: 8 kB / 0.7378 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.2005, allocations: 27.92 kB / 0.7379 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.2005, allocations: 8.344 kB / 0.7379 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007288/0.2012, allocations: 84.55 kB / 0.738 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.2013, allocations: 11.94 kB / 0.738 GB, free: 6.883 MB / 0.5606 GB 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.000237/0.2015, allocations: 191.7 kB / 0.7381 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.404e-05/0.2016, allocations: 35.69 kB / 0.7382 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.989e-05/0.2016, allocations: 37.89 kB / 0.7382 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.2016, allocations: 4 kB / 0.7382 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.2016, allocations: 0 / 0.7382 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.2016, allocations: 0 / 0.7382 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003051/0.2019, allocations: 260.5 kB / 0.7385 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.2019, allocations: 0 / 0.7385 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.562e-05/0.202, allocations: 4 kB / 0.7385 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.747e-06/0.202, allocations: 3.938 kB / 0.7385 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.202, allocations: 11.98 kB / 0.7385 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.202, allocations: 4 kB / 0.7385 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.202, allocations: 4 kB / 0.7385 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006397/0.2026, allocations: 434.4 kB / 0.7389 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.223e-05/0.2027, allocations: 27.73 kB / 0.7389 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.201e-05/0.2027, allocations: 7.984 kB / 0.7389 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.772e-05/0.2028, allocations: 4 kB / 0.7389 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.423e-05/0.2029, allocations: 28 kB / 0.739 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.558e-05/0.2029, allocations: 8 kB / 0.739 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003507/0.2033, allocations: 291 kB / 0.7393 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2033, allocations: 0 / 0.7393 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004012/0.2037, allocations: 75.94 kB / 0.7393 GB, free: 5.406 MB / 0.5606 GB 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.001112/0.2048, allocations: 1.007 MB / 0.7403 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004706/0.2052, allocations: 251.7 kB / 0.7406 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2052, allocations: 0.8125 kB / 0.7406 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.2054, allocations: 119.8 kB / 0.7407 GB, free: 4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.2057, allocations: 32.64 kB / 0.7407 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004149/0.2099, allocations: 3.254 MB / 0.7439 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004416/0.2103, allocations: 0.7675 MB / 0.7446 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001392/0.2105, allocations: 53.06 kB / 0.7447 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.2106, allocations: 83.39 kB / 0.7448 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of SimCode: time 7.71e-07/0.2106, allocations: 0 / 0.7448 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04707/0.2577, allocations: 7.812 MB / 0.7524 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.49, allocations: 3.094 kB / 0.7524 GB, free: 8.016 MB / 0.5762 GB " [Timeout remaining time 648] (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: 15.865723808998155] Failed to read output from testmodel.py, exit status != 0: 11.598337309998897 11.909711617 11.714960812 Calling exit ...