Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.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.001719/0.001719, allocations: 113.4 kB / 17.12 MB, free: 6.027 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.002101/0.002101, allocations: 208.3 kB / 20.1 MB, free: 3.074 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.555/1.555, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.9924/0.9924, allocations: 150 MB / 459.5 MB, free: 5.277 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.IntegerExtractor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",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.001982/0.001982, allocations: 66.53 kB / 0.6361 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2154, allocations: 89.14 MB / 0.7232 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002738/0.2182, allocations: 1.129 MB / 0.7243 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002601/0.2208, allocations: 1.545 MB / 0.7258 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.2209, allocations: 4 kB / 0.7258 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001813/0.2211, allocations: 35.61 kB / 0.7258 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001618/0.2212, allocations: 67.48 kB / 0.7259 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.2225, allocations: 492 kB / 0.7263 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007446/0.2233, allocations: 0.5894 MB / 0.7269 GB, free: 224 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003088/0.2236, allocations: 128.4 kB / 0.727 GB, free: 100 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002869/0.2239, allocations: 227.4 kB / 0.7273 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003057/0.2242, allocations: 215.2 kB / 0.7275 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.097e-05/0.2243, allocations: 63.94 kB / 0.7275 GB, free: 15.6 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.2244, allocations: 75.98 kB / 0.7276 GB, free: 15.53 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.2245, allocations: 75.75 kB / 0.7277 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002479/0.2248, allocations: 223.1 kB / 0.7279 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006833/0.2255, allocations: 0.6267 MB / 0.7285 GB, free: 14.61 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.2255, allocations: 7.938 kB / 0.7285 GB, free: 14.6 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2255, allocations: 0 / 0.7285 GB, free: 14.6 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.2255, allocations: 0 / 0.7285 GB, free: 14.6 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001054/0.2265, allocations: 0.7509 MB / 0.7292 GB, free: 13.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.2266, allocations: 8.031 kB / 0.7292 GB, free: 13.76 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.034e-05/0.2266, allocations: 54.73 kB / 0.7293 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.2268, allocations: 48.7 kB / 0.7293 GB, free: 13.65 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.2279, allocations: 412 kB / 0.7297 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.344e-05/0.2279, allocations: 24.81 kB / 0.7298 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.15e-05/0.228, allocations: 40.36 kB / 0.7298 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004438/0.2284, allocations: 247.5 kB / 0.73 GB, free: 12.9 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.2284, allocations: 7.984 kB / 0.73 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.2285, allocations: 12 kB / 0.7301 GB, free: 12.88 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.2285, allocations: 8 kB / 0.7301 GB, free: 12.87 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002876/0.2288, allocations: 153.7 kB / 0.7302 GB, free: 12.72 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00141/0.2302, allocations: 0.8492 MB / 0.731 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003515/0.2305, allocations: 210.7 kB / 0.7312 GB, free: 11.61 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002899/0.2308, allocations: 202.2 kB / 0.7314 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.2308, allocations: 0 / 0.7314 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003649/0.2312, allocations: 239.8 kB / 0.7317 GB, free: 11.15 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 1.392e-06/0.2312, allocations: 4 kB / 0.7317 GB, free: 11.14 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.0007787/0.232, allocations: 429.5 kB / 0.7321 GB, free: 10.72 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.479e-05/0.2321, allocations: 114.7 kB / 0.7322 GB, free: 10.59 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003606/0.2324, allocations: 332.3 kB / 0.7325 GB, free: 10.25 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.852e-05/0.2325, allocations: 41.7 kB / 0.7325 GB, free: 10.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.2327, allocations: 184.7 kB / 0.7327 GB, free: 10.02 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.962e-05/0.2328, allocations: 63.58 kB / 0.7328 GB, free: 9.957 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002341/0.233, allocations: 142 kB / 0.7329 GB, free: 9.809 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.2332, allocations: 346.8 kB / 0.7332 GB, free: 9.461 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003917/0.2335, allocations: 208.7 kB / 0.7334 GB, free: 9.258 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004699/0.234, allocations: 328.7 kB / 0.7338 GB, free: 8.883 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007049/0.2347, allocations: 0.5271 MB / 0.7343 GB, free: 8.285 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.2347, allocations: 0 / 0.7343 GB, free: 8.285 MB / 0.545 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001201/0.2359, allocations: 0.7405 MB / 0.735 GB, free: 7.516 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.236, allocations: 124.2 kB / 0.7351 GB, free: 7.371 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.236, allocations: 4 kB / 0.7351 GB, free: 7.367 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.2361, allocations: 4 kB / 0.7351 GB, free: 7.363 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.2363, allocations: 63.84 kB / 0.7352 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.2363, allocations: 8.344 kB / 0.7352 GB, free: 7.293 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006967/0.237, allocations: 135.5 kB / 0.7353 GB, free: 7.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.2371, allocations: 71.84 kB / 0.7354 GB, free: 7.09 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conInt.y,conInt3.y,conInt2.y,extIndInt.u[4],extIndInt.u[1],extIndInt1.u[4],extIndInt2.u[4],extIndInt3.u[4],extIndInt4.u[4],extIndInt1.u[1],extIndInt2.u[1],extIndInt3.u[1],extIndInt4.u[1],intPul3.booPul.y,$PRE.intPul3.booPul.y,intPul3.y,intPul2.booPul.y,$PRE.intPul2.booPul.y,intPul2.y,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul.booPul.y,$PRE.intPul.booPul.y,extIndInt4.y,extIndInt4.u[3],extIndInt4.u[2],extIndInt3.y,extIndInt3.u[3],extIndInt3.u[2],extIndInt2.y,extIndInt2.u[3],extIndInt2.u[2],extIndInt1.y,extIndInt1.u[3],extIndInt1.u[2],extIndInt.u[3],extIndInt.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * 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.0002492/0.2374, allocations: 193.7 kB / 0.7356 GB, free: 6.891 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.47e-05/0.2374, allocations: 35.77 kB / 0.7356 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005831/0.238, allocations: 361.2 kB / 0.736 GB, free: 6.496 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.259e-06/0.238, allocations: 7.938 kB / 0.736 GB, free: 6.488 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.238, allocations: 0 / 0.736 GB, free: 6.488 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.238, allocations: 7.984 kB / 0.736 GB, free: 6.48 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009642/0.239, allocations: 0.7452 MB / 0.7367 GB, free: 5.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.239, allocations: 3.938 kB / 0.7367 GB, free: 5.676 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.2391, allocations: 43.92 kB / 0.7367 GB, free: 5.633 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.2391, allocations: 0 / 0.7367 GB, free: 5.633 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.2391, allocations: 15.98 kB / 0.7368 GB, free: 5.617 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.2391, allocations: 4 kB / 0.7368 GB, free: 5.613 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2391, allocations: 0 / 0.7368 GB, free: 5.613 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005362/0.2397, allocations: 432.2 kB / 0.7372 GB, free: 5.176 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.78e-05/0.2398, allocations: 108.8 kB / 0.7373 GB, free: 5.051 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.192e-05/0.2398, allocations: 11.94 kB / 0.7373 GB, free: 5.039 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.2399, allocations: 7.984 kB / 0.7373 GB, free: 5.031 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.078e-05/0.24, allocations: 23.97 kB / 0.7373 GB, free: 5.008 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.24, allocations: 19.94 kB / 0.7373 GB, free: 4.988 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002338/0.2403, allocations: 211.1 kB / 0.7375 GB, free: 4.781 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2403, allocations: 4 kB / 0.7375 GB, free: 4.777 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004311/0.2407, allocations: 91.98 kB / 0.7376 GB, free: 4.688 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: 32 (extIndInt.u[2],extIndInt.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt1.u[2],extIndInt1.u[3],extIndInt1.y,extIndInt2.u[2],extIndInt2.u[3],extIndInt2.y,extIndInt3.u[2],extIndInt3.u[3],extIndInt3.y,extIndInt4.u[2],extIndInt4.u[3],extIndInt4.y,intPul.booPul.y,intPul1.booPul.y,intPul2.y,intPul2.booPul.y,intPul3.y,intPul3.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * 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.0009873/0.2417, allocations: 0.9959 MB / 0.7386 GB, free: 3.66 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009939/0.2427, allocations: 0.6145 MB / 0.7392 GB, free: 2.996 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.2427, allocations: 0 / 0.7392 GB, free: 2.996 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002217/0.2429, allocations: 135.8 kB / 0.7393 GB, free: 2.863 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006091/0.2435, allocations: 77.8 kB / 0.7394 GB, free: 2.789 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005753/0.2493, allocations: 3.82 MB / 0.7431 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004471/0.2497, allocations: 0.7838 MB / 0.7439 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001652/0.2499, allocations: 75.22 kB / 0.744 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/0.25, allocations: 111.4 kB / 0.7441 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.25, allocations: 0 / 0.7441 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03565/0.2857, allocations: 8.468 MB / 0.7523 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.397/8.682, allocations: 16.25 kB / 0.7524 GB, free: 5.5 MB / 0.5606 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_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_IntegerExtractor.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.744643425103277] Failed to read output from testmodel.py, exit status != 0: 8.768984944093972 8.79154054 8.562089132 Calling exit ...