Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001817/0.001817, allocations: 101.8 kB / 19.73 MB, free: 2.23 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.002207/0.002207, allocations: 217 kB / 23.04 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.525/1.525, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.334/3.334, allocations: 0.5003 GB / 0.8061 GB, free: 26.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="Buildings_latest_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.002945/0.002945, allocations: 66.84 kB / 1.171 GB, free: 19.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4597/0.4627, allocations: 179 MB / 1.345 GB, free: 0.5039 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002908/0.4656, allocations: 1.155 MB / 1.346 GB, free: 15.34 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002324/0.4679, allocations: 1.556 MB / 1.348 GB, free: 13.77 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.468, allocations: 4 kB / 1.348 GB, free: 13.77 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001442/0.4682, allocations: 31.59 kB / 1.348 GB, free: 13.74 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.4683, allocations: 67.52 kB / 1.348 GB, free: 13.67 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.4695, allocations: 496.6 kB / 1.349 GB, free: 13.2 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0007336/0.4702, allocations: 0.5894 MB / 1.349 GB, free: 12.61 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002981/0.4705, allocations: 104.9 kB / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002708/0.4708, allocations: 235.4 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000303/0.4711, allocations: 211.3 kB / 1.35 GB, free: 12.07 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.578e-05/0.4712, allocations: 60 kB / 1.35 GB, free: 12.01 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.4713, allocations: 79.91 kB / 1.35 GB, free: 11.93 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.281e-05/0.4714, allocations: 71.77 kB / 1.35 GB, free: 11.86 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002405/0.4716, allocations: 227.1 kB / 1.35 GB, free: 11.64 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006854/0.4723, allocations: 0.6306 MB / 1.351 GB, free: 11 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.4723, allocations: 4 kB / 1.351 GB, free: 11 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.353e-06/0.4723, allocations: 0 / 1.351 GB, free: 11 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.4723, allocations: 0 / 1.351 GB, free: 11 MB / 1.045 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.001019/0.4734, allocations: 0.6678 MB / 1.351 GB, free: 10.27 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.4734, allocations: 12.03 kB / 1.351 GB, free: 10.26 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.107e-05/0.4734, allocations: 8.625 kB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.096e-05/0.4735, allocations: 58.72 kB / 1.351 GB, free: 10.19 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.4736, allocations: 48.7 kB / 1.351 GB, free: 10.14 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.4746, allocations: 341.8 kB / 1.352 GB, free: 9.777 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.372e-05/0.4747, allocations: 24.81 kB / 1.352 GB, free: 9.754 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.572e-05/0.4748, allocations: 32.38 kB / 1.352 GB, free: 9.723 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004375/0.4752, allocations: 259.3 kB / 1.352 GB, free: 9.461 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.4752, allocations: 0 / 1.352 GB, free: 9.461 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/0.4752, allocations: 8 kB / 1.352 GB, free: 9.453 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.4752, allocations: 8 kB / 1.352 GB, free: 9.445 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002767/0.4755, allocations: 161.6 kB / 1.352 GB, free: 9.289 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001488/0.477, allocations: 0.8129 MB / 1.353 GB, free: 8.43 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003551/0.4774, allocations: 210.8 kB / 1.353 GB, free: 8.215 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002814/0.4776, allocations: 195.2 kB / 1.353 GB, free: 8.023 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.4777, allocations: 4 kB / 1.353 GB, free: 8.02 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003762/0.478, allocations: 253 kB / 1.354 GB, free: 7.75 MB / 1.045 GB Notification: Performance of pre-optimization done (n=28): time 1.352e-06/0.478, allocations: 0 / 1.354 GB, free: 7.75 MB / 1.045 GB Notification: Performance of matching and sorting (n=28): time 0.0007476/0.4788, allocations: 435.1 kB / 1.354 GB, free: 7.32 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.757e-05/0.4789, allocations: 118.7 kB / 1.354 GB, free: 7.18 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003546/0.4792, allocations: 328.3 kB / 1.355 GB, free: 6.852 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.708e-05/0.4793, allocations: 37.7 kB / 1.355 GB, free: 6.809 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.4795, allocations: 184.7 kB / 1.355 GB, free: 6.625 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.06e-05/0.4795, allocations: 55.58 kB / 1.355 GB, free: 6.57 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002352/0.4798, allocations: 150 kB / 1.355 GB, free: 6.414 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.4799, allocations: 346.8 kB / 1.355 GB, free: 6.066 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003762/0.4803, allocations: 204.7 kB / 1.355 GB, free: 5.867 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004631/0.4808, allocations: 340.6 kB / 1.356 GB, free: 5.488 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006492/0.4814, allocations: 0.5193 MB / 1.356 GB, free: 4.898 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.4814, allocations: 8 kB / 1.356 GB, free: 4.891 MB / 1.045 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001185/0.4826, allocations: 0.7483 MB / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001086/0.4827, allocations: 122.8 kB / 1.357 GB, free: 3.969 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.4827, allocations: 4 kB / 1.357 GB, free: 3.965 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.523e-05/0.4828, allocations: 12.33 kB / 1.357 GB, free: 3.953 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.483, allocations: 55.92 kB / 1.357 GB, free: 3.898 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/0.483, allocations: 11.92 kB / 1.357 GB, free: 3.887 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006657/0.4837, allocations: 127.6 kB / 1.357 GB, free: 3.762 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/0.4838, allocations: 71.91 kB / 1.357 GB, free: 3.691 MB / 1.045 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.0002357/0.484, allocations: 193.6 kB / 1.358 GB, free: 3.492 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.971e-05/0.4841, allocations: 31.81 kB / 1.358 GB, free: 3.461 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005835/0.4846, allocations: 365.3 kB / 1.358 GB, free: 3.094 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.4847, allocations: 7.938 kB / 1.358 GB, free: 3.086 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.4847, allocations: 0 / 1.358 GB, free: 3.086 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.4847, allocations: 0 / 1.358 GB, free: 3.086 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.4858, allocations: 0.7208 MB / 1.359 GB, free: 2.316 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4858, allocations: 0 / 1.359 GB, free: 2.316 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.4859, allocations: 35.92 kB / 1.359 GB, free: 2.281 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.4859, allocations: 8 kB / 1.359 GB, free: 2.273 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.4859, allocations: 11.98 kB / 1.359 GB, free: 2.262 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4859, allocations: 0 / 1.359 GB, free: 2.262 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4859, allocations: 0 / 1.359 GB, free: 2.262 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005387/0.4865, allocations: 444.8 kB / 1.359 GB, free: 1.812 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.259e-05/0.4865, allocations: 35.7 kB / 1.359 GB, free: 1.777 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.292e-05/0.4865, allocations: 8 kB / 1.359 GB, free: 1.77 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.4867, allocations: 11.98 kB / 1.359 GB, free: 1.758 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.343e-05/0.4867, allocations: 31.89 kB / 1.359 GB, free: 1.727 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.4868, allocations: 11.94 kB / 1.359 GB, free: 1.715 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002323/0.487, allocations: 215.1 kB / 1.359 GB, free: 1.508 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.487, allocations: 0 / 1.359 GB, free: 1.508 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000411/0.4874, allocations: 95.89 kB / 1.36 GB, free: 1.414 MB / 1.045 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.0009497/0.4883, allocations: 0.9757 MB / 1.361 GB, free: 420 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009373/0.4893, allocations: 0.6228 MB / 1.361 GB, free: 15.74 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4893, allocations: 0 / 1.361 GB, free: 15.74 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.4895, allocations: 128.6 kB / 1.361 GB, free: 15.61 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005491/0.4901, allocations: 88.02 kB / 1.361 GB, free: 15.53 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005178/0.4952, allocations: 3.834 MB / 1.365 GB, free: 11.51 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004205/0.4957, allocations: 0.7798 MB / 1.366 GB, free: 10.7 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002/0.4959, allocations: 75.22 kB / 1.366 GB, free: 10.63 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.496, allocations: 115.4 kB / 1.366 GB, free: 10.52 MB / 1.061 GB Notification: Performance of SimCode: time 7.01e-07/0.496, allocations: 0 / 1.366 GB, free: 10.52 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0328/0.5288, allocations: 8.8 MB / 1.375 GB, free: 1.926 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.23, allocations: 6.5 kB / 1.375 GB, free: 1.922 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.443207720993087] Failed to read output from testmodel.py, exit status != 0: 12.395932400017045 12.416296438 11.939591228 Calling exit ...