Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.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.001769/0.001769, allocations: 97.11 kB / 19.73 MB, free: 1.871 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.002038/0.002038, allocations: 204.6 kB / 23.04 MB, free: 5.008 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.75 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.9911/0.9911, allocations: 150 MB / 463.2 MB, free: 10.17 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.Logical.Sources.Validation.TimeTable,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_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.002208/0.002208, allocations: 66.42 kB / 0.6413 GB, free: 9.805 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1659, allocations: 89.17 MB / 0.7284 GB, free: 0.707 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002005/0.1679, allocations: 0.797 MB / 0.7292 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002012/0.1699, allocations: 1.464 MB / 0.7306 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.303e-05/0.17, allocations: 4 kB / 0.7306 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005001/0.1705, allocations: 203.4 kB / 0.7308 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001624/0.1706, allocations: 111.6 kB / 0.7309 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001/0.1716, allocations: 368.9 kB / 0.7312 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009098/0.1725, allocations: 0.8816 MB / 0.7321 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001676/0.1727, allocations: 48.56 kB / 0.7321 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004309/0.1731, allocations: 351.5 kB / 0.7325 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00045/0.1736, allocations: 291.2 kB / 0.7328 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001601/0.1737, allocations: 44 kB / 0.7328 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003237/0.1741, allocations: 119.9 kB / 0.7329 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004752/0.1745, allocations: 371.2 kB / 0.7333 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003047/0.1748, allocations: 227.1 kB / 0.7335 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.1759, allocations: 0.9271 MB / 0.7344 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1759, allocations: 3.938 kB / 0.7344 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.933e-06/0.1759, allocations: 0 / 0.7344 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.1759, allocations: 3.938 kB / 0.7344 GB, free: 10.53 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001719/0.1776, allocations: 0.8203 MB / 0.7352 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.1777, allocations: 8.031 kB / 0.7352 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.539e-05/0.1777, allocations: 46.73 kB / 0.7353 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001935/0.1779, allocations: 60.64 kB / 0.7353 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008217/0.1787, allocations: 0.4887 MB / 0.7358 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.104e-05/0.1788, allocations: 28.61 kB / 0.7358 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.1789, allocations: 40.36 kB / 0.7359 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004852/0.1794, allocations: 306.2 kB / 0.7361 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.1794, allocations: 3.938 kB / 0.7362 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/0.1794, allocations: 8 kB / 0.7362 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1794, allocations: 0 / 0.7362 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003452/0.1797, allocations: 223.8 kB / 0.7364 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002/0.1817, allocations: 1.027 MB / 0.7374 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006657/0.1824, allocations: 467.7 kB / 0.7378 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000249/0.1827, allocations: 174.6 kB / 0.738 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.1827, allocations: 8 kB / 0.738 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004804/0.1832, allocations: 329.5 kB / 0.7383 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=24): time 1.853e-06/0.1832, allocations: 0 / 0.7383 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24): time 0.001092/0.1842, allocations: 0.6259 MB / 0.7389 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.119e-05/0.1843, allocations: 118.8 kB / 0.739 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007237/0.1851, allocations: 0.5923 MB / 0.7396 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.619e-05/0.1852, allocations: 49.69 kB / 0.7397 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002243/0.1854, allocations: 217.7 kB / 0.7399 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.802e-05/0.1854, allocations: 55.58 kB / 0.7399 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002691/0.1857, allocations: 185.4 kB / 0.7401 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.1859, allocations: 362.8 kB / 0.7404 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.1861, allocations: 127.9 kB / 0.7406 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001435/0.1875, allocations: 1.777 MB / 0.7423 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003934/0.1879, allocations: 308.5 kB / 0.7426 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.1879, allocations: 0 / 0.7426 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007137/0.1886, allocations: 433 kB / 0.743 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.1886, allocations: 4 kB / 0.743 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.1887, allocations: 4 kB / 0.743 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/0.1887, allocations: 12.19 kB / 0.743 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.1888, allocations: 27.92 kB / 0.7431 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.1889, allocations: 8 kB / 0.7431 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/0.1902, allocations: 126.8 kB / 0.7432 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.1902, allocations: 15.94 kB / 0.7432 GB, free: 0.7734 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.000332/0.1905, allocations: 257.6 kB / 0.7434 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.115e-05/0.1906, allocations: 51.7 kB / 0.7435 GB, free: 476 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.711e-05/0.1907, allocations: 47.38 kB / 0.7435 GB, free: 424 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/0.1907, allocations: 7.938 kB / 0.7435 GB, free: 416 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1907, allocations: 0 / 0.7435 GB, free: 416 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1907, allocations: 0 / 0.7435 GB, free: 416 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003897/0.1911, allocations: 328.5 kB / 0.7439 GB, free: 44 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1911, allocations: 0 / 0.7439 GB, free: 44 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.553e-05/0.1911, allocations: 15.92 kB / 0.7439 GB, free: 28 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1911, allocations: 0 / 0.7439 GB, free: 28 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.834e-05/0.1911, allocations: 4 kB / 0.7439 GB, free: 24 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.134e-06/0.1911, allocations: 11.88 kB / 0.7439 GB, free: 12 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1911, allocations: 4 kB / 0.7439 GB, free: 8 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007313/0.1919, allocations: 0.51 MB / 0.7444 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.401e-05/0.192, allocations: 47.69 kB / 0.7444 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.967e-05/0.192, allocations: 15.98 kB / 0.7445 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.1922, allocations: 15.92 kB / 0.7445 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.185e-05/0.1923, allocations: 31.91 kB / 0.7445 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-05/0.1923, allocations: 19.98 kB / 0.7445 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005279/0.1928, allocations: 435.1 kB / 0.7449 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1928, allocations: 0 / 0.7449 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004664/0.1933, allocations: 107.8 kB / 0.745 GB, free: 14.81 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.001145/0.1944, allocations: 1.115 MB / 0.7461 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006128/0.195, allocations: 347.9 kB / 0.7465 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.195, allocations: 0 / 0.7465 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002525/0.1953, allocations: 164.5 kB / 0.7466 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.1956, allocations: 41.95 kB / 0.7467 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005654/0.2013, allocations: 4.402 MB / 0.7509 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.2015, allocations: 233.4 kB / 0.7512 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002484/0.2018, allocations: 93.56 kB / 0.7513 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002013/0.202, allocations: 131.4 kB / 0.7514 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of SimCode: time 6.52e-07/0.202, allocations: 0 / 0.7514 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.359/0.561, allocations: 12.89 MB / 0.764 GB, free: 34.98 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.18, allocations: 13.45 kB / 0.764 GB, free: 34.97 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.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_Logical_Sources_Validation_TimeTable.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.96888093301095] Failed to read output from testmodel.py, exit status != 0: 12.288198296912014 12.303797332 12.124444693 Calling exit ...