Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 114.7 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001957/0.001957, allocations: 189.9 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.928/2.928, allocations: 476.7 MB / 0.7629 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002693/0.002693, allocations: 67.89 kB / 1.107 GB, free: 5.094 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.146/1.148, allocations: 168.7 MB / 1.272 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.003021/1.151, allocations: 1.365 MB / 1.273 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002462/1.154, allocations: 1.555 MB / 1.274 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/1.154, allocations: 3.344 kB / 1.274 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001565/1.154, allocations: 33.66 kB / 1.274 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001522/1.154, allocations: 70.58 kB / 1.274 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001295/1.156, allocations: 0.4986 MB / 1.275 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0008418/1.156, allocations: 0.6527 MB / 1.276 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003236/1.157, allocations: 120.7 kB / 1.276 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003262/1.157, allocations: 252.1 kB / 1.276 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000332/1.157, allocations: 243.6 kB / 1.276 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001287/1.158, allocations: 64.31 kB / 1.276 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001881/1.158, allocations: 83.36 kB / 1.276 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001081/1.158, allocations: 78.3 kB / 1.276 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002711/1.158, allocations: 251.7 kB / 1.277 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008166/1.159, allocations: 0.6807 MB / 1.277 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.309e-06/1.159, allocations: 4 kB / 1.277 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.853e-06/1.159, allocations: 0.8438 kB / 1.277 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.456e-06/1.159, allocations: 0 / 1.277 GB, free: 4.25 MB / 0.9981 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.001286/1.16, allocations: 0.9475 MB / 1.278 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/1.16, allocations: 10.12 kB / 1.278 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.953e-05/1.16, allocations: 57.66 kB / 1.278 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/1.161, allocations: 55.03 kB / 1.278 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/1.162, allocations: 481.9 kB / 1.279 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.802e-05/1.162, allocations: 27.98 kB / 1.279 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.006e-05/1.162, allocations: 48.5 kB / 1.279 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007539/1.163, allocations: 322.9 kB / 1.279 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/1.163, allocations: 0 / 1.279 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.012e-05/1.163, allocations: 12.61 kB / 1.279 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/1.163, allocations: 6.422 kB / 1.279 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007152/1.163, allocations: 255.4 kB / 1.279 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001882/1.165, allocations: 0.9106 MB / 1.28 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007616/1.166, allocations: 355.7 kB / 1.281 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005233/1.167, allocations: 257.6 kB / 1.281 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/1.167, allocations: 8.406 kB / 1.281 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006248/1.167, allocations: 326.8 kB / 1.281 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=44): time 2.494e-06/1.167, allocations: 0 / 1.281 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of matching and sorting (n=44): time 0.001642/1.169, allocations: 0.8332 MB / 1.282 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.815e-05/1.169, allocations: 192.5 kB / 1.282 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003156/1.169, allocations: 286.8 kB / 1.283 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.569e-05/1.169, allocations: 44.59 kB / 1.283 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/1.169, allocations: 171.3 kB / 1.283 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.495e-05/1.17, allocations: 140.2 kB / 1.283 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002414/1.17, allocations: 139.5 kB / 1.283 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.394e-05/1.17, allocations: 348 kB / 1.283 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006062/1.171, allocations: 275.8 kB / 1.284 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006617/1.171, allocations: 362.1 kB / 1.284 GB, free: 348 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001265/1.172, allocations: 0.9115 MB / 1.285 GB, free: 15.66 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/1.172, allocations: 0 / 1.285 GB, free: 15.66 MB / 1.014 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001878/1.174, allocations: 1.001 MB / 1.286 GB, free: 15.12 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002196/1.175, allocations: 259.5 kB / 1.286 GB, free: 14.83 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/1.175, allocations: 2.031 kB / 1.286 GB, free: 14.83 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/1.175, allocations: 3.938 kB / 1.286 GB, free: 14.83 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003008/1.175, allocations: 70.56 kB / 1.286 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/1.175, allocations: 4.656 kB / 1.286 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008276/1.176, allocations: 148.3 kB / 1.286 GB, free: 14.79 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/1.176, allocations: 64.02 kB / 1.286 GB, free: 14.79 MB / 1.014 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.0004064/1.176, allocations: 323.2 kB / 1.287 GB, free: 14.47 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.351e-05/1.176, allocations: 38.67 kB / 1.287 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/1.176, allocations: 42.95 kB / 1.287 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/1.176, allocations: 4.438 kB / 1.287 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/1.176, allocations: 0.5156 kB / 1.287 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/1.176, allocations: 6.422 kB / 1.287 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002058/1.179, allocations: 1.194 MB / 1.288 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/1.179, allocations: 1.219 kB / 1.288 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/1.179, allocations: 62.69 kB / 1.288 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/1.179, allocations: 7.406 kB / 1.288 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.666e-05/1.179, allocations: 15.61 kB / 1.288 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.199e-06/1.179, allocations: 3.938 kB / 1.288 GB, free: 13.69 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.179, allocations: 4.594 kB / 1.288 GB, free: 13.69 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/1.18, allocations: 0.7529 MB / 1.289 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/1.18, allocations: 122.6 kB / 1.289 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.818e-05/1.18, allocations: 7.781 kB / 1.289 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/1.181, allocations: 29.58 kB / 1.289 GB, free: 13.13 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/1.181, allocations: 35.2 kB / 1.289 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.08e-05/1.181, allocations: 51.59 kB / 1.289 GB, free: 13.11 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002407/1.181, allocations: 201.9 kB / 1.289 GB, free: 13 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.1e-08/1.181, allocations: 0 / 1.289 GB, free: 13 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005448/1.182, allocations: 112.4 kB / 1.289 GB, free: 12.98 MB / 1.014 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.00174/1.183, allocations: 1.335 MB / 1.291 GB, free: 11.99 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002137/1.185, allocations: 1.041 MB / 1.292 GB, free: 11.27 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/1.185, allocations: 0.5 kB / 1.292 GB, free: 11.27 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008931/1.186, allocations: 0.4996 MB / 1.292 GB, free: 10.89 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007671/1.187, allocations: 92.73 kB / 1.292 GB, free: 10.86 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008911/1.196, allocations: 4.673 MB / 1.297 GB, free: 8.195 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005612/1.197, allocations: 0.7916 MB / 1.297 GB, free: 7.496 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000327/1.197, allocations: 91.78 kB / 1.298 GB, free: 7.48 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002067/1.197, allocations: 119 kB / 1.298 GB, free: 7.398 MB / 1.014 GB Notification: Performance of SimCode: time 1.773e-06/1.197, allocations: 0 / 1.298 GB, free: 7.398 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04446/1.242, allocations: 9.869 MB / 1.307 GB, free: 6.465 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.559/9.801, allocations: 8.75 kB / 1.307 GB, free: 6.461 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.141484498017235] Failed to read output from testmodel.py, exit status != 0: 9.878201410989277 9.90381914 8.739750037 Calling exit ...