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.001371/0.001371, 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.001483/0.001483, allocations: 211 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.9835/0.9835, allocations: 149.9 MB / 463 MB, free: 10.34 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.002116/0.002116, allocations: 69.52 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1898, allocations: 89.17 MB / 0.7282 GB, free: 1.02 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002025/0.1918, allocations: 0.7968 MB / 0.729 GB, free: 228 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002345/0.1942, allocations: 1.459 MB / 0.7304 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.444e-05/0.1943, allocations: 11.88 kB / 0.7304 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005632/0.1948, allocations: 195.4 kB / 0.7306 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001721/0.195, allocations: 115.6 kB / 0.7307 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.1961, allocations: 364.1 kB / 0.731 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009727/0.1971, allocations: 0.8816 MB / 0.7319 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.1972, allocations: 52.55 kB / 0.7319 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003699/0.1976, allocations: 351.5 kB / 0.7323 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004217/0.198, allocations: 287.3 kB / 0.7326 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001534/0.1982, allocations: 47.94 kB / 0.7326 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002995/0.1985, allocations: 119.9 kB / 0.7327 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004573/0.199, allocations: 363.3 kB / 0.7331 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003143/0.1993, allocations: 239 kB / 0.7333 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009965/0.2003, allocations: 0.9155 MB / 0.7342 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2003, allocations: 0 / 0.7342 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2003, allocations: 0 / 0.7342 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.2003, allocations: 0 / 0.7342 GB, free: 10.86 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.001667/0.2019, allocations: 0.8358 MB / 0.735 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.202, allocations: 8.031 kB / 0.735 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.053e-05/0.202, allocations: 42.69 kB / 0.7351 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001804/0.2022, allocations: 64.64 kB / 0.7351 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000988/0.2032, allocations: 492.5 kB / 0.7356 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.374e-05/0.2032, allocations: 24.61 kB / 0.7356 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.2034, allocations: 44.34 kB / 0.7356 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000472/0.2038, allocations: 306.2 kB / 0.7359 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.2038, allocations: 3.938 kB / 0.7359 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/0.2039, allocations: 8 kB / 0.736 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.2039, allocations: 0 / 0.736 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000343/0.2042, allocations: 223.8 kB / 0.7362 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002051/0.2063, allocations: 1.027 MB / 0.7372 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006661/0.2069, allocations: 467.6 kB / 0.7376 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002633/0.2072, allocations: 174.6 kB / 0.7378 GB, free: 7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.2072, allocations: 4 kB / 0.7378 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004729/0.2077, allocations: 336.5 kB / 0.7381 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=24): time 1.603e-06/0.2077, allocations: 0 / 0.7381 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24): time 0.001097/0.2088, allocations: 0.6298 MB / 0.7387 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.863e-05/0.2089, allocations: 122.8 kB / 0.7388 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007441/0.2096, allocations: 0.5955 MB / 0.7394 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.719e-05/0.2097, allocations: 49.69 kB / 0.7395 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002321/0.2099, allocations: 209.7 kB / 0.7397 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.138e-05/0.21, allocations: 55.62 kB / 0.7397 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002738/0.2103, allocations: 185.4 kB / 0.7399 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.2105, allocations: 358.8 kB / 0.7402 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.2107, allocations: 127.9 kB / 0.7404 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001469/0.2121, allocations: 1.773 MB / 0.7421 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003983/0.2125, allocations: 308.6 kB / 0.7424 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.2125, allocations: 0 / 0.7424 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007123/0.2132, allocations: 432.8 kB / 0.7428 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.2133, allocations: 4 kB / 0.7428 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.2133, allocations: 4.25 kB / 0.7428 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.2133, allocations: 11.94 kB / 0.7428 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.2134, allocations: 35.92 kB / 0.7429 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.2135, allocations: 4.375 kB / 0.7429 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/0.2147, allocations: 131.4 kB / 0.743 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.2147, allocations: 16 kB / 0.743 GB, free: 1.086 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.0003687/0.2151, allocations: 261.7 kB / 0.7432 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.391e-05/0.2152, allocations: 51.64 kB / 0.7433 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.377e-05/0.2153, allocations: 47.38 kB / 0.7433 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.2153, allocations: 7.938 kB / 0.7433 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.2153, allocations: 0 / 0.7433 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.2153, allocations: 3.984 kB / 0.7434 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003997/0.2157, allocations: 328.5 kB / 0.7437 GB, free: 356 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.2157, allocations: 0.75 kB / 0.7437 GB, free: 356 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.439e-05/0.2157, allocations: 7.984 kB / 0.7437 GB, free: 348 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.2157, allocations: 0 / 0.7437 GB, free: 348 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.2157, allocations: 8 kB / 0.7437 GB, free: 340 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.2157, allocations: 7.938 kB / 0.7437 GB, free: 332 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.2157, allocations: 0 / 0.7437 GB, free: 332 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000772/0.2165, allocations: 0.5255 MB / 0.7442 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.2166, allocations: 43.7 kB / 0.7442 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.093e-05/0.2167, allocations: 11.98 kB / 0.7443 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.2168, allocations: 19.92 kB / 0.7443 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.749e-05/0.2169, allocations: 31.95 kB / 0.7443 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.2169, allocations: 12 kB / 0.7443 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005458/0.2175, allocations: 435.1 kB / 0.7447 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2175, allocations: 0 / 0.7447 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004776/0.218, allocations: 115.8 kB / 0.7448 GB, free: 15.12 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.001185/0.2191, allocations: 1.111 MB / 0.7459 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006191/0.2198, allocations: 336.3 kB / 0.7462 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2198, allocations: 0 / 0.7462 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002526/0.22, allocations: 171.8 kB / 0.7464 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.2203, allocations: 33.97 kB / 0.7464 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008799/0.2291, allocations: 4.4 MB / 0.7507 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003827/0.2295, allocations: 231.1 kB / 0.751 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003509/0.2299, allocations: 98.86 kB / 0.7511 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002124/0.2301, allocations: 131.4 kB / 0.7512 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of SimCode: time 8.62e-07/0.2301, allocations: 0 / 0.7512 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3797/0.6098, allocations: 12.9 MB / 0.7638 GB, free: 34.45 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.22, allocations: 5.125 kB / 0.7638 GB, free: 34.45 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-06 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.071129402145743] Failed to read output from testmodel.py, exit status != 0: 12.334015244152397 12.361671019 12.155957898 Calling exit ...