Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.00159/0.00159, allocations: 114 kB / 17.12 MB, free: 6.008 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.001585/0.001585, allocations: 211.2 kB / 20.09 MB, free: 3.055 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.617/1.617, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.9989/0.9989, allocations: 150 MB / 459.5 MB, free: 5.293 MB / 350.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.RealExtractSignal,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",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.002024/0.002024, allocations: 71.11 kB / 0.6361 GB, free: 30.44 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1935, allocations: 89.13 MB / 0.7232 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.00228/0.1957, allocations: 0.9895 MB / 0.7241 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001964/0.1977, allocations: 1.367 MB / 0.7255 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.845e-05/0.1978, allocations: 0 / 0.7255 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.1979, allocations: 23.73 kB / 0.7255 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.198, allocations: 43.59 kB / 0.7255 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007617/0.1988, allocations: 282.6 kB / 0.7258 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004847/0.1993, allocations: 379.3 kB / 0.7262 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/0.1994, allocations: 61.58 kB / 0.7262 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000201/0.1996, allocations: 151.6 kB / 0.7264 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.1998, allocations: 135.5 kB / 0.7265 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.775e-05/0.1999, allocations: 36 kB / 0.7265 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.2, allocations: 55.97 kB / 0.7266 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.524e-05/0.2001, allocations: 59.81 kB / 0.7266 GB, free: 496 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.2003, allocations: 143.3 kB / 0.7268 GB, free: 352 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004765/0.2007, allocations: 402.6 kB / 0.7272 GB, free: 15.95 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2007, allocations: 0 / 0.7272 GB, free: 15.95 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2008, allocations: 0 / 0.7272 GB, free: 15.95 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.749e-06/0.2008, allocations: 0 / 0.7272 GB, free: 15.95 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001081/0.2018, allocations: 0.6242 MB / 0.7278 GB, free: 15.26 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.2019, allocations: 15.97 kB / 0.7278 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.417e-05/0.2019, allocations: 46.73 kB / 0.7278 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003474/0.2023, allocations: 64.77 kB / 0.7279 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.2033, allocations: 366.9 kB / 0.7282 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.2033, allocations: 20.31 kB / 0.7283 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.789e-05/0.2034, allocations: 20.38 kB / 0.7283 GB, free: 14.69 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005026/0.2039, allocations: 214.7 kB / 0.7285 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.2039, allocations: 0 / 0.7285 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.2039, allocations: 4 kB / 0.7285 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.2039, allocations: 4 kB / 0.7285 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005164/0.2044, allocations: 143.7 kB / 0.7286 GB, free: 14.31 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.2057, allocations: 0.9071 MB / 0.7295 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003744/0.2061, allocations: 153 kB / 0.7297 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002604/0.2063, allocations: 88.3 kB / 0.7297 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.2064, allocations: 0 / 0.7297 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004703/0.2068, allocations: 171.5 kB / 0.7299 GB, free: 12.84 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.2068, allocations: 4 kB / 0.7299 GB, free: 12.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0009693/0.2078, allocations: 257.3 kB / 0.7302 GB, free: 12.58 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.2079, allocations: 162.2 kB / 0.7303 GB, free: 12.39 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002617/0.2082, allocations: 221 kB / 0.7305 GB, free: 12.16 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.5e-05/0.2082, allocations: 33.98 kB / 0.7306 GB, free: 12.12 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.2084, allocations: 152.3 kB / 0.7307 GB, free: 11.97 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.739e-05/0.2084, allocations: 31.73 kB / 0.7307 GB, free: 11.94 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.2085, allocations: 53.69 kB / 0.7308 GB, free: 11.88 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002039/0.2087, allocations: 338.8 kB / 0.7311 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003541/0.2091, allocations: 95.92 kB / 0.7312 GB, free: 11.45 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004042/0.2095, allocations: 183.1 kB / 0.7314 GB, free: 11.24 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006444/0.2101, allocations: 274.9 kB / 0.7316 GB, free: 10.93 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2101, allocations: 0 / 0.7316 GB, free: 10.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009648/0.2111, allocations: 384.7 kB / 0.732 GB, free: 10.54 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.315e-05/0.2112, allocations: 63.39 kB / 0.7321 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.2112, allocations: 0 / 0.7321 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.2112, allocations: 4 kB / 0.7321 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.2114, allocations: 35.91 kB / 0.7321 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.2114, allocations: 0 / 0.7321 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000459/0.2118, allocations: 76.34 kB / 0.7322 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.811e-05/0.2119, allocations: 15.98 kB / 0.7322 GB, free: 10.33 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 2 * 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.0001997/0.2121, allocations: 153.7 kB / 0.7323 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.984e-05/0.2121, allocations: 19.89 kB / 0.7324 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.948e-05/0.2122, allocations: 21.25 kB / 0.7324 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.2122, allocations: 7.984 kB / 0.7324 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.2122, allocations: 4 kB / 0.7324 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.2122, allocations: 3.984 kB / 0.7324 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/0.2125, allocations: 253.5 kB / 0.7326 GB, free: 9.816 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.2125, allocations: 4 kB / 0.7326 GB, free: 9.812 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.2127, allocations: 23.97 kB / 0.7327 GB, free: 9.789 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.2127, allocations: 0 / 0.7327 GB, free: 9.789 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.2127, allocations: 8 kB / 0.7327 GB, free: 9.781 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.2127, allocations: 0 / 0.7327 GB, free: 9.781 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/0.2127, allocations: 11.92 kB / 0.7327 GB, free: 9.77 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006455/0.2133, allocations: 240.1 kB / 0.7329 GB, free: 9.508 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.948e-05/0.2134, allocations: 101 kB / 0.733 GB, free: 9.391 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.2134, allocations: 0 / 0.733 GB, free: 9.391 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.2136, allocations: 23.97 kB / 0.733 GB, free: 9.367 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.465e-05/0.2137, allocations: 19.92 kB / 0.733 GB, free: 9.348 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.2137, allocations: 7.938 kB / 0.733 GB, free: 9.34 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001725/0.2139, allocations: 164.5 kB / 0.7332 GB, free: 9.176 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.2139, allocations: 0 / 0.7332 GB, free: 9.176 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003145/0.2142, allocations: 47.89 kB / 0.7333 GB, free: 9.129 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001034/0.2152, allocations: 0.7873 MB / 0.734 GB, free: 8.301 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008362/0.216, allocations: 310.5 kB / 0.7343 GB, free: 7.973 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.216, allocations: 0 / 0.7343 GB, free: 7.973 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002959/0.2163, allocations: 76.5 kB / 0.7344 GB, free: 7.898 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.2167, allocations: 48.28 kB / 0.7344 GB, free: 7.852 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004328/0.221, allocations: 2.552 MB / 0.7369 GB, free: 5.129 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.2214, allocations: 0.7476 MB / 0.7377 GB, free: 4.355 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001286/0.2216, allocations: 37.47 kB / 0.7377 GB, free: 4.316 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.2217, allocations: 67.41 kB / 0.7378 GB, free: 4.25 MB / 0.545 GB Notification: Performance of SimCode: time 5.01e-07/0.2217, allocations: 0 / 0.7378 GB, free: 4.25 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.029/0.2507, allocations: 5.241 MB / 0.7429 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.415/8.666, allocations: 8.328 kB / 0.7429 GB, free: 15.18 MB / 0.5606 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_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_RealExtractSignal.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.902041504858062] Failed to read output from testmodel.py, exit status != 0: 8.744664679048583 8.765950142 8.561029164 Calling exit ...