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.001321/0.001321, 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.001488/0.001488, allocations: 219.7 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.9993/0.9993, allocations: 150 MB / 463.2 MB, free: 10.5 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.002098/0.002098, allocations: 71.08 kB / 0.6413 GB, free: 10.4 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1885, allocations: 89.16 MB / 0.7283 GB, free: 1.301 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002941/0.1914, allocations: 1.342 MB / 0.7297 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002559/0.194, allocations: 1.591 MB / 0.7312 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001831/0.1942, allocations: 7.938 kB / 0.7312 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001638/0.1943, allocations: 31.61 kB / 0.7312 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001958/0.1945, allocations: 75.38 kB / 0.7313 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001301/0.1958, allocations: 0.495 MB / 0.7318 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008786/0.1967, allocations: 0.6482 MB / 0.7324 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003021/0.197, allocations: 125.3 kB / 0.7326 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004164/0.1974, allocations: 263.3 kB / 0.7328 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004481/0.1979, allocations: 245.2 kB / 0.733 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.198, allocations: 64 kB / 0.7331 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001791/0.1982, allocations: 72 kB / 0.7332 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.1983, allocations: 87.67 kB / 0.7333 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003052/0.1986, allocations: 247 kB / 0.7335 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008292/0.1995, allocations: 0.6889 MB / 0.7342 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1995, allocations: 0 / 0.7342 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1995, allocations: 4 kB / 0.7342 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.471e-05/0.1995, allocations: 0 / 0.7342 GB, free: 11.33 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.00145/0.2009, allocations: 0.8711 MB / 0.735 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.201, allocations: 8.031 kB / 0.735 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.905e-05/0.2011, allocations: 66.72 kB / 0.7351 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001377/0.2012, allocations: 48.7 kB / 0.7351 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.2025, allocations: 413.4 kB / 0.7355 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.211e-05/0.2026, allocations: 24.88 kB / 0.7356 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.812e-05/0.2027, allocations: 36.38 kB / 0.7356 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007/0.2034, allocations: 336.3 kB / 0.7359 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.2034, allocations: 0 / 0.7359 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.646e-05/0.2034, allocations: 8 kB / 0.7359 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.2034, allocations: 7.984 kB / 0.7359 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000668/0.2041, allocations: 253.8 kB / 0.7362 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001809/0.2059, allocations: 0.8797 MB / 0.737 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006815/0.2066, allocations: 355.3 kB / 0.7374 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005314/0.2071, allocations: 257.4 kB / 0.7376 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.2071, allocations: 4 kB / 0.7376 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000606/0.2077, allocations: 323.1 kB / 0.7379 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=44): time 2.194e-06/0.2077, allocations: 0 / 0.7379 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of matching and sorting (n=44): time 0.00166/0.2094, allocations: 0.8412 MB / 0.7387 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/0.2095, allocations: 191.9 kB / 0.7389 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003353/0.2099, allocations: 292.5 kB / 0.7392 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.357e-05/0.2099, allocations: 41.7 kB / 0.7392 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.2101, allocations: 168.9 kB / 0.7394 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.2102, allocations: 134.9 kB / 0.7395 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000239/0.2105, allocations: 134.1 kB / 0.7397 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.2106, allocations: 350.8 kB / 0.74 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006357/0.2113, allocations: 276.7 kB / 0.7403 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006931/0.212, allocations: 361.5 kB / 0.7406 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/0.2133, allocations: 0.9089 MB / 0.7415 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.2133, allocations: 4 kB / 0.7415 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001787/0.2151, allocations: 1.002 MB / 0.7425 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001826/0.2153, allocations: 267.3 kB / 0.7427 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.2153, allocations: 0 / 0.7427 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.659e-05/0.2153, allocations: 8 kB / 0.7427 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/0.2156, allocations: 59.89 kB / 0.7428 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.2156, allocations: 11.94 kB / 0.7428 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007237/0.2163, allocations: 143.6 kB / 0.7429 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/0.2165, allocations: 63.92 kB / 0.743 GB, free: 1.703 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.2168, allocations: 322.1 kB / 0.7433 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.176e-05/0.2169, allocations: 39.77 kB / 0.7433 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.217, allocations: 39.48 kB / 0.7434 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.217, allocations: 4 kB / 0.7434 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.217, allocations: 0 / 0.7434 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.217, allocations: 0 / 0.7434 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/0.2189, allocations: 1.167 MB / 0.7445 GB, free: 16 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2189, allocations: 0 / 0.7445 GB, free: 16 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003126/0.2192, allocations: 67.89 kB / 0.7446 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.2192, allocations: 4 kB / 0.7446 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/0.2193, allocations: 12 kB / 0.7446 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.296e-05/0.2193, allocations: 11.92 kB / 0.7446 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2193, allocations: 0 / 0.7446 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.2206, allocations: 0.7628 MB / 0.7454 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.218e-05/0.2206, allocations: 43.62 kB / 0.7454 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.92e-05/0.2207, allocations: 12 kB / 0.7454 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002321/0.2209, allocations: 31.91 kB / 0.7455 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.221, allocations: 35.94 kB / 0.7455 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.537e-05/0.2211, allocations: 55.81 kB / 0.7455 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002048/0.2213, allocations: 195.1 kB / 0.7457 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2213, allocations: 4 kB / 0.7457 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004241/0.2217, allocations: 108 kB / 0.7458 GB, free: 14.64 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.001647/0.2234, allocations: 1.322 MB / 0.7471 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001637/0.225, allocations: 1.039 MB / 0.7481 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.225, allocations: 4 kB / 0.7481 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006317/0.2256, allocations: 492.8 kB / 0.7486 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000567/0.2262, allocations: 98.66 kB / 0.7487 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007505/0.2337, allocations: 4.641 MB / 0.7532 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004933/0.2342, allocations: 0.7923 MB / 0.754 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002804/0.2345, allocations: 99.17 kB / 0.7541 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.2347, allocations: 111.4 kB / 0.7542 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of SimCode: time 8.32e-07/0.2347, allocations: 0 / 0.7542 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3896/0.6242, allocations: 10.21 MB / 0.7642 GB, free: 35.53 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.23, allocations: 4.922 kB / 0.7642 GB, free: 35.53 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.078919768799096] Failed to read output from testmodel.py, exit status != 0: 12.339645080035552 12.36129786 12.157502824 Calling exit ...