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.001765/0.001765, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.00217/0.00217, allocations: 215 kB / 22.99 MB, free: 4.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.584/1.584, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.9777/0.9777, allocations: 149.9 MB / 463.1 MB, free: 10.29 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.002121/0.002121, allocations: 70.7 kB / 0.6411 GB, free: 10.08 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.175, allocations: 89.17 MB / 0.7282 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002035/0.177, allocations: 0.6489 MB / 0.7288 GB, free: 352 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002283/0.1793, allocations: 1.35 MB / 0.7301 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.499e-05/0.1794, allocations: 4 kB / 0.7301 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006438/0.18, allocations: 187.5 kB / 0.7303 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001585/0.1802, allocations: 107.7 kB / 0.7304 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.1812, allocations: 240.8 kB / 0.7306 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007045/0.1819, allocations: 479.8 kB / 0.7311 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.883e-05/0.182, allocations: 7.938 kB / 0.7311 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002802/0.1823, allocations: 207.7 kB / 0.7313 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003999/0.1827, allocations: 223.5 kB / 0.7315 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.1828, allocations: 20 kB / 0.7315 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003009/0.1831, allocations: 103.9 kB / 0.7316 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004192/0.1835, allocations: 279.4 kB / 0.7319 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001859/0.1837, allocations: 131.5 kB / 0.732 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006383/0.1843, allocations: 478.8 kB / 0.7325 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1843, allocations: 0 / 0.7325 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.134e-06/0.1843, allocations: 0 / 0.7325 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.1843, allocations: 0 / 0.7325 GB, free: 12.57 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.001101/0.1854, allocations: 0.5708 MB / 0.733 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.1855, allocations: 8.031 kB / 0.733 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.038e-05/0.1855, allocations: 38.75 kB / 0.7331 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.1857, allocations: 36.73 kB / 0.7331 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006799/0.1863, allocations: 326.5 kB / 0.7334 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/0.1864, allocations: 20.36 kB / 0.7334 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.73e-05/0.1864, allocations: 20.38 kB / 0.7335 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003737/0.1868, allocations: 192.6 kB / 0.7336 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1868, allocations: 3.938 kB / 0.7337 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.1868, allocations: 0 / 0.7337 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.1869, allocations: 0 / 0.7337 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002046/0.1871, allocations: 115.9 kB / 0.7338 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000455/0.1875, allocations: 286.4 kB / 0.734 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005406/0.1881, allocations: 323.6 kB / 0.7343 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002027/0.1883, allocations: 122.6 kB / 0.7345 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.1883, allocations: 3.984 kB / 0.7345 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005213/0.1888, allocations: 285.6 kB / 0.7347 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=18): time 3.587e-06/0.1888, allocations: 4 kB / 0.7347 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18): time 0.0009059/0.1897, allocations: 0.4934 MB / 0.7352 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.592e-05/0.1898, allocations: 118.7 kB / 0.7353 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005149/0.1903, allocations: 400.4 kB / 0.7357 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.774e-05/0.1904, allocations: 41.7 kB / 0.7358 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.1905, allocations: 148.8 kB / 0.7359 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.085e-05/0.1906, allocations: 39.78 kB / 0.7359 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.1908, allocations: 113.6 kB / 0.736 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.191, allocations: 346.8 kB / 0.7364 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.1911, allocations: 87.89 kB / 0.7365 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009932/0.1921, allocations: 1.087 MB / 0.7375 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/0.1924, allocations: 257.5 kB / 0.7378 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.1924, allocations: 0 / 0.7378 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00058/0.193, allocations: 333 kB / 0.7381 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.193, allocations: 11.94 kB / 0.7381 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.193, allocations: 4.406 kB / 0.7381 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.1931, allocations: 8 kB / 0.7381 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.1932, allocations: 27.92 kB / 0.7381 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.1932, allocations: 8 kB / 0.7381 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007092/0.1939, allocations: 67.95 kB / 0.7382 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.194, allocations: 19.98 kB / 0.7382 GB, free: 6.082 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.0002468/0.1942, allocations: 187.8 kB / 0.7384 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.917e-05/0.1943, allocations: 43.67 kB / 0.7384 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.581e-05/0.1943, allocations: 33.89 kB / 0.7385 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.1943, allocations: 0 / 0.7385 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.487e-05/0.1944, allocations: 7.938 kB / 0.7385 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1944, allocations: 0 / 0.7385 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002712/0.1946, allocations: 224.9 kB / 0.7387 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1946, allocations: 0 / 0.7387 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.983e-05/0.1946, allocations: 7.984 kB / 0.7387 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.1947, allocations: 3.938 kB / 0.7387 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/0.1947, allocations: 11.98 kB / 0.7387 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.1947, allocations: 4 kB / 0.7387 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.1947, allocations: 4 kB / 0.7387 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006318/0.1953, allocations: 433.3 kB / 0.7391 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.881e-05/0.1954, allocations: 35.72 kB / 0.7392 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.816e-05/0.1954, allocations: 4 kB / 0.7392 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.586e-05/0.1955, allocations: 4 kB / 0.7392 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.54e-05/0.1956, allocations: 19.97 kB / 0.7392 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.516e-05/0.1956, allocations: 8 kB / 0.7392 GB, free: 5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003455/0.1959, allocations: 291 kB / 0.7395 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1959, allocations: 0 / 0.7395 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004101/0.1963, allocations: 87.86 kB / 0.7396 GB, free: 4.629 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.001065/0.1974, allocations: 1.001 MB / 0.7406 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004544/0.1979, allocations: 247.7 kB / 0.7408 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1979, allocations: 0.8125 kB / 0.7408 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002012/0.1981, allocations: 115.9 kB / 0.7409 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.1983, allocations: 32.64 kB / 0.7409 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00418/0.2025, allocations: 3.261 MB / 0.7441 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001856/0.2027, allocations: 161.2 kB / 0.7443 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001247/0.2028, allocations: 45.94 kB / 0.7443 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.203, allocations: 79.41 kB / 0.7444 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of SimCode: time 4.81e-07/0.203, allocations: 0 / 0.7444 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03766/0.2406, allocations: 8.643 MB / 0.7528 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.75, allocations: 6.406 kB / 0.7528 GB, free: 7.09 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 sys.exit(0), Time elapsed: 15.84401113493368] Failed to read output from testmodel.py, exit status != 0: 11.862649012822658 12.167837545 11.980871569 Calling exit ...