Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.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.001853/0.001853, 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.002961/0.002961, allocations: 210.7 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.57/1.57, 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 1.013/1.013, allocations: 149.9 MB / 463 MB, free: 10.38 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.Routing.Validation.IntegerExtractor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",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.002437/0.002437, allocations: 62.59 kB / 0.6411 GB, free: 10.16 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1716, allocations: 89.18 MB / 0.7282 GB, free: 1.043 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002594/0.1742, allocations: 1.058 MB / 0.7292 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002357/0.1766, allocations: 1.533 MB / 0.7307 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.1767, allocations: 7.938 kB / 0.7307 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001631/0.1769, allocations: 27.61 kB / 0.7307 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001818/0.1771, allocations: 71.44 kB / 0.7308 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.1784, allocations: 491.5 kB / 0.7313 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008134/0.1792, allocations: 0.5894 MB / 0.7318 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003261/0.1795, allocations: 92.89 kB / 0.7319 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003951/0.1799, allocations: 243.4 kB / 0.7322 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004212/0.1803, allocations: 183.3 kB / 0.7323 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001484/0.1805, allocations: 63.94 kB / 0.7324 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001814/0.1806, allocations: 71.98 kB / 0.7325 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.1808, allocations: 75.77 kB / 0.7325 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002628/0.181, allocations: 195.2 kB / 0.7327 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007271/0.1817, allocations: 0.6345 MB / 0.7333 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1817, allocations: 0 / 0.7333 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.873e-06/0.1817, allocations: 4 kB / 0.7333 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.377e-05/0.1818, allocations: 0 / 0.7333 GB, free: 11.73 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001095/0.1829, allocations: 0.6756 MB / 0.734 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.1829, allocations: 12.03 kB / 0.734 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.553e-05/0.183, allocations: 58.73 kB / 0.7341 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.1831, allocations: 44.7 kB / 0.7341 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.1842, allocations: 341.8 kB / 0.7344 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.841e-05/0.1842, allocations: 28.81 kB / 0.7345 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.537e-05/0.1843, allocations: 32.38 kB / 0.7345 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00051/0.1848, allocations: 384 kB / 0.7349 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.1848, allocations: 3.984 kB / 0.7349 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/0.1849, allocations: 12 kB / 0.7349 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.1849, allocations: 4 kB / 0.7349 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002658/0.1851, allocations: 153.7 kB / 0.735 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/0.1866, allocations: 0.7158 MB / 0.7357 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003497/0.1869, allocations: 217.1 kB / 0.7359 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002842/0.1872, allocations: 196.8 kB / 0.7361 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.1872, allocations: 4 kB / 0.7361 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004196/0.1876, allocations: 354.6 kB / 0.7365 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=28): time 3.647e-06/0.1876, allocations: 3.984 kB / 0.7365 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28): time 0.0007294/0.1884, allocations: 431.2 kB / 0.7369 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.528e-05/0.1884, allocations: 118.8 kB / 0.737 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003523/0.1888, allocations: 336.2 kB / 0.7373 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.097e-05/0.1889, allocations: 37.7 kB / 0.7374 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.189, allocations: 172.8 kB / 0.7375 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.851e-05/0.1891, allocations: 63.52 kB / 0.7376 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002317/0.1893, allocations: 150 kB / 0.7377 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.1895, allocations: 342.8 kB / 0.738 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004701/0.1899, allocations: 335.5 kB / 0.7384 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005901/0.1905, allocations: 0.4941 MB / 0.7389 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007035/0.1912, allocations: 0.5349 MB / 0.7394 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.1912, allocations: 0 / 0.7394 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001274/0.1925, allocations: 0.8838 MB / 0.7402 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.1926, allocations: 126.8 kB / 0.7404 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.1926, allocations: 4 kB / 0.7404 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.1926, allocations: 4 kB / 0.7404 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.1928, allocations: 64.25 kB / 0.7404 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.1929, allocations: 8 kB / 0.7404 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006676/0.1935, allocations: 127.5 kB / 0.7406 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.1936, allocations: 75.86 kB / 0.7406 GB, free: 3.715 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conInt.y,conInt3.y,conInt2.y,extIndInt.u[4],extIndInt.u[1],extIndInt1.u[4],extIndInt2.u[4],extIndInt3.u[4],extIndInt4.u[4],extIndInt1.u[1],extIndInt2.u[1],extIndInt3.u[1],extIndInt4.u[1],intPul3.booPul.y,$PRE.intPul3.booPul.y,intPul3.y,intPul2.booPul.y,$PRE.intPul2.booPul.y,intPul2.y,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul.booPul.y,$PRE.intPul.booPul.y,extIndInt4.y,extIndInt4.u[3],extIndInt4.u[2],extIndInt3.y,extIndInt3.u[3],extIndInt3.u[2],extIndInt2.y,extIndInt2.u[3],extIndInt2.u[2],extIndInt1.y,extIndInt1.u[3],extIndInt1.u[2],extIndInt.u[3],extIndInt.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * 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.0002378/0.1939, allocations: 185.7 kB / 0.7408 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.69e-05/0.1939, allocations: 35.8 kB / 0.7408 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000575/0.1945, allocations: 369.5 kB / 0.7412 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.924e-06/0.1945, allocations: 7.938 kB / 0.7412 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.1945, allocations: 0 / 0.7412 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1945, allocations: 0 / 0.7412 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.1955, allocations: 0.6969 MB / 0.7419 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.1955, allocations: 3.938 kB / 0.7419 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.1957, allocations: 35.92 kB / 0.7419 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.1957, allocations: 0 / 0.7419 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.1957, allocations: 11.98 kB / 0.7419 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.1957, allocations: 0 / 0.7419 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1957, allocations: 4 kB / 0.7419 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005325/0.1962, allocations: 436.7 kB / 0.7423 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-05/0.1963, allocations: 35.67 kB / 0.7424 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.238e-05/0.1963, allocations: 11.95 kB / 0.7424 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.1965, allocations: 15.98 kB / 0.7424 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.265e-05/0.1965, allocations: 19.97 kB / 0.7424 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.1965, allocations: 15.98 kB / 0.7424 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002306/0.1968, allocations: 215.1 kB / 0.7426 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1968, allocations: 3.938 kB / 0.7427 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004191/0.1972, allocations: 91.94 kB / 0.7427 GB, free: 1.469 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (extIndInt.u[2],extIndInt.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt1.u[2],extIndInt1.u[3],extIndInt1.y,extIndInt2.u[2],extIndInt2.u[3],extIndInt2.y,extIndInt3.u[2],extIndInt3.u[3],extIndInt3.y,extIndInt4.u[2],extIndInt4.u[3],extIndInt4.y,intPul.booPul.y,intPul1.booPul.y,intPul2.y,intPul2.booPul.y,intPul3.y,intPul3.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008768/0.1981, allocations: 0.9897 MB / 0.7437 GB, free: 464 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009905/0.1991, allocations: 0.7388 MB / 0.7444 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.1991, allocations: 4.75 kB / 0.7444 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001947/0.1993, allocations: 128.4 kB / 0.7446 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005234/0.1998, allocations: 77.03 kB / 0.7446 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005535/0.2053, allocations: 4.356 MB / 0.7489 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001742/0.2055, allocations: 181.5 kB / 0.7491 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000181/0.2057, allocations: 71.22 kB / 0.7491 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.2058, allocations: 115.4 kB / 0.7492 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of SimCode: time 5.21e-07/0.2058, allocations: 3.938 kB / 0.7492 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03964/0.2455, allocations: 9.636 MB / 0.7586 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/11.89, allocations: 4.812 kB / 0.7587 GB, free: 1.062 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.28172236913815] Failed to read output from testmodel.py, exit status != 0: 12.345160027965903 12.360954065 12.175991896 Calling exit ...