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.001351/0.001351, allocations: 105 kB / 20.48 MB, free: 1.488 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.001674/0.001674, allocations: 215.3 kB / 23.79 MB, free: 4.703 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.505/1.505, allocations: 230.6 MB / 257.6 MB, free: 8.008 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.9802/0.9802, allocations: 150 MB / 464 MB, free: 10.56 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="cs",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="cs",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.00201/0.00201, allocations: 71.08 kB / 0.642 GB, free: 10.47 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1819, allocations: 89.17 MB / 0.7291 GB, free: 1.375 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001939/0.1839, allocations: 0.6783 MB / 0.7298 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002075/0.1859, allocations: 1.381 MB / 0.7311 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.95e-05/0.186, allocations: 3.938 kB / 0.7311 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005031/0.1865, allocations: 195.5 kB / 0.7313 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002565/0.1868, allocations: 95.73 kB / 0.7314 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000822/0.1876, allocations: 242.5 kB / 0.7316 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006221/0.1882, allocations: 0.4919 MB / 0.7321 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.491e-05/0.1882, allocations: 0 / 0.7321 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002707/0.1885, allocations: 211.6 kB / 0.7323 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003814/0.1889, allocations: 231.6 kB / 0.7325 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.309e-05/0.189, allocations: 20 kB / 0.7326 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002477/0.1892, allocations: 99.91 kB / 0.7327 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004346/0.1897, allocations: 279.4 kB / 0.7329 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000215/0.1899, allocations: 151.3 kB / 0.7331 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005689/0.1904, allocations: 482.7 kB / 0.7335 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1904, allocations: 0 / 0.7335 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.472e-06/0.1904, allocations: 0 / 0.7335 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.1905, allocations: 0 / 0.7335 GB, free: 12.85 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.001167/0.1916, allocations: 0.567 MB / 0.7341 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.1917, allocations: 12.03 kB / 0.7341 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.698e-05/0.1917, allocations: 192 / 0.7341 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.139e-05/0.1917, allocations: 34.73 kB / 0.7341 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.1918, allocations: 36.75 kB / 0.7342 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005573/0.1924, allocations: 330.5 kB / 0.7345 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.1924, allocations: 8.375 kB / 0.7345 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.476e-05/0.1925, allocations: 24.31 kB / 0.7345 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003331/0.1928, allocations: 196.4 kB / 0.7347 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.1928, allocations: 0 / 0.7347 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.1929, allocations: 3.984 kB / 0.7347 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.1929, allocations: 4 kB / 0.7347 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001857/0.1931, allocations: 107.9 kB / 0.7348 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004808/0.1935, allocations: 350.2 kB / 0.7351 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005105/0.194, allocations: 315.6 kB / 0.7354 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001983/0.1942, allocations: 122.6 kB / 0.7356 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.394e-06/0.1943, allocations: 4 kB / 0.7356 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004827/0.1947, allocations: 289.5 kB / 0.7358 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=18): time 1.363e-06/0.1947, allocations: 4 kB / 0.7358 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18): time 0.0009382/0.1957, allocations: 0.4973 MB / 0.7363 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.749e-05/0.1958, allocations: 118.7 kB / 0.7364 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004895/0.1963, allocations: 400.4 kB / 0.7368 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.994e-05/0.1963, allocations: 41.7 kB / 0.7369 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.1965, allocations: 148.8 kB / 0.737 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.595e-05/0.1966, allocations: 39.78 kB / 0.737 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002017/0.1968, allocations: 113.6 kB / 0.7372 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002095/0.197, allocations: 354.8 kB / 0.7375 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.1971, allocations: 83.95 kB / 0.7376 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006926/0.1978, allocations: 467 kB / 0.738 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003461/0.1982, allocations: 245.5 kB / 0.7383 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1982, allocations: 4 kB / 0.7383 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005922/0.1988, allocations: 349.1 kB / 0.7386 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.1988, allocations: 4 kB / 0.7386 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.1988, allocations: 4 kB / 0.7386 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.1988, allocations: 4.406 kB / 0.7386 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.199, allocations: 35.92 kB / 0.7386 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.199, allocations: 7.984 kB / 0.7386 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007669/0.1998, allocations: 67.89 kB / 0.7387 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-05/0.1998, allocations: 12 kB / 0.7387 GB, free: 7.094 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.0002568/0.2001, allocations: 195.7 kB / 0.7389 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.925e-05/0.2001, allocations: 35.69 kB / 0.7389 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.601e-05/0.2002, allocations: 33.89 kB / 0.739 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/0.2002, allocations: 4 kB / 0.739 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2002, allocations: 0 / 0.739 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2002, allocations: 0 / 0.739 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003086/0.2005, allocations: 260.5 kB / 0.7392 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2005, allocations: 0 / 0.7392 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.937e-05/0.2005, allocations: 11.92 kB / 0.7392 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2005, allocations: 0 / 0.7392 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.2005, allocations: 12 kB / 0.7392 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.2005, allocations: 4 kB / 0.7393 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.2005, allocations: 0 / 0.7393 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007068/0.2012, allocations: 432.1 kB / 0.7397 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.408e-05/0.2013, allocations: 31.78 kB / 0.7397 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.075e-05/0.2013, allocations: 4 kB / 0.7397 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.839e-05/0.2014, allocations: 12 kB / 0.7397 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5e-05/0.2015, allocations: 15.97 kB / 0.7397 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.934e-05/0.2015, allocations: 12 kB / 0.7397 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003753/0.2019, allocations: 291 kB / 0.74 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2019, allocations: 0 / 0.74 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005847/0.2025, allocations: 83.86 kB / 0.7401 GB, free: 5.613 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.001088/0.2036, allocations: 1.012 MB / 0.7411 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004485/0.204, allocations: 240.3 kB / 0.7413 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.204, allocations: 192 / 0.7413 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001987/0.2042, allocations: 128.1 kB / 0.7414 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.2045, allocations: 31.12 kB / 0.7415 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004418/0.2089, allocations: 3.266 MB / 0.7447 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004563/0.2094, allocations: 0.7713 MB / 0.7454 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001391/0.2095, allocations: 49.88 kB / 0.7455 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.2097, allocations: 83.41 kB / 0.7455 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of SimCode: time 1.072e-06/0.2097, allocations: 0 / 0.7455 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03197/0.2416, allocations: 7.84 MB / 0.7532 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.69, allocations: 9 kB / 0.7532 GB, free: 8.195 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-06 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 os._exit(0), Time elapsed: 15.903575226024259] Failed to read output from testmodel.py, exit status != 0: 11.865603465994354 12.217505839 12.024439772 Calling exit ...