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.001295/0.001295, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.00149/0.00149, allocations: 219 kB / 23.03 MB, free: 4.945 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.527/1.527, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.8062 GB, free: 28.32 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.002024/0.002024, allocations: 65.09 kB / 1.17 GB, free: 19.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4749/0.4769, allocations: 179 MB / 1.345 GB, free: 15.97 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.003225/0.4802, allocations: 1.092 MB / 1.346 GB, free: 14.88 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002783/0.483, allocations: 1.529 MB / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002653/0.4832, allocations: 11.88 kB / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002257/0.4834, allocations: 31.59 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002857/0.4837, allocations: 63.52 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001556/0.4853, allocations: 493 kB / 1.348 GB, free: 12.76 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0009587/0.4862, allocations: 0.5855 MB / 1.349 GB, free: 12.18 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00037/0.4866, allocations: 104.9 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000491/0.4871, allocations: 231.4 kB / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005239/0.4876, allocations: 219.2 kB / 1.35 GB, free: 11.62 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001985/0.4878, allocations: 64 kB / 1.35 GB, free: 11.56 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002341/0.4881, allocations: 71.98 kB / 1.35 GB, free: 11.49 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.4882, allocations: 79.75 kB / 1.35 GB, free: 11.41 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003418/0.4886, allocations: 191.3 kB / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0009412/0.4895, allocations: 0.6307 MB / 1.351 GB, free: 10.59 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4895, allocations: 3.938 kB / 1.351 GB, free: 10.59 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.876e-06/0.4895, allocations: 0 / 1.351 GB, free: 10.59 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.26e-05/0.4895, allocations: 0 / 1.351 GB, free: 10.59 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.001611/0.4911, allocations: 0.6717 MB / 1.351 GB, free: 9.859 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.241e-05/0.4912, allocations: 12.03 kB / 1.351 GB, free: 9.848 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.405e-05/0.4912, allocations: 8.625 kB / 1.351 GB, free: 9.84 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.74e-05/0.4913, allocations: 66.66 kB / 1.351 GB, free: 9.766 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.4915, allocations: 48.7 kB / 1.351 GB, free: 9.719 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.4926, allocations: 333.8 kB / 1.352 GB, free: 9.363 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.033e-05/0.4926, allocations: 28.8 kB / 1.352 GB, free: 9.336 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.052e-05/0.4927, allocations: 32.38 kB / 1.352 GB, free: 9.305 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005555/0.4932, allocations: 383.9 kB / 1.352 GB, free: 8.891 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.4932, allocations: 4 kB / 1.352 GB, free: 8.887 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.901e-05/0.4933, allocations: 12 kB / 1.352 GB, free: 8.875 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.4933, allocations: 4 kB / 1.352 GB, free: 8.871 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002698/0.4936, allocations: 153.7 kB / 1.352 GB, free: 8.723 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/0.495, allocations: 0.7272 MB / 1.353 GB, free: 7.949 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003776/0.4954, allocations: 206.7 kB / 1.353 GB, free: 7.738 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002822/0.4956, allocations: 196.7 kB / 1.353 GB, free: 7.543 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.4957, allocations: 4 kB / 1.353 GB, free: 7.539 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004546/0.4961, allocations: 355.8 kB / 1.354 GB, free: 7.145 MB / 1.045 GB Notification: Performance of pre-optimization done (n=28): time 1.893e-06/0.4961, allocations: 0 / 1.354 GB, free: 7.145 MB / 1.045 GB Notification: Performance of matching and sorting (n=28): time 0.0007827/0.4969, allocations: 439.1 kB / 1.354 GB, free: 6.711 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.804e-05/0.497, allocations: 106.8 kB / 1.354 GB, free: 6.582 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003765/0.4974, allocations: 332.3 kB / 1.354 GB, free: 6.25 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.119e-05/0.4974, allocations: 37.7 kB / 1.355 GB, free: 6.207 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.4976, allocations: 188.7 kB / 1.355 GB, free: 6.02 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.286e-05/0.4977, allocations: 71.52 kB / 1.355 GB, free: 5.949 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002435/0.4979, allocations: 142 kB / 1.355 GB, free: 5.801 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.4981, allocations: 342.8 kB / 1.355 GB, free: 5.457 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004793/0.4986, allocations: 335.5 kB / 1.356 GB, free: 5.105 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006106/0.4992, allocations: 0.4989 MB / 1.356 GB, free: 4.523 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007082/0.4999, allocations: 0.5389 MB / 1.357 GB, free: 3.914 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.175e-06/0.4999, allocations: 0 / 1.357 GB, free: 3.914 MB / 1.045 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001335/0.5012, allocations: 0.8683 MB / 1.357 GB, free: 2.992 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001285/0.5014, allocations: 126.8 kB / 1.358 GB, free: 2.844 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.5014, allocations: 0 / 1.358 GB, free: 2.844 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.16e-05/0.5014, allocations: 11.94 kB / 1.358 GB, free: 2.832 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.5017, allocations: 55.91 kB / 1.358 GB, free: 2.777 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.199e-05/0.5017, allocations: 11.94 kB / 1.358 GB, free: 2.766 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006712/0.5023, allocations: 128 kB / 1.358 GB, free: 2.641 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001348/0.5025, allocations: 67.92 kB / 1.358 GB, free: 2.574 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.0002906/0.5028, allocations: 197.7 kB / 1.358 GB, free: 2.371 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.782e-05/0.5028, allocations: 31.81 kB / 1.358 GB, free: 2.34 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006515/0.5035, allocations: 365.2 kB / 1.358 GB, free: 1.973 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.5035, allocations: 3.938 kB / 1.358 GB, free: 1.969 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.5035, allocations: 7.938 kB / 1.358 GB, free: 1.961 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.5035, allocations: 3.984 kB / 1.358 GB, free: 1.957 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.5046, allocations: 0.6974 MB / 1.359 GB, free: 1.211 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.5046, allocations: 0 / 1.359 GB, free: 1.211 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.5047, allocations: 39.91 kB / 1.359 GB, free: 1.172 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.5047, allocations: 4 kB / 1.359 GB, free: 1.168 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.5047, allocations: 8 kB / 1.359 GB, free: 1.16 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.5047, allocations: 0 / 1.359 GB, free: 1.16 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.5047, allocations: 0 / 1.359 GB, free: 1.16 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005729/0.5053, allocations: 444.9 kB / 1.36 GB, free: 0.7109 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.052e-05/0.5054, allocations: 35.7 kB / 1.36 GB, free: 0.6758 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.956e-05/0.5054, allocations: 19.92 kB / 1.36 GB, free: 0.6562 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.5055, allocations: 8 kB / 1.36 GB, free: 0.6484 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.837e-05/0.5056, allocations: 23.95 kB / 1.36 GB, free: 0.625 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.226e-05/0.5056, allocations: 12 kB / 1.36 GB, free: 0.6133 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002541/0.5059, allocations: 211.1 kB / 1.36 GB, free: 420 kB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.5059, allocations: 0 / 1.36 GB, free: 420 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004443/0.5063, allocations: 103.9 kB / 1.36 GB, free: 316 kB / 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.001034/0.5074, allocations: 0.9797 MB / 1.361 GB, free: 15.3 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001003/0.5084, allocations: 0.7427 MB / 1.362 GB, free: 14.48 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.5084, allocations: 4 kB / 1.362 GB, free: 14.48 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.5086, allocations: 127.9 kB / 1.362 GB, free: 14.35 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000511/0.5091, allocations: 87.59 kB / 1.362 GB, free: 14.27 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005815/0.5149, allocations: 4.341 MB / 1.366 GB, free: 9.641 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001987/0.5151, allocations: 181.5 kB / 1.366 GB, free: 9.449 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002169/0.5153, allocations: 75.22 kB / 1.366 GB, free: 9.375 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001731/0.5155, allocations: 115.4 kB / 1.366 GB, free: 9.262 MB / 1.061 GB Notification: Performance of SimCode: time 1.593e-06/0.5155, allocations: 4 kB / 1.366 GB, free: 9.258 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03581/0.5513, allocations: 9.204 MB / 1.375 GB, free: 352 kB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.4, allocations: 3.938 kB / 1.375 GB, free: 348 kB / 1.061 GB " [Timeout remaining time 287] (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.545091810054146] Failed to read output from testmodel.py, exit status != 0: 12.565914517035708 12.581876587 12.089056912 Calling exit ...