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.001416/0.001416, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.001436/0.001436, allocations: 219.3 kB / 23 MB, free: 5.004 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.034/1.034, allocations: 150 MB / 463.2 MB, free: 10.46 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.002036/0.002036, allocations: 61.3 kB / 0.6413 GB, free: 10.37 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1805, allocations: 89.18 MB / 0.7284 GB, free: 1.254 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002629/0.1832, allocations: 1.326 MB / 0.7297 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002166/0.1853, allocations: 1.588 MB / 0.7312 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.1854, allocations: 7.938 kB / 0.7312 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001375/0.1856, allocations: 31.55 kB / 0.7312 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001466/0.1857, allocations: 79.44 kB / 0.7313 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.1869, allocations: 0.4949 MB / 0.7318 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000719/0.1876, allocations: 0.6482 MB / 0.7324 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002648/0.1879, allocations: 121.3 kB / 0.7326 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002899/0.1882, allocations: 263.3 kB / 0.7328 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003569/0.1885, allocations: 251.1 kB / 0.733 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.632e-05/0.1886, allocations: 64 kB / 0.7331 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.1888, allocations: 83.92 kB / 0.7332 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.999e-05/0.1889, allocations: 75.77 kB / 0.7333 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002713/0.1891, allocations: 254.9 kB / 0.7335 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007023/0.1898, allocations: 0.6773 MB / 0.7342 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1899, allocations: 0 / 0.7342 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1899, allocations: 4 kB / 0.7342 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.104e-06/0.1899, allocations: 0 / 0.7342 GB, free: 11.3 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.001299/0.1912, allocations: 0.875 MB / 0.735 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.1912, allocations: 16.02 kB / 0.735 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.847e-05/0.1913, allocations: 54.73 kB / 0.7351 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.1914, allocations: 48.7 kB / 0.7351 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.1927, allocations: 409.4 kB / 0.7355 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.04e-05/0.1928, allocations: 28.88 kB / 0.7356 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.744e-05/0.1928, allocations: 40.38 kB / 0.7356 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006618/0.1935, allocations: 324.3 kB / 0.7359 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.1935, allocations: 4 kB / 0.7359 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.9e-05/0.1935, allocations: 15.98 kB / 0.7359 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.1936, allocations: 8 kB / 0.7359 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006371/0.1942, allocations: 245.8 kB / 0.7362 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/0.1959, allocations: 0.8836 MB / 0.737 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006792/0.1965, allocations: 354.4 kB / 0.7374 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005243/0.1971, allocations: 259.7 kB / 0.7376 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.1971, allocations: 8 kB / 0.7376 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000573/0.1977, allocations: 315.1 kB / 0.7379 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=44): time 1.934e-06/0.1977, allocations: 4 kB / 0.7379 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of matching and sorting (n=44): time 0.001636/0.1993, allocations: 0.8373 MB / 0.7387 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/0.1994, allocations: 191.9 kB / 0.7389 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003302/0.1998, allocations: 292.5 kB / 0.7392 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.914e-05/0.1998, allocations: 45.7 kB / 0.7392 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.2, allocations: 172.9 kB / 0.7394 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.2001, allocations: 130.9 kB / 0.7395 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002459/0.2004, allocations: 134.1 kB / 0.7397 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.2005, allocations: 350.8 kB / 0.74 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005996/0.2011, allocations: 276.8 kB / 0.7403 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006574/0.2018, allocations: 361.4 kB / 0.7406 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.203, allocations: 0.909 MB / 0.7415 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.203, allocations: 0 / 0.7415 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001778/0.2048, allocations: 1.006 MB / 0.7425 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001735/0.205, allocations: 259.2 kB / 0.7427 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.205, allocations: 4 kB / 0.7427 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.205, allocations: 4 kB / 0.7427 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.2053, allocations: 72.17 kB / 0.7428 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.2053, allocations: 7.938 kB / 0.7428 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006853/0.206, allocations: 139.6 kB / 0.7429 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/0.2061, allocations: 71.92 kB / 0.743 GB, free: 1.668 MB / 0.5606 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.0003283/0.2064, allocations: 318.1 kB / 0.7433 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.307e-05/0.2065, allocations: 43.75 kB / 0.7434 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.2066, allocations: 39.48 kB / 0.7434 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.2066, allocations: 12 kB / 0.7434 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.2066, allocations: 0 / 0.7434 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2066, allocations: 0 / 0.7434 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001951/0.2086, allocations: 1.164 MB / 0.7445 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.2086, allocations: 0 / 0.7445 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.2088, allocations: 63.89 kB / 0.7446 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.2088, allocations: 0 / 0.7446 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.2088, allocations: 19.98 kB / 0.7446 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/0.2088, allocations: 3.938 kB / 0.7446 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.2088, allocations: 0 / 0.7446 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.2101, allocations: 0.7667 MB / 0.7454 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.532e-05/0.2101, allocations: 43.62 kB / 0.7454 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.877e-05/0.2102, allocations: 8 kB / 0.7454 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/0.2104, allocations: 35.91 kB / 0.7455 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.2105, allocations: 35.94 kB / 0.7455 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-05/0.2106, allocations: 59.81 kB / 0.7455 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002198/0.2108, allocations: 195.1 kB / 0.7457 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2108, allocations: 0 / 0.7457 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005095/0.2113, allocations: 111.9 kB / 0.7458 GB, free: 14.6 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.001573/0.2129, allocations: 1.314 MB / 0.7471 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001605/0.2145, allocations: 1.042 MB / 0.7481 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2145, allocations: 0 / 0.7481 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006198/0.2151, allocations: 0.4896 MB / 0.7486 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000572/0.2157, allocations: 102.5 kB / 0.7487 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00717/0.2229, allocations: 4.637 MB / 0.7532 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/0.2233, allocations: 0.8001 MB / 0.754 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002569/0.2236, allocations: 95.19 kB / 0.7541 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.2238, allocations: 111.4 kB / 0.7542 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of SimCode: time 1.533e-06/0.2238, allocations: 0 / 0.7542 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4268/0.6506, allocations: 10.2 MB / 0.7642 GB, free: 35.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/12.1, allocations: 16.33 kB / 0.7642 GB, free: 35.49 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.02907324699845] Failed to read output from testmodel.py, exit status != 0: 12.215141192002193 12.23811932 12.044459222 Calling exit ...