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.001304/0.001304, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001607/0.001607, allocations: 219.1 kB / 23.03 MB, free: 4.922 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.543/1.543, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.834/2.834, allocations: 476.8 MB / 0.7715 GB, free: 3.867 MB / 0.6231 GB " [Timeout remaining time 177] 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.002059/0.002059, allocations: 65.61 kB / 1.118 GB, free: 39.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3808/0.3828, allocations: 170 MB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002622/0.3854, allocations: 1.087 MB / 1.285 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002202/0.3876, allocations: 1.523 MB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.3878, allocations: 7.938 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001453/0.3879, allocations: 31.61 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.388, allocations: 63.5 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.3892, allocations: 490.5 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006383/0.3898, allocations: 0.5933 MB / 1.288 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002535/0.3901, allocations: 100.9 kB / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002571/0.3903, allocations: 239.4 kB / 1.288 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002847/0.3906, allocations: 215.2 kB / 1.288 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.586e-05/0.3907, allocations: 60 kB / 1.288 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.3908, allocations: 67.94 kB / 1.288 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.3909, allocations: 75.77 kB / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002337/0.3912, allocations: 203.2 kB / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006914/0.3919, allocations: 0.6263 MB / 1.289 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3919, allocations: 4 kB / 1.289 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3919, allocations: 4 kB / 1.289 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.3919, allocations: 0 / 1.289 GB, free: 5.254 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.0009859/0.3929, allocations: 0.6755 MB / 1.29 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.3929, allocations: 8.031 kB / 1.29 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.931e-05/0.3929, allocations: 8.625 kB / 1.29 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.039e-05/0.393, allocations: 58.73 kB / 1.29 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.3931, allocations: 40.75 kB / 1.29 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.3941, allocations: 345.8 kB / 1.29 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.983e-05/0.3942, allocations: 24.81 kB / 1.29 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.017e-05/0.3943, allocations: 36.36 kB / 1.29 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005049/0.3948, allocations: 383.7 kB / 1.291 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.3948, allocations: 0 / 1.291 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.024e-05/0.3948, allocations: 12 kB / 1.291 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.3948, allocations: 4 kB / 1.291 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002605/0.3951, allocations: 153.7 kB / 1.291 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.3964, allocations: 0.7314 MB / 1.292 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003505/0.3968, allocations: 222.5 kB / 1.292 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002784/0.3971, allocations: 194.7 kB / 1.292 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.3971, allocations: 4 kB / 1.292 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004154/0.3975, allocations: 346.7 kB / 1.292 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=28): time 1.603e-06/0.3975, allocations: 0 / 1.292 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of matching and sorting (n=28): time 0.0007708/0.3983, allocations: 443.1 kB / 1.293 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.247e-05/0.3983, allocations: 110.8 kB / 1.293 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003418/0.3987, allocations: 324.4 kB / 1.293 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.981e-05/0.3988, allocations: 37.7 kB / 1.293 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.3989, allocations: 180.7 kB / 1.294 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.168e-05/0.399, allocations: 71.41 kB / 1.294 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002389/0.3992, allocations: 142 kB / 1.294 GB, free: 496 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.3994, allocations: 346.8 kB / 1.294 GB, free: 140 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004832/0.3999, allocations: 335.6 kB / 1.294 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005877/0.4005, allocations: 0.4952 MB / 1.295 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006777/0.4011, allocations: 0.5272 MB / 1.295 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.4011, allocations: 4 kB / 1.295 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001317/0.4025, allocations: 0.8721 MB / 1.296 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001125/0.4026, allocations: 126.8 kB / 1.296 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.4026, allocations: 4 kB / 1.296 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-05/0.4026, allocations: 8.344 kB / 1.296 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.4028, allocations: 63.91 kB / 1.296 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.4028, allocations: 4 kB / 1.296 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006654/0.4035, allocations: 123.6 kB / 1.297 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/0.4036, allocations: 71.86 kB / 1.297 GB, free: 13.25 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.0003238/0.404, allocations: 191 kB / 1.297 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.689e-05/0.404, allocations: 39.75 kB / 1.297 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006026/0.4046, allocations: 370 kB / 1.297 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.4046, allocations: 4 kB / 1.297 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.4046, allocations: 0 / 1.297 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.778e-06/0.4046, allocations: 0 / 1.297 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009973/0.4056, allocations: 0.7046 MB / 1.298 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.4056, allocations: 0 / 1.298 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.4058, allocations: 35.92 kB / 1.298 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.94e-05/0.4058, allocations: 0 / 1.298 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.4058, allocations: 11.98 kB / 1.298 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4058, allocations: 7.938 kB / 1.298 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.4058, allocations: 4 kB / 1.298 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005296/0.4063, allocations: 436.6 kB / 1.298 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.617e-05/0.4064, allocations: 27.75 kB / 1.298 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.21e-05/0.4064, allocations: 11.95 kB / 1.298 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.4066, allocations: 11.98 kB / 1.298 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/0.4066, allocations: 19.97 kB / 1.298 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/0.4067, allocations: 15.98 kB / 1.298 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002279/0.4069, allocations: 219 kB / 1.299 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.4069, allocations: 0 / 1.299 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004182/0.4073, allocations: 91.88 kB / 1.299 GB, free: 11 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.0009097/0.4082, allocations: 0.9955 MB / 1.3 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009984/0.4092, allocations: 0.7383 MB / 1.3 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4092, allocations: 0.8125 kB / 1.3 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002023/0.4094, allocations: 140.6 kB / 1.301 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000558/0.41, allocations: 79.38 kB / 1.301 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005596/0.4156, allocations: 4.371 MB / 1.305 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001943/0.4158, allocations: 177.5 kB / 1.305 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002143/0.416, allocations: 71.22 kB / 1.305 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/0.4162, allocations: 115.4 kB / 1.305 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of SimCode: time 1.422e-06/0.4162, allocations: 0 / 1.305 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03473/0.4509, allocations: 9.207 MB / 1.314 GB, free: 11.04 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.52, allocations: 6.297 kB / 1.314 GB, free: 11.04 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.485290677985176] Failed to read output from testmodel.py, exit status != 0: 13.316744733019732 12.707131304 12.312070771 Calling exit ...