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.001742/0.001742, allocations: 97.11 kB / 19.74 MB, free: 1.871 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.001576/0.001576, allocations: 207.5 kB / 23.04 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.738 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.9864/0.9864, allocations: 150 MB / 463.2 MB, free: 10.18 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.002136/0.002136, allocations: 68.95 kB / 0.6413 GB, free: 9.812 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.1948, allocations: 89.18 MB / 0.7284 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002807/0.1976, allocations: 1.217 MB / 0.7296 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002416/0.2, allocations: 1.584 MB / 0.7311 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.2001, allocations: 7.938 kB / 0.7311 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000152/0.2003, allocations: 35.55 kB / 0.7311 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001896/0.2005, allocations: 71.42 kB / 0.7312 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.2017, allocations: 0.4997 MB / 0.7317 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007831/0.2025, allocations: 0.6521 MB / 0.7323 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003105/0.2028, allocations: 109.3 kB / 0.7324 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003101/0.2031, allocations: 255.4 kB / 0.7327 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003059/0.2034, allocations: 216.7 kB / 0.7329 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.2035, allocations: 64 kB / 0.733 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.2037, allocations: 75.98 kB / 0.733 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.2038, allocations: 83.64 kB / 0.7331 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000247/0.204, allocations: 215.2 kB / 0.7333 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007835/0.2048, allocations: 0.6967 MB / 0.734 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.2048, allocations: 0 / 0.734 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2048, allocations: 0 / 0.734 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.325e-06/0.2048, allocations: 0 / 0.734 GB, free: 10.96 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.001416/0.2062, allocations: 0.875 MB / 0.7348 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.2063, allocations: 8.031 kB / 0.7349 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.746e-05/0.2064, allocations: 58.73 kB / 0.7349 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.2065, allocations: 60.69 kB / 0.735 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/0.2078, allocations: 397.5 kB / 0.7353 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.483e-05/0.2079, allocations: 32.81 kB / 0.7354 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.342e-05/0.208, allocations: 48.36 kB / 0.7354 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007878/0.2087, allocations: 460.8 kB / 0.7359 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.2088, allocations: 0 / 0.7359 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.717e-05/0.2088, allocations: 8 kB / 0.7359 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.2088, allocations: 4 kB / 0.7359 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007594/0.2096, allocations: 394.3 kB / 0.7362 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.2113, allocations: 0.7901 MB / 0.737 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008105/0.2121, allocations: 487.4 kB / 0.7375 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000628/0.2127, allocations: 389.9 kB / 0.7379 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.2128, allocations: 4 kB / 0.7379 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007252/0.2135, allocations: 447.6 kB / 0.7383 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=44): time 2.635e-06/0.2135, allocations: 0 / 0.7383 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of matching and sorting (n=44): time 0.002/0.2155, allocations: 1.116 MB / 0.7394 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001609/0.2156, allocations: 191.9 kB / 0.7396 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003766/0.216, allocations: 292.5 kB / 0.7398 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.844e-05/0.2161, allocations: 41.7 kB / 0.7399 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.2163, allocations: 161 kB / 0.74 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000138/0.2164, allocations: 142.8 kB / 0.7402 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000236/0.2167, allocations: 134.1 kB / 0.7403 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002021/0.2169, allocations: 354.8 kB / 0.7406 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008639/0.2177, allocations: 0.5235 MB / 0.7411 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008644/0.2186, allocations: 0.6101 MB / 0.7417 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.2199, allocations: 0.9167 MB / 0.7426 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.22, allocations: 4 kB / 0.7426 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002127/0.2221, allocations: 1.259 MB / 0.7439 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002043/0.2223, allocations: 263.3 kB / 0.7441 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.2223, allocations: 0 / 0.7441 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/0.2223, allocations: 4 kB / 0.7441 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002923/0.2226, allocations: 67.89 kB / 0.7442 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/0.2226, allocations: 7.938 kB / 0.7442 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008058/0.2234, allocations: 147.6 kB / 0.7443 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/0.2236, allocations: 63.92 kB / 0.7444 GB, free: 15.34 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.0003947/0.224, allocations: 319 kB / 0.7447 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.375e-05/0.224, allocations: 47.7 kB / 0.7447 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.711e-05/0.2241, allocations: 39.48 kB / 0.7448 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.2241, allocations: 4 kB / 0.7448 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.2241, allocations: 0 / 0.7448 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.2242, allocations: 0 / 0.7448 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002004/0.2262, allocations: 1.262 MB / 0.746 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2262, allocations: 0 / 0.746 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/0.2264, allocations: 63.89 kB / 0.7461 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.817e-06/0.2264, allocations: 4 kB / 0.7461 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.927e-05/0.2264, allocations: 12 kB / 0.7461 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-06/0.2265, allocations: 7.938 kB / 0.7461 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2265, allocations: 4 kB / 0.7461 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/0.2279, allocations: 0.9 MB / 0.747 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.514e-05/0.2279, allocations: 39.64 kB / 0.747 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.257e-05/0.228, allocations: 12 kB / 0.747 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.2282, allocations: 27.91 kB / 0.7471 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.2283, allocations: 43.94 kB / 0.7471 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/0.2285, allocations: 55.86 kB / 0.7472 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002954/0.2288, allocations: 195.1 kB / 0.7473 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2288, allocations: 0 / 0.7473 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007576/0.2295, allocations: 119.8 kB / 0.7475 GB, free: 11.98 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.002256/0.2318, allocations: 1.459 MB / 0.7489 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002585/0.2344, allocations: 1.437 MB / 0.7503 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/0.2344, allocations: 0 / 0.7503 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009984/0.2354, allocations: 0.6184 MB / 0.7509 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008693/0.2362, allocations: 91.33 kB / 0.751 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008927/0.2452, allocations: 5.834 MB / 0.7567 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/0.2454, allocations: 189 kB / 0.7569 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002756/0.2456, allocations: 87.2 kB / 0.7569 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001697/0.2458, allocations: 119.4 kB / 0.7571 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of SimCode: time 9.11e-07/0.2458, allocations: 0 / 0.7571 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3724/0.6182, allocations: 11.09 MB / 0.7679 GB, free: 34.89 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.77, allocations: 3.578 kB / 0.7679 GB, free: 34.89 MB / 0.5762 GB " [Timeout remaining time 647] (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.673713058931753] Failed to read output from testmodel.py, exit status != 0: 12.887785610975698 12.903650891 12.695729368 Calling exit ...