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.00168/0.00168, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001747/0.001747, allocations: 212.2 kB / 22.99 MB, free: 4.609 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.525/1.525, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.9762/0.9762, allocations: 149.9 MB / 463.1 MB, free: 10.3 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.002401/0.002401, allocations: 71.81 kB / 0.6411 GB, free: 10.07 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1795, allocations: 89.17 MB / 0.7282 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.0023/0.1818, allocations: 0.8026 MB / 0.729 GB, free: 184 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002303/0.1841, allocations: 1.459 MB / 0.7304 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.1842, allocations: 7.938 kB / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005134/0.1847, allocations: 211.3 kB / 0.7306 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001861/0.1849, allocations: 111.6 kB / 0.7307 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.186, allocations: 366.1 kB / 0.731 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001048/0.187, allocations: 0.866 MB / 0.7319 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.1872, allocations: 52.56 kB / 0.7319 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005683/0.1878, allocations: 363.4 kB / 0.7323 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00052/0.1883, allocations: 279.3 kB / 0.7325 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000214/0.1885, allocations: 44 kB / 0.7326 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003581/0.1889, allocations: 123.9 kB / 0.7327 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005171/0.1894, allocations: 367.2 kB / 0.7331 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003677/0.1898, allocations: 235.1 kB / 0.7333 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000972/0.1907, allocations: 0.9193 MB / 0.7342 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1907, allocations: 4 kB / 0.7342 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1907, allocations: 0 / 0.7342 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.1907, allocations: 0 / 0.7342 GB, free: 10.8 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.001605/0.1923, allocations: 0.828 MB / 0.735 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.1924, allocations: 12.03 kB / 0.735 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.987e-05/0.1925, allocations: 50.67 kB / 0.7351 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001981/0.1926, allocations: 52.66 kB / 0.7351 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009029/0.1936, allocations: 0.4887 MB / 0.7356 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.203e-05/0.1936, allocations: 24.61 kB / 0.7356 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.1937, allocations: 32.38 kB / 0.7356 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005147/0.1942, allocations: 326.2 kB / 0.7359 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.1942, allocations: 3.938 kB / 0.736 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/0.1942, allocations: 4 kB / 0.736 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1943, allocations: 4 kB / 0.736 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003449/0.1946, allocations: 219.8 kB / 0.7362 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002032/0.1966, allocations: 1.023 MB / 0.7372 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006964/0.1973, allocations: 467.7 kB / 0.7376 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002577/0.1976, allocations: 178.6 kB / 0.7378 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.1976, allocations: 0 / 0.7378 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005062/0.1981, allocations: 333.5 kB / 0.7381 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=24): time 1.553e-06/0.1981, allocations: 0 / 0.7381 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24): time 0.001172/0.1993, allocations: 0.6298 MB / 0.7387 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.911e-05/0.1994, allocations: 118.7 kB / 0.7388 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009028/0.2003, allocations: 0.5955 MB / 0.7394 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001272/0.2004, allocations: 49.69 kB / 0.7395 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003026/0.2007, allocations: 217.7 kB / 0.7397 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.302e-05/0.2008, allocations: 51.64 kB / 0.7397 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002987/0.2011, allocations: 189.4 kB / 0.7399 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002246/0.2013, allocations: 362.8 kB / 0.7402 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.2015, allocations: 119.9 kB / 0.7404 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00148/0.203, allocations: 1.773 MB / 0.7421 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004044/0.2034, allocations: 308.5 kB / 0.7424 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2034, allocations: 0 / 0.7424 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007483/0.2041, allocations: 429.2 kB / 0.7428 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.2042, allocations: 8 kB / 0.7428 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.2042, allocations: 4.078 kB / 0.7428 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/0.2042, allocations: 7.938 kB / 0.7428 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.2044, allocations: 27.92 kB / 0.7428 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.626e-05/0.2044, allocations: 11.98 kB / 0.7428 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.2056, allocations: 135 kB / 0.743 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/0.2056, allocations: 12 kB / 0.743 GB, free: 1.039 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.0003989/0.206, allocations: 257.6 kB / 0.7432 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.476e-05/0.2061, allocations: 43.72 kB / 0.7433 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.2062, allocations: 55.36 kB / 0.7433 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.2062, allocations: 8.688 kB / 0.7433 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.2062, allocations: 4 kB / 0.7433 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.2062, allocations: 0 / 0.7433 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004223/0.2067, allocations: 328.5 kB / 0.7437 GB, free: 312 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2067, allocations: 0 / 0.7437 GB, free: 312 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.414e-05/0.2067, allocations: 7.984 kB / 0.7437 GB, free: 304 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/0.2067, allocations: 4 kB / 0.7437 GB, free: 300 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.2067, allocations: 8 kB / 0.7437 GB, free: 292 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.2067, allocations: 7.875 kB / 0.7437 GB, free: 284 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2067, allocations: 0 / 0.7437 GB, free: 284 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007517/0.2075, allocations: 0.517 MB / 0.7442 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.2076, allocations: 51.75 kB / 0.7442 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.06e-05/0.2076, allocations: 4 kB / 0.7442 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.2078, allocations: 23.91 kB / 0.7443 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.297e-05/0.2079, allocations: 27.97 kB / 0.7443 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.553e-05/0.2079, allocations: 19.98 kB / 0.7443 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005545/0.2085, allocations: 427.1 kB / 0.7447 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2085, allocations: 0 / 0.7447 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005356/0.209, allocations: 115.8 kB / 0.7448 GB, free: 15.08 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.001204/0.2102, allocations: 1.113 MB / 0.7459 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006584/0.2109, allocations: 344 kB / 0.7462 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2109, allocations: 0 / 0.7462 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002485/0.2111, allocations: 167.8 kB / 0.7464 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.2115, allocations: 40.55 kB / 0.7464 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006166/0.2176, allocations: 4.408 MB / 0.7507 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.2179, allocations: 237.4 kB / 0.751 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002822/0.2182, allocations: 90.94 kB / 0.7511 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002242/0.2184, allocations: 127.4 kB / 0.7512 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of SimCode: time 1.182e-06/0.2184, allocations: 0 / 0.7512 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3612/0.5796, allocations: 12.9 MB / 0.7638 GB, free: 35.05 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.21, allocations: 2.656 kB / 0.7638 GB, free: 35.05 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: 16.28361896565184] Failed to read output from testmodel.py, exit status != 0: 12.32993898075074 12.35400846 12.158238013 Calling exit ...