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.00132/0.00132, allocations: 112.1 kB / 17.12 MB, free: 5.945 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.001392/0.001392, allocations: 209 kB / 20.09 MB, free: 2.996 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.554/1.554, 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 1.033/1.033, allocations: 150 MB / 459.5 MB, free: 5.254 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.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.002003/0.002003, allocations: 69.77 kB / 0.6361 GB, free: 30.35 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1471, allocations: 89.14 MB / 0.7232 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002711/0.1498, allocations: 1.33 MB / 0.7245 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002332/0.1521, allocations: 1.591 MB / 0.726 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.1522, allocations: 3.938 kB / 0.726 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001423/0.1524, allocations: 31.61 kB / 0.7261 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001517/0.1525, allocations: 79.38 kB / 0.7261 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.1537, allocations: 0.5003 MB / 0.7266 GB, free: 364 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007187/0.1544, allocations: 0.6482 MB / 0.7273 GB, free: 15.71 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003379/0.1547, allocations: 136.7 kB / 0.7274 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002998/0.155, allocations: 259.4 kB / 0.7276 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003343/0.1554, allocations: 239.2 kB / 0.7279 GB, free: 15.08 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.955e-05/0.1555, allocations: 64 kB / 0.7279 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.1556, allocations: 83.97 kB / 0.728 GB, free: 14.94 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.1557, allocations: 83.64 kB / 0.7281 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002552/0.156, allocations: 243 kB / 0.7283 GB, free: 14.62 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007336/0.1567, allocations: 0.685 MB / 0.729 GB, free: 13.93 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1567, allocations: 4 kB / 0.729 GB, free: 13.93 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1567, allocations: 0 / 0.729 GB, free: 13.93 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.164e-05/0.1567, allocations: 0 / 0.729 GB, free: 13.93 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001385/0.1581, allocations: 0.9483 MB / 0.7299 GB, free: 12.87 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.1582, allocations: 16.02 kB / 0.7299 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.716e-05/0.1582, allocations: 58.73 kB / 0.73 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.1583, allocations: 48.7 kB / 0.73 GB, free: 12.74 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.1597, allocations: 487.9 kB / 0.7305 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.927e-05/0.1597, allocations: 28.92 kB / 0.7305 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.421e-05/0.1598, allocations: 40.38 kB / 0.7306 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006753/0.1605, allocations: 325.1 kB / 0.7309 GB, free: 11.84 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.1605, allocations: 0 / 0.7309 GB, free: 11.84 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.809e-05/0.1605, allocations: 8 kB / 0.7309 GB, free: 11.83 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1605, allocations: 4 kB / 0.7309 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006883/0.1612, allocations: 258 kB / 0.7311 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001637/0.1629, allocations: 0.9083 MB / 0.732 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007057/0.1636, allocations: 359.2 kB / 0.7324 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005175/0.1641, allocations: 254.1 kB / 0.7326 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.1641, allocations: 4 kB / 0.7326 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006121/0.1647, allocations: 323.1 kB / 0.7329 GB, free: 9.672 MB / 0.545 GB Notification: Performance of pre-optimization done (n=44): time 2.073e-06/0.1647, allocations: 3.938 kB / 0.7329 GB, free: 9.668 MB / 0.545 GB Notification: Performance of matching and sorting (n=44): time 0.001716/0.1664, allocations: 0.8411 MB / 0.7337 GB, free: 8.789 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001368/0.1666, allocations: 195.9 kB / 0.7339 GB, free: 8.555 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003224/0.1669, allocations: 292.4 kB / 0.7342 GB, free: 8.258 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7e-05/0.167, allocations: 45.7 kB / 0.7342 GB, free: 8.207 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.1671, allocations: 161 kB / 0.7344 GB, free: 8.047 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.1673, allocations: 138.9 kB / 0.7345 GB, free: 7.91 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002557/0.1675, allocations: 138.1 kB / 0.7347 GB, free: 7.766 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.1677, allocations: 346.8 kB / 0.735 GB, free: 7.418 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006379/0.1683, allocations: 268.8 kB / 0.7352 GB, free: 7.156 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007199/0.169, allocations: 365.8 kB / 0.7356 GB, free: 6.762 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/0.1703, allocations: 0.9128 MB / 0.7365 GB, free: 5.734 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1703, allocations: 0 / 0.7365 GB, free: 5.734 MB / 0.545 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001809/0.1722, allocations: 1.006 MB / 0.7375 GB, free: 4.668 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001717/0.1723, allocations: 260.9 kB / 0.7377 GB, free: 4.359 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1723, allocations: 4 kB / 0.7377 GB, free: 4.355 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.1724, allocations: 4 kB / 0.7377 GB, free: 4.352 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/0.1726, allocations: 63.89 kB / 0.7378 GB, free: 4.289 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.1727, allocations: 7.938 kB / 0.7378 GB, free: 4.281 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007817/0.1734, allocations: 143.7 kB / 0.7379 GB, free: 4.141 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/0.1736, allocations: 67.92 kB / 0.738 GB, free: 4.074 MB / 0.545 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.0003003/0.1739, allocations: 322.1 kB / 0.7383 GB, free: 3.719 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.021e-05/0.1739, allocations: 39.77 kB / 0.7383 GB, free: 3.68 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.467e-05/0.174, allocations: 39.48 kB / 0.7384 GB, free: 3.637 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.174, allocations: 4 kB / 0.7384 GB, free: 3.633 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.174, allocations: 0 / 0.7384 GB, free: 3.633 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.174, allocations: 0 / 0.7384 GB, free: 3.633 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001892/0.1759, allocations: 1.19 MB / 0.7395 GB, free: 2.355 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1759, allocations: 0 / 0.7395 GB, free: 2.355 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002629/0.1762, allocations: 75.83 kB / 0.7396 GB, free: 2.281 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1762, allocations: 0 / 0.7396 GB, free: 2.281 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.385e-05/0.1762, allocations: 15.98 kB / 0.7396 GB, free: 2.266 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.1762, allocations: 3.938 kB / 0.7396 GB, free: 2.262 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1762, allocations: 0 / 0.7396 GB, free: 2.262 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/0.1774, allocations: 0.772 MB / 0.7404 GB, free: 1.445 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.226e-05/0.1775, allocations: 108.8 kB / 0.7405 GB, free: 1.32 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.607e-05/0.1776, allocations: 16 kB / 0.7405 GB, free: 1.305 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/0.1778, allocations: 27.91 kB / 0.7405 GB, free: 1.277 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.065e-05/0.1779, allocations: 35.95 kB / 0.7406 GB, free: 1.242 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.556e-05/0.178, allocations: 59.86 kB / 0.7406 GB, free: 1.184 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002082/0.1782, allocations: 199.1 kB / 0.7408 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1782, allocations: 3.938 kB / 0.7408 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004309/0.1786, allocations: 111.9 kB / 0.7409 GB, free: 0.875 MB / 0.545 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.00162/0.1802, allocations: 1.318 MB / 0.7422 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001782/0.182, allocations: 1.047 MB / 0.7432 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.182, allocations: 0 / 0.7432 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006554/0.1827, allocations: 496.8 kB / 0.7437 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005939/0.1833, allocations: 100.9 kB / 0.7438 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007122/0.1904, allocations: 4.656 MB / 0.7484 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004969/0.1909, allocations: 0.7963 MB / 0.7491 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000249/0.1911, allocations: 91.2 kB / 0.7492 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001672/0.1913, allocations: 111.4 kB / 0.7493 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of SimCode: time 5.31e-07/0.1913, allocations: 0 / 0.7493 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03704/0.2283, allocations: 9.846 MB / 0.7589 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.865/9.093, allocations: 15.5 kB / 0.759 GB, free: 14.16 MB / 0.5762 GB " [Timeout remaining time 651] (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: 13.302413031226024] Failed to read output from testmodel.py, exit status != 0: 9.166427433025092 9.184351402999999 9.024595578 Calling exit ...