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.001572/0.001572, allocations: 97.11 kB / 19.74 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.00193/0.00193, allocations: 210.8 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.48/1.48, 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.9583/0.9583, allocations: 150 MB / 463.2 MB, free: 10.18 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.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.002053/0.002053, allocations: 69.92 kB / 0.6413 GB, free: 9.809 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2037, allocations: 89.18 MB / 0.7284 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.003045/0.2068, allocations: 0.6474 MB / 0.729 GB, free: 68 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003435/0.2102, allocations: 1.347 MB / 0.7303 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.534e-05/0.2103, allocations: 3.938 kB / 0.7303 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007728/0.2111, allocations: 191.6 kB / 0.7305 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002918/0.2114, allocations: 103.7 kB / 0.7306 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001372/0.2127, allocations: 238.5 kB / 0.7308 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001004/0.2137, allocations: 495.7 kB / 0.7313 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.131e-05/0.2138, allocations: 7.984 kB / 0.7313 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004546/0.2143, allocations: 199.7 kB / 0.7315 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005993/0.2149, allocations: 227.5 kB / 0.7317 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001632/0.215, allocations: 20 kB / 0.7317 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004455/0.2155, allocations: 95.91 kB / 0.7318 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007037/0.2162, allocations: 279.4 kB / 0.7321 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003669/0.2165, allocations: 135.4 kB / 0.7322 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009762/0.2175, allocations: 482.8 kB / 0.7327 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2175, allocations: 0 / 0.7327 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.214e-06/0.2175, allocations: 3.938 kB / 0.7327 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.391e-05/0.2175, allocations: 0 / 0.7327 GB, free: 12.28 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00179/0.2193, allocations: 0.5669 MB / 0.7332 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.001e-05/0.2194, allocations: 12.03 kB / 0.7333 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.684e-05/0.2195, allocations: 30.75 kB / 0.7333 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002292/0.2197, allocations: 40.75 kB / 0.7333 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009294/0.2206, allocations: 326.5 kB / 0.7336 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.724e-05/0.2207, allocations: 16.31 kB / 0.7336 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.2208, allocations: 24.36 kB / 0.7337 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005465/0.2213, allocations: 188.6 kB / 0.7338 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.2213, allocations: 3.938 kB / 0.7339 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.126e-05/0.2214, allocations: 4 kB / 0.7339 GB, free: 11 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.2214, allocations: 0 / 0.7339 GB, free: 11 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003555/0.2217, allocations: 107.9 kB / 0.734 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006709/0.2224, allocations: 290.4 kB / 0.7342 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009133/0.2233, allocations: 323.6 kB / 0.7345 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003503/0.2237, allocations: 118.6 kB / 0.7347 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.2237, allocations: 4 kB / 0.7347 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008094/0.2245, allocations: 281.6 kB / 0.7349 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=18): time 2.555e-06/0.2245, allocations: 0 / 0.7349 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18): time 0.00165/0.2261, allocations: 0.5012 MB / 0.7354 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.2263, allocations: 106.8 kB / 0.7355 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008694/0.2271, allocations: 408.4 kB / 0.7359 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001313/0.2273, allocations: 37.7 kB / 0.7359 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000256/0.2275, allocations: 152.8 kB / 0.7361 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.301e-05/0.2276, allocations: 43.72 kB / 0.7361 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003315/0.2279, allocations: 109.6 kB / 0.7362 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002505/0.2282, allocations: 346.8 kB / 0.7366 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/0.2284, allocations: 87.94 kB / 0.7367 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001541/0.23, allocations: 1.095 MB / 0.7377 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006035/0.2306, allocations: 249.5 kB / 0.738 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.2306, allocations: 4 kB / 0.738 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001082/0.2317, allocations: 333.3 kB / 0.7383 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.688e-05/0.2317, allocations: 11.94 kB / 0.7383 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.2317, allocations: 0 / 0.7383 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.189e-05/0.2317, allocations: 8.406 kB / 0.7383 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003037/0.232, allocations: 43.84 kB / 0.7383 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.83e-05/0.2321, allocations: 4 kB / 0.7383 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/0.2335, allocations: 67.83 kB / 0.7384 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.341e-05/0.2335, allocations: 12 kB / 0.7384 GB, free: 5.812 MB / 0.5606 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.0004393/0.234, allocations: 191.7 kB / 0.7386 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.2341, allocations: 35.75 kB / 0.7386 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.2342, allocations: 33.89 kB / 0.7387 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.2342, allocations: 4 kB / 0.7387 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.2342, allocations: 0 / 0.7387 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.2342, allocations: 3.984 kB / 0.7387 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004848/0.2347, allocations: 224.7 kB / 0.7389 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.2347, allocations: 0 / 0.7389 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.442e-05/0.2348, allocations: 7.938 kB / 0.7389 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.296e-05/0.2348, allocations: 7.938 kB / 0.7389 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.464e-05/0.2348, allocations: 11.98 kB / 0.7389 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.2348, allocations: 3.938 kB / 0.7389 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2348, allocations: 4 kB / 0.7389 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.236, allocations: 428.9 kB / 0.7393 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.394e-05/0.2361, allocations: 35.78 kB / 0.7394 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.919e-05/0.2362, allocations: 0 / 0.7394 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.2364, allocations: 8 kB / 0.7394 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.466e-05/0.2365, allocations: 23.89 kB / 0.7394 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.951e-05/0.2365, allocations: 16 kB / 0.7394 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006576/0.2372, allocations: 287 kB / 0.7397 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2372, allocations: 0 / 0.7397 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008755/0.2381, allocations: 83.86 kB / 0.7398 GB, free: 4.359 MB / 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: 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.001906/0.24, allocations: 0.9975 MB / 0.7407 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008706/0.2408, allocations: 251.7 kB / 0.741 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.2408, allocations: 0 / 0.741 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003771/0.2412, allocations: 125.4 kB / 0.7411 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004807/0.2417, allocations: 29.05 kB / 0.7411 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00516/0.2469, allocations: 3.257 MB / 0.7443 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001742/0.247, allocations: 153.2 kB / 0.7445 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002051/0.2472, allocations: 53.88 kB / 0.7445 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.2474, allocations: 79.41 kB / 0.7446 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of SimCode: time 9.52e-07/0.2474, allocations: 0 / 0.7446 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0381/0.2855, allocations: 8.646 MB / 0.753 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.67, allocations: 12.16 kB / 0.753 GB, free: 6.801 MB / 0.5762 GB " [Timeout remaining time 648] (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: 15.712900006910786] Failed to read output from testmodel.py, exit status != 0: 11.782298578880727 12.052461717 11.832250459 Calling exit ...