Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.00131/0.00131, 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.001495/0.001495, allocations: 216.5 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.9742/0.9742, allocations: 149.9 MB / 463.1 MB, free: 10.35 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.RealExtractor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealExtractor",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.002498/0.002498, allocations: 69.06 kB / 0.6411 GB, free: 10.09 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1847, allocations: 89.18 MB / 0.7282 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.003009/0.1878, allocations: 1.221 MB / 0.7294 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002655/0.1904, allocations: 1.568 MB / 0.7309 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001982/0.1906, allocations: 4 kB / 0.7309 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001886/0.1908, allocations: 35.55 kB / 0.7309 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002401/0.191, allocations: 75.38 kB / 0.731 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001438/0.1925, allocations: 0.504 MB / 0.7315 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000965/0.1934, allocations: 0.6404 MB / 0.7321 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002937/0.1937, allocations: 113.3 kB / 0.7322 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003927/0.1941, allocations: 259.3 kB / 0.7325 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003785/0.1945, allocations: 219.1 kB / 0.7327 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000144/0.1946, allocations: 64 kB / 0.7327 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.1948, allocations: 83.98 kB / 0.7328 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.1949, allocations: 75.77 kB / 0.7329 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002743/0.1952, allocations: 223.1 kB / 0.7331 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008547/0.1961, allocations: 0.6773 MB / 0.7338 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.1961, allocations: 4 kB / 0.7338 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1961, allocations: 0 / 0.7338 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.643e-05/0.1961, allocations: 0 / 0.7338 GB, free: 11.24 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001624/0.1977, allocations: 0.8788 MB / 0.7346 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.1977, allocations: 15.97 kB / 0.7347 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.674e-05/0.1978, allocations: 62.73 kB / 0.7347 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001308/0.198, allocations: 48.7 kB / 0.7348 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.1993, allocations: 397.5 kB / 0.7351 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.698e-05/0.1993, allocations: 28.88 kB / 0.7352 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.732e-05/0.1994, allocations: 36.38 kB / 0.7352 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007906/0.2002, allocations: 464.8 kB / 0.7356 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.2002, allocations: 3.938 kB / 0.7356 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.879e-05/0.2003, allocations: 15.94 kB / 0.7357 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.457e-06/0.2003, allocations: 8 kB / 0.7357 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007642/0.201, allocations: 386.3 kB / 0.736 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001847/0.2029, allocations: 0.7901 MB / 0.7368 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009125/0.2038, allocations: 487.4 kB / 0.7373 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006527/0.2044, allocations: 397.9 kB / 0.7377 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.2045, allocations: 4 kB / 0.7377 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000737/0.2052, allocations: 451.5 kB / 0.7381 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=44): time 2.895e-06/0.2052, allocations: 4 kB / 0.7381 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of matching and sorting (n=44): time 0.001914/0.2071, allocations: 1.104 MB / 0.7392 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001549/0.2073, allocations: 191.9 kB / 0.7394 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004556/0.2077, allocations: 292.5 kB / 0.7396 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.25e-05/0.2078, allocations: 41.7 kB / 0.7397 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.208, allocations: 168.9 kB / 0.7398 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.2081, allocations: 138.9 kB / 0.74 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002378/0.2083, allocations: 134 kB / 0.7401 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.2085, allocations: 346.8 kB / 0.7404 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008395/0.2094, allocations: 0.5274 MB / 0.7409 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008932/0.2102, allocations: 0.6062 MB / 0.7415 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/0.2117, allocations: 0.9207 MB / 0.7424 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.2117, allocations: 0 / 0.7424 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002018/0.2137, allocations: 1.267 MB / 0.7437 GB, free: 220 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002179/0.2139, allocations: 263.3 kB / 0.7439 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.2139, allocations: 0 / 0.7439 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.2139, allocations: 4 kB / 0.7439 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002861/0.2142, allocations: 63.89 kB / 0.744 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.2142, allocations: 7.984 kB / 0.744 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007482/0.215, allocations: 147.7 kB / 0.7441 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/0.2151, allocations: 71.8 kB / 0.7442 GB, free: 15.61 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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.0003543/0.2155, allocations: 321.4 kB / 0.7445 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.568e-05/0.2155, allocations: 43.75 kB / 0.7445 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.855e-05/0.2156, allocations: 39.48 kB / 0.7446 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.2156, allocations: 4 kB / 0.7446 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.2156, allocations: 0 / 0.7446 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.2156, allocations: 0 / 0.7446 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002029/0.2177, allocations: 1.254 MB / 0.7458 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.2177, allocations: 4 kB / 0.7458 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002494/0.2179, allocations: 63.89 kB / 0.7459 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.2179, allocations: 8 kB / 0.7459 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-05/0.218, allocations: 11.98 kB / 0.7459 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.155e-06/0.218, allocations: 7.938 kB / 0.7459 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.218, allocations: 3.938 kB / 0.7459 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/0.2193, allocations: 0.9038 MB / 0.7468 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.429e-05/0.2194, allocations: 43.62 kB / 0.7468 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.093e-05/0.2194, allocations: 12 kB / 0.7468 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.2197, allocations: 27.91 kB / 0.7469 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.838e-05/0.2198, allocations: 35.94 kB / 0.7469 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.628e-05/0.2198, allocations: 51.92 kB / 0.747 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002191/0.2201, allocations: 203.1 kB / 0.7471 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2201, allocations: 0 / 0.7471 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004548/0.2205, allocations: 103.9 kB / 0.7472 GB, free: 12.27 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * 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.001795/0.2223, allocations: 1.471 MB / 0.7487 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002031/0.2243, allocations: 1.433 MB / 0.7501 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2243, allocations: 0 / 0.7501 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007817/0.2251, allocations: 0.6184 MB / 0.7507 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006104/0.2257, allocations: 99.8 kB / 0.7508 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008351/0.2341, allocations: 5.826 MB / 0.7565 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.2343, allocations: 193 kB / 0.7567 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002832/0.2346, allocations: 91.2 kB / 0.7567 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.2348, allocations: 115.4 kB / 0.7569 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of SimCode: time 9.42e-07/0.2348, allocations: 0 / 0.7569 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3782/0.6129, allocations: 11.09 MB / 0.7677 GB, free: 34.83 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.29, allocations: 10.3 kB / 0.7677 GB, free: 34.82 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor_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_RealExtractor.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.210817458108068] Failed to read output from testmodel.py, exit status != 0: 12.39969804789871 12.415433737 12.216391355 Calling exit ...