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.001658/0.001658, allocations: 110.3 kB / 17.12 MB, free: 5.926 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.00196/0.00196, allocations: 205 kB / 20.09 MB, free: 2.977 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.648/1.648, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 1.029/1.029, allocations: 150 MB / 459.5 MB, free: 5.336 MB / 350.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.002139/0.002139, allocations: 67.78 kB / 0.6361 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1919, allocations: 89.14 MB / 0.7232 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002469/0.1944, allocations: 0.8381 MB / 0.724 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002443/0.1968, allocations: 1.496 MB / 0.7255 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.1969, allocations: 4 kB / 0.7255 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00056/0.1975, allocations: 195.4 kB / 0.7256 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002158/0.1977, allocations: 119.6 kB / 0.7258 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.1989, allocations: 357.8 kB / 0.7261 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001076/0.2, allocations: 0.8854 MB / 0.727 GB, free: 148 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001944/0.2002, allocations: 68.28 kB / 0.727 GB, free: 80 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006374/0.2008, allocations: 351.5 kB / 0.7274 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005642/0.2014, allocations: 283.2 kB / 0.7276 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002182/0.2016, allocations: 48 kB / 0.7277 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003423/0.2019, allocations: 108 kB / 0.7278 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000499/0.2024, allocations: 359.2 kB / 0.7281 GB, free: 14.95 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004303/0.2028, allocations: 278.7 kB / 0.7284 GB, free: 14.68 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.2039, allocations: 0.9115 MB / 0.7293 GB, free: 13.77 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2039, allocations: 3.938 kB / 0.7293 GB, free: 13.76 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.233e-06/0.2039, allocations: 0 / 0.7293 GB, free: 13.76 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.82e-05/0.204, allocations: 0 / 0.7293 GB, free: 13.76 MB / 0.545 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.002146/0.2061, allocations: 0.9089 MB / 0.7302 GB, free: 12.8 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.2062, allocations: 8.031 kB / 0.7302 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.174e-05/0.2062, allocations: 46.73 kB / 0.7302 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002738/0.2065, allocations: 60.66 kB / 0.7303 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009815/0.2075, allocations: 0.5414 MB / 0.7308 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.782e-05/0.2075, allocations: 28.55 kB / 0.7308 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/0.2077, allocations: 32.38 kB / 0.7309 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005503/0.2082, allocations: 306.2 kB / 0.7312 GB, free: 11.72 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.2082, allocations: 7.938 kB / 0.7312 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.953e-05/0.2083, allocations: 7.984 kB / 0.7312 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.2083, allocations: 4 kB / 0.7312 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003751/0.2086, allocations: 219.8 kB / 0.7314 GB, free: 11.49 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002169/0.2108, allocations: 1.18 MB / 0.7325 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000731/0.2115, allocations: 463.7 kB / 0.733 GB, free: 9.77 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002651/0.2118, allocations: 178.6 kB / 0.7332 GB, free: 9.586 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.2118, allocations: 4 kB / 0.7332 GB, free: 9.582 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005294/0.2124, allocations: 332.5 kB / 0.7335 GB, free: 9.238 MB / 0.545 GB Notification: Performance of pre-optimization done (n=24): time 1.904e-06/0.2124, allocations: 0 / 0.7335 GB, free: 9.238 MB / 0.545 GB Notification: Performance of matching and sorting (n=24): time 0.001222/0.2136, allocations: 0.6305 MB / 0.7341 GB, free: 8.602 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.2137, allocations: 126.7 kB / 0.7342 GB, free: 8.453 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008212/0.2145, allocations: 0.5993 MB / 0.7348 GB, free: 7.852 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001252/0.2146, allocations: 49.69 kB / 0.7348 GB, free: 7.797 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002637/0.2149, allocations: 209.6 kB / 0.735 GB, free: 7.586 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.585e-05/0.215, allocations: 59.67 kB / 0.7351 GB, free: 7.527 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000309/0.2153, allocations: 185.3 kB / 0.7353 GB, free: 7.34 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002054/0.2155, allocations: 362.8 kB / 0.7356 GB, free: 6.977 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.2157, allocations: 127.9 kB / 0.7357 GB, free: 6.852 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/0.2167, allocations: 0.7147 MB / 0.7364 GB, free: 5.961 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004245/0.2171, allocations: 300.6 kB / 0.7367 GB, free: 5.621 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2171, allocations: 0 / 0.7367 GB, free: 5.621 MB / 0.545 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000786/0.2179, allocations: 421.3 kB / 0.7371 GB, free: 5.203 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.2179, allocations: 8 kB / 0.7371 GB, free: 5.195 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.2179, allocations: 4.078 kB / 0.7371 GB, free: 5.191 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.218, allocations: 7.938 kB / 0.7372 GB, free: 5.184 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.2181, allocations: 31.92 kB / 0.7372 GB, free: 5.152 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/0.2181, allocations: 11.98 kB / 0.7372 GB, free: 5.141 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/0.2195, allocations: 124.1 kB / 0.7373 GB, free: 5.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.174e-05/0.2195, allocations: 16 kB / 0.7373 GB, free: 5.004 MB / 0.545 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.0003972/0.2199, allocations: 261.6 kB / 0.7376 GB, free: 4.742 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.646e-05/0.22, allocations: 47.7 kB / 0.7376 GB, free: 4.695 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.2201, allocations: 51.38 kB / 0.7377 GB, free: 4.637 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.2201, allocations: 7.938 kB / 0.7377 GB, free: 4.629 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.2202, allocations: 0 / 0.7377 GB, free: 4.629 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.2202, allocations: 7.984 kB / 0.7377 GB, free: 4.621 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004945/0.2207, allocations: 401.3 kB / 0.7381 GB, free: 4.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.2207, allocations: 3.938 kB / 0.7381 GB, free: 4.176 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.793e-05/0.2207, allocations: 8 kB / 0.7381 GB, free: 4.168 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.2207, allocations: 7.984 kB / 0.7381 GB, free: 4.16 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.2207, allocations: 4 kB / 0.7381 GB, free: 4.156 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.2207, allocations: 7.875 kB / 0.7381 GB, free: 4.148 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2207, allocations: 4 kB / 0.7381 GB, free: 4.145 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008124/0.2215, allocations: 0.51 MB / 0.7386 GB, free: 3.609 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000168/0.2217, allocations: 128.8 kB / 0.7387 GB, free: 3.465 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.52e-05/0.2218, allocations: 4 kB / 0.7387 GB, free: 3.461 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.2219, allocations: 23.91 kB / 0.7388 GB, free: 3.438 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.2221, allocations: 31.91 kB / 0.7388 GB, free: 3.406 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-05/0.2221, allocations: 16 kB / 0.7388 GB, free: 3.391 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000632/0.2227, allocations: 431.1 kB / 0.7392 GB, free: 2.973 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2227, allocations: 0 / 0.7392 GB, free: 2.973 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006789/0.2234, allocations: 119.8 kB / 0.7393 GB, free: 2.855 MB / 0.545 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.001299/0.2247, allocations: 1.103 MB / 0.7404 GB, free: 1.723 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006958/0.2254, allocations: 355.7 kB / 0.7407 GB, free: 1.375 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2254, allocations: 0.75 kB / 0.7407 GB, free: 1.375 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002613/0.2257, allocations: 171.8 kB / 0.7409 GB, free: 1.207 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.226, allocations: 39.52 kB / 0.7409 GB, free: 1.172 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006558/0.2326, allocations: 4.395 MB / 0.7452 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006226/0.2332, allocations: 0.835 MB / 0.746 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003439/0.2335, allocations: 94.92 kB / 0.7461 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/0.2338, allocations: 127.4 kB / 0.7463 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.403e-06/0.2338, allocations: 0 / 0.7463 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04575/0.2795, allocations: 11.6 MB / 0.7576 GB, free: 148 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.727/9.006, allocations: 9.25 kB / 0.7576 GB, free: 140 kB / 0.5606 GB " [Timeout remaining time 651] (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: 13.289949267869815] Failed to read output from testmodel.py, exit status != 0: 9.080118915066123 9.096568885 8.889504736 Calling exit ...