Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.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.001729/0.001729, allocations: 114 kB / 17.6 MB, free: 4.699 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.001968/0.001968, allocations: 186.7 kB / 20.78 MB, free: 1.539 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.516/1.516, allocations: 225.6 MB / 249.4 MB, free: 3.301 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.835/2.835, allocations: 476.7 MB / 0.7629 GB, free: 15.11 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.IntegerExtractor,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 63.91 kB / 1.107 GB, free: 5.082 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.079/1.081, 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.IntegerExtractor): time 0.002637/1.083, allocations: 1.165 MB / 1.273 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002503/1.086, allocations: 1.512 MB / 1.274 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001833/1.086, allocations: 2.844 kB / 1.274 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001844/1.086, allocations: 33.16 kB / 1.274 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001621/1.086, allocations: 64.95 kB / 1.274 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001453/1.088, allocations: 492.3 kB / 1.275 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006785/1.089, allocations: 0.5872 MB / 1.275 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002533/1.089, allocations: 107.2 kB / 1.275 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002778/1.089, allocations: 236.8 kB / 1.276 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003059/1.089, allocations: 210.3 kB / 1.276 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000122/1.089, allocations: 60 kB / 1.276 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/1.09, allocations: 80.55 kB / 1.276 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.663e-05/1.09, allocations: 72.64 kB / 1.276 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000219/1.09, allocations: 232.5 kB / 1.276 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000684/1.091, allocations: 0.6198 MB / 1.277 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/1.091, allocations: 0.625 kB / 1.277 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.495e-06/1.091, allocations: 1.266 kB / 1.277 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.294e-06/1.091, allocations: 1.031 kB / 1.277 GB, free: 4.543 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.000893/1.092, allocations: 0.7498 MB / 1.278 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/1.092, allocations: 10 kB / 1.278 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.49e-05/1.092, allocations: 62.38 kB / 1.278 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/1.092, allocations: 47.02 kB / 1.278 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009387/1.093, allocations: 407.2 kB / 1.278 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.83e-05/1.093, allocations: 27.77 kB / 1.278 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.615e-05/1.093, allocations: 31.91 kB / 1.278 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004302/1.093, allocations: 255 kB / 1.278 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/1.093, allocations: 0 / 1.278 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.504e-05/1.093, allocations: 16.11 kB / 1.278 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/1.093, allocations: 5.5 kB / 1.278 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002781/1.094, allocations: 153.1 kB / 1.279 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/1.095, allocations: 0.8531 MB / 1.279 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003495/1.095, allocations: 210.7 kB / 1.28 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003126/1.095, allocations: 194 kB / 1.28 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/1.096, allocations: 2.859 kB / 1.28 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003904/1.096, allocations: 264.1 kB / 1.28 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=28): time 1.984e-06/1.096, allocations: 3.938 kB / 1.28 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28): time 0.0007634/1.097, allocations: 432.7 kB / 1.28 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/1.097, allocations: 112 kB / 1.281 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003079/1.097, allocations: 323.6 kB / 1.281 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.504e-05/1.097, allocations: 41.23 kB / 1.281 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/1.097, allocations: 173.7 kB / 1.281 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.352e-05/1.097, allocations: 65.83 kB / 1.281 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002263/1.097, allocations: 148.7 kB / 1.281 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.305e-05/1.098, allocations: 341.2 kB / 1.282 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003698/1.098, allocations: 209.7 kB / 1.282 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004219/1.098, allocations: 327.5 kB / 1.282 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005698/1.099, allocations: 0.5258 MB / 1.283 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/1.099, allocations: 4 kB / 1.283 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001098/1.1, allocations: 0.7444 MB / 1.283 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.738e-05/1.1, allocations: 125.9 kB / 1.283 GB, free: 384 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/1.1, allocations: 8.219 kB / 1.283 GB, free: 380 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.846e-05/1.1, allocations: 7.734 kB / 1.283 GB, free: 380 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/1.1, allocations: 61.14 kB / 1.284 GB, free: 368 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/1.1, allocations: 10.44 kB / 1.284 GB, free: 364 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006648/1.101, allocations: 125.8 kB / 1.284 GB, free: 336 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/1.101, allocations: 72.56 kB / 1.284 GB, free: 324 kB / 0.9981 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.000195/1.101, allocations: 197.1 kB / 1.284 GB, free: 168 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.37e-05/1.101, allocations: 32.56 kB / 1.284 GB, free: 152 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005307/1.102, allocations: 366.6 kB / 1.284 GB, free: 4 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/1.102, allocations: 9.172 kB / 1.284 GB, free: 0 / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.102, allocations: 0 / 1.284 GB, free: 0 / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/1.102, allocations: 1.922 kB / 1.284 GB, free: 0 / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/1.103, allocations: 0.7495 MB / 1.285 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/1.103, allocations: 3.938 kB / 1.285 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/1.103, allocations: 36.39 kB / 1.285 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/1.103, allocations: 5.656 kB / 1.285 GB, free: 15.53 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/1.103, allocations: 8.594 kB / 1.285 GB, free: 15.53 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/1.103, allocations: 5.703 kB / 1.285 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.103, allocations: 0.5625 kB / 1.285 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005437/1.104, allocations: 433.8 kB / 1.286 GB, free: 15.29 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.063e-05/1.104, allocations: 115.1 kB / 1.286 GB, free: 15.17 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.067e-05/1.104, allocations: 7.125 kB / 1.286 GB, free: 15.17 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/1.104, allocations: 15.25 kB / 1.286 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.869e-05/1.104, allocations: 24.81 kB / 1.286 GB, free: 15.15 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/1.104, allocations: 14.12 kB / 1.286 GB, free: 15.15 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000241/1.104, allocations: 216.6 kB / 1.286 GB, free: 15.03 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.104, allocations: 1.594 kB / 1.286 GB, free: 15.03 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004735/1.105, allocations: 97.73 kB / 1.286 GB, free: 15.01 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: 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.000991/1.106, allocations: 0.9862 MB / 1.287 GB, free: 14.24 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009411/1.107, allocations: 0.6098 MB / 1.288 GB, free: 13.87 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.107, allocations: 0 / 1.288 GB, free: 13.87 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002009/1.107, allocations: 134.6 kB / 1.288 GB, free: 13.84 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005165/1.107, allocations: 78.08 kB / 1.288 GB, free: 13.81 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005211/1.113, allocations: 3.841 MB / 1.291 GB, free: 11.42 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004149/1.113, allocations: 0.7783 MB / 1.292 GB, free: 10.71 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002082/1.113, allocations: 76.83 kB / 1.292 GB, free: 10.7 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/1.113, allocations: 114.9 kB / 1.292 GB, free: 10.62 MB / 1.014 GB Notification: Performance of SimCode: time 6.71e-07/1.113, allocations: 0 / 1.292 GB, free: 10.62 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04051/1.154, allocations: 8.472 MB / 1.301 GB, free: 9.75 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.4/9.554, allocations: 6.188 kB / 1.301 GB, free: 9.746 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_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_IntegerExtractor.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.758366569003556] Failed to read output from testmodel.py, exit status != 0: 9.629124927014345 9.646315581 8.552194964 Calling exit ...