Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 195.6 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.911/2.911, allocations: 472.6 MB / 0.7447 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 71.69 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3961/0.3973, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002565/0.3999, allocations: 1.196 MB / 1.069 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002127/0.4021, allocations: 1.56 MB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001391/0.4022, allocations: 4 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001644/0.4024, allocations: 27.73 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001387/0.4026, allocations: 39.69 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.4037, allocations: 452.1 kB / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000563/0.4043, allocations: 0.5152 MB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003294/0.4046, allocations: 148.4 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003463/0.405, allocations: 195.4 kB / 1.072 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002717/0.4052, allocations: 175.3 kB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.4053, allocations: 28 kB / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.4055, allocations: 43.98 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.4056, allocations: 67.7 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002756/0.4059, allocations: 191.1 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006825/0.4066, allocations: 0.5961 MB / 1.073 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.4066, allocations: 0 / 1.073 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4066, allocations: 0 / 1.073 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.25e-05/0.4066, allocations: 0 / 1.073 GB, free: 5.703 MB / 0.8262 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.001315/0.4079, allocations: 0.7433 MB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.408, allocations: 12.03 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001608/0.4082, allocations: 48.5 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.4094, allocations: 411.8 kB / 1.074 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.363e-05/0.4094, allocations: 24.81 kB / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.123e-05/0.4095, allocations: 36.38 kB / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005169/0.4101, allocations: 251.8 kB / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.4101, allocations: 3.938 kB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.516e-05/0.4101, allocations: 11.98 kB / 1.074 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.4102, allocations: 8 kB / 1.074 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002837/0.4104, allocations: 153.6 kB / 1.074 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001599/0.412, allocations: 0.853 MB / 1.075 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004352/0.4125, allocations: 218.8 kB / 1.075 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003929/0.4129, allocations: 212.7 kB / 1.075 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.4129, allocations: 0 / 1.075 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004423/0.4134, allocations: 255.7 kB / 1.076 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=28): time 2.485e-06/0.4134, allocations: 0 / 1.076 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of matching and sorting (n=28): time 0.0008508/0.4143, allocations: 427 kB / 1.076 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.506e-05/0.4144, allocations: 114.7 kB / 1.076 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004077/0.4148, allocations: 328.2 kB / 1.077 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.869e-05/0.4149, allocations: 37.7 kB / 1.077 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000197/0.4151, allocations: 180.6 kB / 1.077 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.365e-05/0.4151, allocations: 63.3 kB / 1.077 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002576/0.4154, allocations: 141.9 kB / 1.077 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.4156, allocations: 342.8 kB / 1.077 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003868/0.416, allocations: 208.7 kB / 1.077 GB, free: 428 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004544/0.4164, allocations: 321 kB / 1.078 GB, free: 60 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007216/0.4172, allocations: 0.5389 MB / 1.078 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.4172, allocations: 4 kB / 1.078 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001202/0.4184, allocations: 0.7322 MB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/0.4185, allocations: 123.2 kB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.4185, allocations: 7.938 kB / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.4186, allocations: 8 kB / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.4188, allocations: 55.91 kB / 1.079 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/0.4188, allocations: 11.88 kB / 1.079 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006833/0.4195, allocations: 131.5 kB / 1.079 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.4196, allocations: 63.92 kB / 1.079 GB, free: 14.27 MB / 0.8419 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.0002504/0.4198, allocations: 193.6 kB / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.388e-05/0.4199, allocations: 35.62 kB / 1.08 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005484/0.4205, allocations: 358 kB / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.4205, allocations: 4 kB / 1.08 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.4205, allocations: 3.938 kB / 1.08 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.4205, allocations: 7.984 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009216/0.4214, allocations: 0.7558 MB / 1.081 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.4215, allocations: 4 kB / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.4216, allocations: 39.86 kB / 1.081 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.86e-06/0.4216, allocations: 3.938 kB / 1.081 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.4216, allocations: 11.98 kB / 1.081 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.4216, allocations: 0 / 1.081 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4216, allocations: 7.984 kB / 1.081 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005259/0.4222, allocations: 426.9 kB / 1.081 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.056e-05/0.4223, allocations: 116.6 kB / 1.081 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.088e-05/0.4223, allocations: 8 kB / 1.081 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.4224, allocations: 11.98 kB / 1.081 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/0.4225, allocations: 19.97 kB / 1.081 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.4225, allocations: 8 kB / 1.081 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002085/0.4227, allocations: 219.1 kB / 1.082 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4227, allocations: 0 / 1.082 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004292/0.4232, allocations: 99.83 kB / 1.082 GB, free: 11.86 MB / 0.8419 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.0002105/0.4234, allocations: 126.2 kB / 1.082 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008769/0.4243, allocations: 0.6775 MB / 1.082 GB, free: 11 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.4243, allocations: 0 / 1.082 GB, free: 11 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001976/0.4245, allocations: 147.9 kB / 1.083 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005086/0.425, allocations: 81.47 kB / 1.083 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000935/0.426, allocations: 0.6435 MB / 1.083 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.4263, allocations: 0.7811 MB / 1.084 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001743/0.4265, allocations: 79.16 kB / 1.084 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.487e-05/0.4266, allocations: 31.44 kB / 1.084 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.4266, allocations: 0 / 1.084 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of Templates: time 0.01/0.4366, allocations: 5.243 MB / 1.089 GB, free: 4.012 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1)