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.001332/0.001332, allocations: 105.2 kB / 19.74 MB, free: 2.012 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.001464/0.001464, allocations: 212.3 kB / 23.04 MB, free: 4.883 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 7.766 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.9721/0.9721, allocations: 150 MB / 463.2 MB, free: 10.19 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.001935/0.001935, allocations: 62.47 kB / 0.6413 GB, free: 9.859 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1756, allocations: 89.18 MB / 0.7284 GB, free: 0.75 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002533/0.1782, allocations: 1.072 MB / 0.7294 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002323/0.1805, allocations: 1.533 MB / 0.7309 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.1806, allocations: 4 kB / 0.7309 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001465/0.1807, allocations: 27.61 kB / 0.7309 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001322/0.1809, allocations: 67.44 kB / 0.731 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.182, allocations: 495.4 kB / 0.7315 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006126/0.1826, allocations: 0.5777 MB / 0.732 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000261/0.1829, allocations: 108.8 kB / 0.7321 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002406/0.1831, allocations: 227.5 kB / 0.7324 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002819/0.1834, allocations: 191.2 kB / 0.7325 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.598e-05/0.1835, allocations: 60 kB / 0.7326 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.1836, allocations: 71.98 kB / 0.7327 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.1838, allocations: 79.64 kB / 0.7327 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002329/0.184, allocations: 199.3 kB / 0.7329 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006631/0.1847, allocations: 0.6267 MB / 0.7335 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1847, allocations: 4 kB / 0.7335 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.214e-06/0.1847, allocations: 0 / 0.7335 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.1847, allocations: 3.938 kB / 0.7336 GB, free: 11.43 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.001002/0.1857, allocations: 0.6756 MB / 0.7342 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.1857, allocations: 12.03 kB / 0.7342 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.45e-05/0.1858, allocations: 58.72 kB / 0.7343 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.1859, allocations: 48.7 kB / 0.7343 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009964/0.1869, allocations: 333.8 kB / 0.7346 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.607e-05/0.1869, allocations: 24.81 kB / 0.7347 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.876e-05/0.187, allocations: 36.38 kB / 0.7347 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004764/0.1875, allocations: 380 kB / 0.7351 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.1875, allocations: 4 kB / 0.7351 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.585e-05/0.1875, allocations: 12 kB / 0.7351 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.1875, allocations: 8 kB / 0.7351 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002598/0.1878, allocations: 165.5 kB / 0.7352 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.1891, allocations: 0.7236 MB / 0.736 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003313/0.1894, allocations: 202.8 kB / 0.7361 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002749/0.1897, allocations: 194.7 kB / 0.7363 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.1897, allocations: 11.92 kB / 0.7363 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000394/0.1901, allocations: 346.7 kB / 0.7367 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=28): time 3.637e-06/0.1901, allocations: 3.984 kB / 0.7367 GB, free: 8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28): time 0.0007182/0.1908, allocations: 435.1 kB / 0.7371 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.101e-05/0.1909, allocations: 114.7 kB / 0.7372 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000342/0.1912, allocations: 332.3 kB / 0.7375 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.728e-05/0.1913, allocations: 41.7 kB / 0.7376 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.1914, allocations: 180.8 kB / 0.7377 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.143e-05/0.1915, allocations: 67.52 kB / 0.7378 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/0.1917, allocations: 146 kB / 0.7379 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.1919, allocations: 342.8 kB / 0.7383 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004693/0.1924, allocations: 335.5 kB / 0.7386 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005772/0.1929, allocations: 499.2 kB / 0.7391 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006749/0.1936, allocations: 0.5388 MB / 0.7396 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1936, allocations: 0 / 0.7396 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00121/0.1948, allocations: 0.8721 MB / 0.7404 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-05/0.1949, allocations: 126.8 kB / 0.7406 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1949, allocations: 0 / 0.7406 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.195, allocations: 8 kB / 0.7406 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.1952, allocations: 63.78 kB / 0.7406 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.1952, allocations: 8 kB / 0.7406 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006631/0.1958, allocations: 132 kB / 0.7408 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.1959, allocations: 63.92 kB / 0.7408 GB, free: 3.43 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.0002216/0.1962, allocations: 197.6 kB / 0.741 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.726e-05/0.1962, allocations: 31.81 kB / 0.741 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005566/0.1968, allocations: 369.6 kB / 0.7414 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.1968, allocations: 7.938 kB / 0.7414 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1968, allocations: 0 / 0.7414 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1968, allocations: 4 kB / 0.7414 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009076/0.1977, allocations: 0.6891 MB / 0.7421 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.1977, allocations: 7.875 kB / 0.7421 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.1978, allocations: 35.98 kB / 0.7421 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.1978, allocations: 4 kB / 0.7421 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.1978, allocations: 8 kB / 0.7421 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.1978, allocations: 4 kB / 0.7421 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1978, allocations: 0 / 0.7421 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005101/0.1984, allocations: 444.5 kB / 0.7426 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.448e-05/0.1984, allocations: 31.69 kB / 0.7426 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.135e-05/0.1984, allocations: 19.94 kB / 0.7426 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.1986, allocations: 8 kB / 0.7426 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/0.1986, allocations: 23.95 kB / 0.7426 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.1986, allocations: 12 kB / 0.7426 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002279/0.1989, allocations: 215 kB / 0.7429 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1989, allocations: 0 / 0.7429 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004138/0.1993, allocations: 95.94 kB / 0.7429 GB, free: 1.172 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.0008855/0.2002, allocations: 0.9874 MB / 0.7439 GB, free: 160 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009573/0.2011, allocations: 0.7388 MB / 0.7446 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2011, allocations: 0 / 0.7446 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.2013, allocations: 140.3 kB / 0.7448 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005012/0.2018, allocations: 80.02 kB / 0.7448 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005393/0.2072, allocations: 4.35 MB / 0.7491 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001738/0.2074, allocations: 177.5 kB / 0.7493 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001726/0.2076, allocations: 71.23 kB / 0.7493 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.2077, allocations: 111.4 kB / 0.7494 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of SimCode: time 8.72e-07/0.2077, allocations: 4 kB / 0.7494 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03849/0.2462, allocations: 9.636 MB / 0.7588 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.01, allocations: 5.625 kB / 0.7589 GB, free: 0.7773 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.170719912974164] Failed to read output from testmodel.py, exit status != 0: 12.44163804803975 12.467016156 12.277350218 Calling exit ...