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.001598/0.001598, 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.002233/0.002233, allocations: 222.6 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.9286/0.9286, allocations: 150 MB / 463.2 MB, free: 10.49 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.002029/0.002029, allocations: 68.91 kB / 0.6413 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1777, allocations: 89.18 MB / 0.7284 GB, free: 1.266 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002143/0.1798, allocations: 0.8474 MB / 0.7292 GB, free: 428 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002069/0.1819, allocations: 1.486 MB / 0.7306 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.398e-05/0.182, allocations: 11.94 kB / 0.7307 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005094/0.1825, allocations: 199.4 kB / 0.7309 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001607/0.1827, allocations: 115.6 kB / 0.731 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.1837, allocations: 374.1 kB / 0.7313 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001012/0.1847, allocations: 0.8855 MB / 0.7322 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.1849, allocations: 52.56 kB / 0.7322 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004602/0.1853, allocations: 351.4 kB / 0.7326 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004507/0.1858, allocations: 287.3 kB / 0.7328 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001184/0.1859, allocations: 44 kB / 0.7329 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002869/0.1862, allocations: 131.9 kB / 0.733 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004629/0.1867, allocations: 367.2 kB / 0.7334 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003279/0.187, allocations: 270.8 kB / 0.7336 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.188, allocations: 0.9154 MB / 0.7345 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.188, allocations: 0 / 0.7345 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.188, allocations: 3.938 kB / 0.7345 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.564e-05/0.188, allocations: 0 / 0.7345 GB, free: 10.96 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.001717/0.1897, allocations: 0.832 MB / 0.7353 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.1898, allocations: 12.03 kB / 0.7353 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.137e-05/0.1899, allocations: 42.73 kB / 0.7354 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001999/0.1901, allocations: 56.66 kB / 0.7354 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.1911, allocations: 0.4887 MB / 0.7359 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.768e-05/0.1911, allocations: 28.59 kB / 0.7359 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.1912, allocations: 36.38 kB / 0.736 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005063/0.1917, allocations: 302.2 kB / 0.7363 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.1917, allocations: 7.875 kB / 0.7363 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/0.1918, allocations: 11.94 kB / 0.7363 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.1918, allocations: 4 kB / 0.7363 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003419/0.1921, allocations: 219.9 kB / 0.7365 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002115/0.1942, allocations: 1.148 MB / 0.7376 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006819/0.1949, allocations: 463.7 kB / 0.7381 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002512/0.1952, allocations: 178.6 kB / 0.7382 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.1952, allocations: 0 / 0.7382 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005022/0.1957, allocations: 333.5 kB / 0.7385 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=24): time 1.583e-06/0.1957, allocations: 0 / 0.7385 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24): time 0.00115/0.1968, allocations: 0.6375 MB / 0.7392 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.834e-05/0.1969, allocations: 110.8 kB / 0.7393 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007877/0.1977, allocations: 0.5994 MB / 0.7399 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001008/0.1978, allocations: 45.69 kB / 0.7399 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002647/0.1981, allocations: 217.6 kB / 0.7401 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.839e-05/0.1982, allocations: 59.58 kB / 0.7402 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002896/0.1984, allocations: 177.4 kB / 0.7403 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002249/0.1987, allocations: 362.8 kB / 0.7407 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.1989, allocations: 127.9 kB / 0.7408 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009405/0.1998, allocations: 0.7191 MB / 0.7415 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003842/0.2002, allocations: 300.6 kB / 0.7418 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.2002, allocations: 0 / 0.7418 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008239/0.201, allocations: 433.2 kB / 0.7422 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.201, allocations: 8 kB / 0.7422 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.2011, allocations: 4 kB / 0.7422 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.855e-05/0.2011, allocations: 11.92 kB / 0.7422 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.2013, allocations: 27.92 kB / 0.7423 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.952e-05/0.2013, allocations: 11.94 kB / 0.7423 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.2026, allocations: 124.2 kB / 0.7424 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.2026, allocations: 12 kB / 0.7424 GB, free: 2.395 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.0004319/0.203, allocations: 261.7 kB / 0.7426 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.139e-05/0.2031, allocations: 47.7 kB / 0.7427 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.955e-05/0.2032, allocations: 47.38 kB / 0.7427 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.2032, allocations: 11.94 kB / 0.7427 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.2032, allocations: 0 / 0.7427 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.2032, allocations: 7.984 kB / 0.7428 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004309/0.2037, allocations: 376.3 kB / 0.7431 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.2037, allocations: 0.75 kB / 0.7431 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.414e-05/0.2037, allocations: 7.938 kB / 0.7431 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.2037, allocations: 4 kB / 0.7431 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/0.2037, allocations: 11.98 kB / 0.7431 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.2037, allocations: 3.938 kB / 0.7431 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2037, allocations: 3.938 kB / 0.7431 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007144/0.2044, allocations: 0.5139 MB / 0.7436 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.894e-05/0.2045, allocations: 47.75 kB / 0.7437 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.102e-05/0.2046, allocations: 11.94 kB / 0.7437 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.2047, allocations: 19.91 kB / 0.7437 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.59e-05/0.2048, allocations: 27.97 kB / 0.7438 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.223e-05/0.2049, allocations: 23.98 kB / 0.7438 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005208/0.2054, allocations: 431.1 kB / 0.7442 GB, free: 496 kB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2054, allocations: 0 / 0.7442 GB, free: 496 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005057/0.2059, allocations: 111.8 kB / 0.7443 GB, free: 384 kB / 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: 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.001173/0.2071, allocations: 1.111 MB / 0.7454 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005955/0.2077, allocations: 347.6 kB / 0.7457 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.2077, allocations: 0 / 0.7457 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002366/0.2079, allocations: 156.6 kB / 0.7459 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.2082, allocations: 45.95 kB / 0.7459 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005655/0.2139, allocations: 4.4 MB / 0.7502 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005196/0.2144, allocations: 0.8389 MB / 0.751 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002694/0.2146, allocations: 103 kB / 0.7511 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002054/0.2148, allocations: 127.4 kB / 0.7512 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of SimCode: time 1.162e-06/0.2148, allocations: 0 / 0.7512 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3511/0.566, allocations: 11.81 MB / 0.7628 GB, free: 34.43 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.22, allocations: 10.69 kB / 0.7628 GB, free: 34.43 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.077973308001674] Failed to read output from testmodel.py, exit status != 0: 12.331076000999019 12.35989552 12.16675253 Calling exit ...