Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.0014/0.0014, 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.001548/0.001548, allocations: 213.4 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.49/1.49, 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 1.007/1.007, 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.RealExtractSignal,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",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.003429/0.003429, allocations: 67.77 kB / 0.6411 GB, free: 10.16 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2307, allocations: 89.17 MB / 0.7282 GB, free: 1.055 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.003449/0.2341, allocations: 0.9404 MB / 0.7291 GB, free: 116 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003115/0.2372, allocations: 1.354 MB / 0.7304 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.2373, allocations: 0 / 0.7304 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.2375, allocations: 23.73 kB / 0.7304 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000162/0.2376, allocations: 39.66 kB / 0.7305 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.2388, allocations: 278.3 kB / 0.7307 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007406/0.2396, allocations: 395.2 kB / 0.7311 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002109/0.2398, allocations: 41.73 kB / 0.7311 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003781/0.2402, allocations: 159.6 kB / 0.7313 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003429/0.2405, allocations: 115.6 kB / 0.7314 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002123/0.2407, allocations: 36 kB / 0.7314 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001881/0.2409, allocations: 47.92 kB / 0.7315 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.241, allocations: 59.78 kB / 0.7315 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002295/0.2413, allocations: 119.5 kB / 0.7317 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007461/0.242, allocations: 402.5 kB / 0.732 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.242, allocations: 0 / 0.732 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.503e-06/0.242, allocations: 4 kB / 0.732 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.242, allocations: 0 / 0.732 GB, free: 13.07 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001584/0.2436, allocations: 0.5549 MB / 0.7326 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.2436, allocations: 8.031 kB / 0.7326 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.794e-05/0.2437, allocations: 46.75 kB / 0.7326 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005382/0.2443, allocations: 64.75 kB / 0.7327 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/0.2457, allocations: 305.1 kB / 0.733 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.178e-05/0.2458, allocations: 16.36 kB / 0.733 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.204e-05/0.2458, allocations: 20.38 kB / 0.733 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007751/0.2466, allocations: 210.1 kB / 0.7332 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.2466, allocations: 4 kB / 0.7332 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.309e-05/0.2467, allocations: 8 kB / 0.7332 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.2467, allocations: 4 kB / 0.7332 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008352/0.2475, allocations: 139.8 kB / 0.7334 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/0.2495, allocations: 0.8281 MB / 0.7342 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004815/0.2499, allocations: 145.1 kB / 0.7343 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00036/0.2503, allocations: 88.11 kB / 0.7344 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.2503, allocations: 0 / 0.7344 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006477/0.251, allocations: 170.4 kB / 0.7346 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.763e-06/0.251, allocations: 0 / 0.7346 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.001389/0.2524, allocations: 265.2 kB / 0.7348 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/0.2525, allocations: 162.2 kB / 0.735 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003419/0.2528, allocations: 217.3 kB / 0.7352 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.653e-05/0.2529, allocations: 37.7 kB / 0.7352 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.2531, allocations: 148.3 kB / 0.7354 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.308e-05/0.2531, allocations: 31.73 kB / 0.7354 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/0.2533, allocations: 61.62 kB / 0.7354 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002063/0.2535, allocations: 334.8 kB / 0.7358 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006373/0.2542, allocations: 163.3 kB / 0.7359 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007505/0.2549, allocations: 292.2 kB / 0.7362 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.2561, allocations: 270.9 kB / 0.7365 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.2561, allocations: 4 kB / 0.7365 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001733/0.2578, allocations: 440.1 kB / 0.7369 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.568e-05/0.2579, allocations: 67.41 kB / 0.7369 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.2579, allocations: 0 / 0.7369 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.717e-05/0.2579, allocations: 7.984 kB / 0.737 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.2582, allocations: 23.92 kB / 0.737 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.712e-05/0.2582, allocations: 7.984 kB / 0.737 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007854/0.259, allocations: 79.88 kB / 0.7371 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.704e-05/0.2591, allocations: 11.98 kB / 0.7371 GB, free: 7.438 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 2 * 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.0002747/0.2593, allocations: 149.8 kB / 0.7372 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.26e-05/0.2594, allocations: 15.91 kB / 0.7372 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.616e-05/0.2595, allocations: 25.8 kB / 0.7373 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.2595, allocations: 0 / 0.7373 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.2595, allocations: 4 kB / 0.7373 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.2595, allocations: 4 kB / 0.7373 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00042/0.2599, allocations: 228.5 kB / 0.7375 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.2599, allocations: 4 kB / 0.7375 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/0.2602, allocations: 31.89 kB / 0.7375 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.2602, allocations: 0 / 0.7375 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.2602, allocations: 4 kB / 0.7375 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.2602, allocations: 0 / 0.7375 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.2602, allocations: 4 kB / 0.7375 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.2613, allocations: 248.2 kB / 0.7378 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.185e-05/0.2614, allocations: 23.8 kB / 0.7378 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.145e-05/0.2614, allocations: 0 / 0.7378 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002654/0.2617, allocations: 23.97 kB / 0.7378 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.422e-05/0.2618, allocations: 19.97 kB / 0.7378 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/0.2618, allocations: 15.88 kB / 0.7378 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002716/0.2621, allocations: 160.5 kB / 0.738 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2621, allocations: 0 / 0.738 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005594/0.2626, allocations: 47.89 kB / 0.738 GB, free: 6.359 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001626/0.2643, allocations: 0.7757 MB / 0.7388 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001458/0.2657, allocations: 373.9 kB / 0.7391 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.2657, allocations: 4 kB / 0.7392 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005254/0.2663, allocations: 76.31 kB / 0.7392 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006101/0.2669, allocations: 49.81 kB / 0.7393 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007492/0.2744, allocations: 2.823 MB / 0.742 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.2746, allocations: 144.8 kB / 0.7422 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002274/0.2748, allocations: 29.62 kB / 0.7422 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.275, allocations: 71.41 kB / 0.7423 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of SimCode: time 1.202e-06/0.275, allocations: 0 / 0.7423 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05036/0.3254, allocations: 6.106 MB / 0.7482 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.81, allocations: 4.062 kB / 0.7482 GB, free: 11.84 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_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_RealExtractSignal.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.12068438110873] Failed to read output from testmodel.py, exit status != 0: 11.920682926196605 12.260176112 12.014907515 Calling exit ...