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.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.001687/0.001687, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.002259/0.002259, allocations: 219.4 kB / 23.05 MB, free: 5.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.566/1.566, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.869/2.869, allocations: 476.7 MB / 0.7714 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002105/0.002105, allocations: 65.33 kB / 1.118 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3928/0.3949, allocations: 170 MB / 1.284 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002404/0.3973, allocations: 1.16 MB / 1.285 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002095/0.3994, allocations: 1.554 MB / 1.287 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.3995, allocations: 4 kB / 1.287 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001361/0.3997, allocations: 27.61 kB / 1.287 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001235/0.3998, allocations: 71.44 kB / 1.287 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.401, allocations: 496.2 kB / 1.287 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006545/0.4016, allocations: 0.5894 MB / 1.288 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002493/0.4019, allocations: 100.9 kB / 1.288 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002543/0.4021, allocations: 231.4 kB / 1.288 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002985/0.4024, allocations: 219.2 kB / 1.288 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.274e-05/0.4025, allocations: 63.94 kB / 1.289 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.4026, allocations: 75.98 kB / 1.289 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.585e-05/0.4027, allocations: 83.69 kB / 1.289 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002286/0.403, allocations: 219.1 kB / 1.289 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006531/0.4036, allocations: 0.6309 MB / 1.29 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.4036, allocations: 0 / 1.29 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.052e-06/0.4036, allocations: 0 / 1.29 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.4036, allocations: 0 / 1.29 GB, free: 6.242 MB / 0.9825 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.001017/0.4046, allocations: 0.6755 MB / 1.29 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.4047, allocations: 8.031 kB / 1.29 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.261e-05/0.4047, allocations: 8.625 kB / 1.29 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.502e-05/0.4048, allocations: 58.72 kB / 1.29 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.4049, allocations: 52.64 kB / 1.29 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.406, allocations: 333.9 kB / 1.291 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.881e-05/0.406, allocations: 24.81 kB / 1.291 GB, free: 5 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.841e-05/0.4061, allocations: 36.38 kB / 1.291 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004591/0.4065, allocations: 255.3 kB / 1.291 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.4065, allocations: 7.984 kB / 1.291 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/0.4066, allocations: 8 kB / 1.291 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.4066, allocations: 7.938 kB / 1.291 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002717/0.4069, allocations: 165.6 kB / 1.291 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001492/0.4083, allocations: 0.8093 MB / 1.292 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003524/0.4087, allocations: 210.8 kB / 1.292 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002756/0.409, allocations: 191.7 kB / 1.292 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.409, allocations: 7.938 kB / 1.292 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003869/0.4094, allocations: 251.9 kB / 1.293 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=28): time 1.543e-06/0.4094, allocations: 0 / 1.293 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of matching and sorting (n=28): time 0.000726/0.4101, allocations: 439.1 kB / 1.293 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.257e-05/0.4102, allocations: 106.8 kB / 1.293 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003539/0.4105, allocations: 328.3 kB / 1.293 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.188e-05/0.4106, allocations: 37.7 kB / 1.293 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/0.4108, allocations: 188.7 kB / 1.294 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.387e-05/0.4108, allocations: 55.59 kB / 1.294 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002428/0.4111, allocations: 150 kB / 1.294 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.4112, allocations: 342.8 kB / 1.294 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003955/0.4116, allocations: 204.7 kB / 1.294 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004883/0.4121, allocations: 328.9 kB / 1.295 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007303/0.4128, allocations: 0.531 MB / 1.295 GB, free: 144 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.4128, allocations: 4 kB / 1.295 GB, free: 140 kB / 0.9825 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001217/0.4141, allocations: 0.7366 MB / 1.296 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001063/0.4142, allocations: 126.8 kB / 1.296 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.4142, allocations: 3.984 kB / 1.296 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.4142, allocations: 16.28 kB / 1.296 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.4144, allocations: 59.86 kB / 1.296 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.4144, allocations: 11.98 kB / 1.296 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006812/0.4151, allocations: 123.6 kB / 1.296 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/0.4152, allocations: 67.92 kB / 1.296 GB, free: 14.95 MB / 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.0002577/0.4155, allocations: 189.6 kB / 1.296 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.428e-05/0.4155, allocations: 35.77 kB / 1.296 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005659/0.4161, allocations: 366.1 kB / 1.297 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.4161, allocations: 7.938 kB / 1.297 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4161, allocations: 0 / 1.297 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.4161, allocations: 0 / 1.297 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009846/0.4171, allocations: 0.7241 MB / 1.298 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4171, allocations: 3.938 kB / 1.298 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.4172, allocations: 39.92 kB / 1.298 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.4172, allocations: 7.969 kB / 1.298 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.4173, allocations: 8 kB / 1.298 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.4173, allocations: 4 kB / 1.298 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4173, allocations: 0 / 1.298 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005097/0.4178, allocations: 436.6 kB / 1.298 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.137e-05/0.4178, allocations: 35.7 kB / 1.298 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.878e-05/0.4179, allocations: 4 kB / 1.298 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.418, allocations: 19.98 kB / 1.298 GB, free: 13 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.971e-05/0.418, allocations: 23.95 kB / 1.298 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.4181, allocations: 12 kB / 1.298 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002251/0.4183, allocations: 215.1 kB / 1.298 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.4183, allocations: 0 / 1.298 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000424/0.4187, allocations: 91.92 kB / 1.298 GB, free: 12.67 MB / 0.9981 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.0009544/0.4197, allocations: 0.9877 MB / 1.299 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009647/0.4206, allocations: 0.6105 MB / 1.3 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4206, allocations: 0.8125 kB / 1.3 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.4209, allocations: 140.6 kB / 1.3 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005409/0.4214, allocations: 76.97 kB / 1.3 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005191/0.4266, allocations: 3.838 MB / 1.304 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004076/0.427, allocations: 0.7798 MB / 1.305 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001979/0.4272, allocations: 71.23 kB / 1.305 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/0.4274, allocations: 115.4 kB / 1.305 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of SimCode: time 8.81e-07/0.4274, allocations: 0 / 1.305 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03206/0.4594, allocations: 8.81 MB / 1.313 GB, free: 13.19 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.23, allocations: 8.609 kB / 1.313 GB, free: 13.18 MB / 1.014 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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: 19.211260362004396] Failed to read output from testmodel.py, exit status != 0: 13.015233703015838 12.41482012 12.007913074 Calling exit ...