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.001793/0.001793, 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.002262/0.002262, allocations: 209 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.473/1.473, 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.9766/0.9766, allocations: 149.9 MB / 463 MB, free: 10.36 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.002149/0.002149, allocations: 63.19 kB / 0.6411 GB, free: 10.13 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1782, allocations: 89.18 MB / 0.7282 GB, free: 1.016 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002656/0.1808, allocations: 1.224 MB / 0.7294 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002335/0.1832, allocations: 1.572 MB / 0.7309 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.1833, allocations: 4 kB / 0.7309 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001641/0.1835, allocations: 31.55 kB / 0.7309 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001834/0.1837, allocations: 87.36 kB / 0.731 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.185, allocations: 494.3 kB / 0.7315 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007938/0.1858, allocations: 0.652 MB / 0.7321 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002891/0.1861, allocations: 113.3 kB / 0.7322 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002949/0.1864, allocations: 255.4 kB / 0.7325 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003393/0.1867, allocations: 225.7 kB / 0.7327 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.1868, allocations: 68 kB / 0.7328 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00016/0.187, allocations: 75.98 kB / 0.7328 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.1871, allocations: 79.77 kB / 0.7329 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002694/0.1874, allocations: 215.1 kB / 0.7331 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007938/0.1882, allocations: 0.6851 MB / 0.7338 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.207e-06/0.1882, allocations: 4 kB / 0.7338 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.054e-06/0.1882, allocations: 0 / 0.7338 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.1882, allocations: 0 / 0.7338 GB, free: 11.26 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.001433/0.1896, allocations: 0.8788 MB / 0.7346 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.1897, allocations: 12.03 kB / 0.7346 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.986e-05/0.1897, allocations: 58.73 kB / 0.7347 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.1899, allocations: 56.62 kB / 0.7348 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/0.1912, allocations: 401.5 kB / 0.7351 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.244e-05/0.1912, allocations: 24.88 kB / 0.7352 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.728e-05/0.1913, allocations: 44.36 kB / 0.7352 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007823/0.1921, allocations: 460.8 kB / 0.7356 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.1921, allocations: 0 / 0.7356 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.367e-05/0.1921, allocations: 12 kB / 0.7357 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.527e-06/0.1921, allocations: 4 kB / 0.7357 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008066/0.1929, allocations: 394.2 kB / 0.736 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/0.1947, allocations: 0.7862 MB / 0.7368 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007697/0.1954, allocations: 495.5 kB / 0.7373 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006066/0.1961, allocations: 393.8 kB / 0.7377 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.1961, allocations: 4 kB / 0.7377 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007368/0.1968, allocations: 447.5 kB / 0.7381 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=44): time 2.024e-06/0.1968, allocations: 0 / 0.7381 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=44): time 0.001863/0.1987, allocations: 1.104 MB / 0.7392 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000137/0.1988, allocations: 191.9 kB / 0.7393 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003533/0.1992, allocations: 292.5 kB / 0.7396 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.808e-05/0.1992, allocations: 45.7 kB / 0.7397 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.1994, allocations: 165 kB / 0.7398 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.1995, allocations: 138.9 kB / 0.74 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002255/0.1998, allocations: 134.1 kB / 0.7401 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001936/0.2, allocations: 346.8 kB / 0.7404 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008458/0.2008, allocations: 0.5274 MB / 0.7409 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008981/0.2017, allocations: 0.614 MB / 0.7415 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/0.203, allocations: 0.9128 MB / 0.7424 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.203, allocations: 4 kB / 0.7424 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001983/0.205, allocations: 1.259 MB / 0.7437 GB, free: 248 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001918/0.2052, allocations: 263.3 kB / 0.7439 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.2052, allocations: 4 kB / 0.7439 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.2052, allocations: 4 kB / 0.7439 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.2055, allocations: 71.77 kB / 0.744 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.2055, allocations: 4 kB / 0.744 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000715/0.2063, allocations: 143.7 kB / 0.7441 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.2064, allocations: 63.92 kB / 0.7442 GB, free: 15.64 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.0003312/0.2067, allocations: 337.3 kB / 0.7445 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.137e-05/0.2068, allocations: 39.77 kB / 0.7445 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.854e-05/0.2068, allocations: 35.48 kB / 0.7446 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.2068, allocations: 8 kB / 0.7446 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.2069, allocations: 0 / 0.7446 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2069, allocations: 0 / 0.7446 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001954/0.2088, allocations: 1.262 MB / 0.7458 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.2088, allocations: 3.938 kB / 0.7458 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002475/0.2091, allocations: 63.89 kB / 0.7459 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.2091, allocations: 4 kB / 0.7459 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.055e-05/0.2091, allocations: 12 kB / 0.7459 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.2091, allocations: 3.938 kB / 0.7459 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.2091, allocations: 0 / 0.7459 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/0.2104, allocations: 0.9077 MB / 0.7468 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.452e-05/0.2104, allocations: 43.64 kB / 0.7468 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.734e-05/0.2105, allocations: 8 kB / 0.7468 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.2107, allocations: 31.91 kB / 0.7469 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.39e-05/0.2108, allocations: 39.94 kB / 0.7469 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.219e-05/0.2109, allocations: 47.94 kB / 0.747 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002176/0.2111, allocations: 203.1 kB / 0.7471 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2111, allocations: 0 / 0.7471 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004406/0.2115, allocations: 104 kB / 0.7472 GB, free: 12.29 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.001765/0.2133, allocations: 1.467 MB / 0.7487 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001927/0.2152, allocations: 1.433 MB / 0.7501 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2152, allocations: 0 / 0.7501 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007743/0.216, allocations: 0.6145 MB / 0.7507 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006041/0.2166, allocations: 101.2 kB / 0.7508 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008148/0.2247, allocations: 5.834 MB / 0.7565 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.2249, allocations: 193 kB / 0.7567 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002461/0.2252, allocations: 91.2 kB / 0.7567 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.2254, allocations: 123.3 kB / 0.7569 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of SimCode: time 1.403e-06/0.2254, allocations: 0 / 0.7569 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4352/0.6605, allocations: 11.08 MB / 0.7677 GB, free: 34.41 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.25, allocations: 5.578 kB / 0.7677 GB, free: 34.41 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.039012724068016] Failed to read output from testmodel.py, exit status != 0: 12.367256247904152 12.394064024 12.201050207 Calling exit ...