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.001389/0.001389, allocations: 110.5 kB / 17.12 MB, free: 6.008 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.00175/0.00175, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.595/1.595, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.102/1.102, allocations: 150 MB / 459.5 MB, free: 5.324 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.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.002301/0.002301, allocations: 69.72 kB / 0.6361 GB, free: 30.7 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2048, allocations: 89.13 MB / 0.7232 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002267/0.207, allocations: 0.6676 MB / 0.7238 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0021/0.2091, allocations: 1.383 MB / 0.7252 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.987e-05/0.2092, allocations: 8 kB / 0.7252 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005087/0.2097, allocations: 187.5 kB / 0.7254 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.2099, allocations: 99.72 kB / 0.7255 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007607/0.2106, allocations: 229.7 kB / 0.7257 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006219/0.2112, allocations: 499.7 kB / 0.7261 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.197e-05/0.2113, allocations: 11.98 kB / 0.7262 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002785/0.2116, allocations: 203.7 kB / 0.7264 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000366/0.2119, allocations: 219.6 kB / 0.7266 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.245e-05/0.212, allocations: 20 kB / 0.7266 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002299/0.2122, allocations: 95.86 kB / 0.7267 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003589/0.2126, allocations: 263.4 kB / 0.7269 GB, free: 268 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002107/0.2128, allocations: 155.3 kB / 0.7271 GB, free: 112 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006207/0.2134, allocations: 482.7 kB / 0.7275 GB, free: 15.64 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.2134, allocations: 4 kB / 0.7275 GB, free: 15.63 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2134, allocations: 0 / 0.7275 GB, free: 15.63 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.2134, allocations: 0 / 0.7275 GB, free: 15.63 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00117/0.2146, allocations: 0.6384 MB / 0.7282 GB, free: 14.94 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.2147, allocations: 12.03 kB / 0.7282 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.143e-05/0.2147, allocations: 34.69 kB / 0.7282 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.2148, allocations: 36.69 kB / 0.7282 GB, free: 14.85 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000602/0.2154, allocations: 384.4 kB / 0.7286 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.2155, allocations: 16.38 kB / 0.7286 GB, free: 14.42 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.907e-05/0.2155, allocations: 20.38 kB / 0.7286 GB, free: 14.4 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003194/0.2159, allocations: 188.7 kB / 0.7288 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.2159, allocations: 7.875 kB / 0.7288 GB, free: 14.19 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.2159, allocations: 3.984 kB / 0.7288 GB, free: 14.19 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.2159, allocations: 0 / 0.7288 GB, free: 14.19 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001971/0.2161, allocations: 111.9 kB / 0.7289 GB, free: 14.08 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005013/0.2166, allocations: 395 kB / 0.7293 GB, free: 13.64 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004862/0.2171, allocations: 311.6 kB / 0.7296 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.2173, allocations: 130.5 kB / 0.7297 GB, free: 13.17 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.2173, allocations: 0 / 0.7297 GB, free: 13.17 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004861/0.2178, allocations: 287.3 kB / 0.73 GB, free: 12.87 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.432e-06/0.2178, allocations: 0 / 0.73 GB, free: 12.87 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0009339/0.2187, allocations: 0.4934 MB / 0.7305 GB, free: 12.37 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.329e-05/0.2188, allocations: 110.8 kB / 0.7306 GB, free: 12.23 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005442/0.2193, allocations: 400.5 kB / 0.731 GB, free: 11.83 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.586e-05/0.2194, allocations: 37.7 kB / 0.731 GB, free: 11.79 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.2196, allocations: 152.8 kB / 0.7312 GB, free: 11.63 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.353e-05/0.2197, allocations: 43.73 kB / 0.7312 GB, free: 11.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000205/0.2199, allocations: 117.6 kB / 0.7313 GB, free: 11.47 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.2201, allocations: 342.8 kB / 0.7316 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.2202, allocations: 83.95 kB / 0.7317 GB, free: 11.04 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006062/0.2208, allocations: 475.5 kB / 0.7322 GB, free: 10.45 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003568/0.2212, allocations: 257.5 kB / 0.7324 GB, free: 10.15 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.2212, allocations: 0 / 0.7324 GB, free: 10.15 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005866/0.2217, allocations: 321.5 kB / 0.7327 GB, free: 9.832 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.2218, allocations: 15.97 kB / 0.7327 GB, free: 9.816 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.2218, allocations: 4 kB / 0.7327 GB, free: 9.812 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.2218, allocations: 4 kB / 0.7328 GB, free: 9.809 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.222, allocations: 31.92 kB / 0.7328 GB, free: 9.777 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.66e-05/0.222, allocations: 11.92 kB / 0.7328 GB, free: 9.766 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007942/0.2228, allocations: 80.72 kB / 0.7329 GB, free: 9.688 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/0.2228, allocations: 8 kB / 0.7329 GB, free: 9.68 MB / 0.545 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.0003067/0.2231, allocations: 196.9 kB / 0.7331 GB, free: 9.48 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.99e-05/0.2232, allocations: 35.75 kB / 0.7331 GB, free: 9.445 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.885e-05/0.2233, allocations: 29.89 kB / 0.7331 GB, free: 9.418 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.2233, allocations: 7.938 kB / 0.7331 GB, free: 9.41 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.2233, allocations: 0 / 0.7331 GB, free: 9.41 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.2233, allocations: 4 kB / 0.7331 GB, free: 9.406 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003419/0.2236, allocations: 281.5 kB / 0.7334 GB, free: 9.082 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.2236, allocations: 4 kB / 0.7334 GB, free: 9.078 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.2e-05/0.2237, allocations: 7.984 kB / 0.7334 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.2237, allocations: 11.94 kB / 0.7334 GB, free: 9.059 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.2237, allocations: 11.94 kB / 0.7334 GB, free: 9.047 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.2237, allocations: 0 / 0.7334 GB, free: 9.047 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2237, allocations: 0 / 0.7334 GB, free: 9.047 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006411/0.2243, allocations: 431.7 kB / 0.7339 GB, free: 8.602 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.44e-05/0.2244, allocations: 112.8 kB / 0.734 GB, free: 8.473 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.166e-05/0.2245, allocations: 4 kB / 0.734 GB, free: 8.469 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.2246, allocations: 4 kB / 0.734 GB, free: 8.465 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/0.2246, allocations: 19.97 kB / 0.734 GB, free: 8.445 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.758e-05/0.2247, allocations: 8 kB / 0.734 GB, free: 8.438 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003641/0.225, allocations: 299 kB / 0.7343 GB, free: 8.148 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.225, allocations: 0 / 0.7343 GB, free: 8.148 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004626/0.2255, allocations: 75.94 kB / 0.7344 GB, free: 8.074 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: 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.001136/0.2266, allocations: 1.014 MB / 0.7353 GB, free: 7.023 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005568/0.2272, allocations: 248 kB / 0.7356 GB, free: 6.781 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.2272, allocations: 4 kB / 0.7356 GB, free: 6.777 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002029/0.2274, allocations: 119.9 kB / 0.7357 GB, free: 6.66 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.2277, allocations: 30.36 kB / 0.7357 GB, free: 6.633 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004855/0.2326, allocations: 3.264 MB / 0.7389 GB, free: 3.184 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004687/0.233, allocations: 0.7616 MB / 0.7397 GB, free: 2.398 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000211/0.2332, allocations: 50.12 kB / 0.7397 GB, free: 2.348 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001881/0.2334, allocations: 87.39 kB / 0.7398 GB, free: 2.262 MB / 0.545 GB Notification: Performance of SimCode: time 1.453e-06/0.2334, allocations: 0 / 0.7398 GB, free: 2.262 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0383/0.2717, allocations: 7.622 MB / 0.7472 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.837/9.109, allocations: 11.72 kB / 0.7472 GB, free: 10.83 MB / 0.5606 GB " [Timeout remaining time 651] (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: 13.50800780300051] Failed to read output from testmodel.py, exit status != 0: 9.184730744920671 9.200461751 8.983746119 Calling exit ...