Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.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.BooleanExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001465/0.001466, allocations: 195.8 kB / 16.26 MB, free: 6.621 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.399/1.399, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.876/2.876, allocations: 472.6 MB / 0.7448 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 58.05 kB / 0.9115 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.3949, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002525/0.3974, allocations: 1.092 MB / 1.069 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001962/0.3994, allocations: 1.459 MB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.3996, allocations: 0 / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001435/0.3997, allocations: 19.8 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001224/0.3999, allocations: 27.78 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.4011, allocations: 433.5 kB / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005902/0.4017, allocations: 0.531 MB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003072/0.402, allocations: 131.5 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003546/0.4023, allocations: 211.5 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002568/0.4026, allocations: 163.4 kB / 1.072 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.4027, allocations: 48 kB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.4029, allocations: 63.98 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.071e-05/0.403, allocations: 67.77 kB / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002558/0.4032, allocations: 191.2 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000556/0.4038, allocations: 0.5027 MB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4038, allocations: 3.938 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4038, allocations: 0 / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.087e-05/0.4038, allocations: 0 / 1.072 GB, free: 5.84 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001065/0.4049, allocations: 0.7007 MB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.405, allocations: 8.031 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.4051, allocations: 40.56 kB / 1.073 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.4062, allocations: 360.1 kB / 1.074 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.17e-05/0.4063, allocations: 28.73 kB / 1.074 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.134e-05/0.4063, allocations: 32.38 kB / 1.074 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004117/0.4067, allocations: 237 kB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.4068, allocations: 3.938 kB / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.629e-05/0.4068, allocations: 12 kB / 1.074 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.4068, allocations: 7.984 kB / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002361/0.4071, allocations: 139.3 kB / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.4083, allocations: 0.7691 MB / 1.075 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.4086, allocations: 190.5 kB / 1.075 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002738/0.4089, allocations: 206.1 kB / 1.075 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.4089, allocations: 4 kB / 1.075 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003694/0.4093, allocations: 247.8 kB / 1.075 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=28): time 1.874e-06/0.4093, allocations: 4 kB / 1.075 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of matching and sorting (n=28): time 0.0007974/0.4101, allocations: 423 kB / 1.076 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.373e-05/0.4102, allocations: 106.8 kB / 1.076 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003864/0.4106, allocations: 282.5 kB / 1.076 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.713e-05/0.4107, allocations: 41.64 kB / 1.076 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.4109, allocations: 160.6 kB / 1.076 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.995e-05/0.411, allocations: 55.3 kB / 1.076 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000342/0.4114, allocations: 145.5 kB / 1.077 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000233/0.4116, allocations: 350.7 kB / 1.077 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004485/0.4121, allocations: 196.7 kB / 1.077 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006457/0.4127, allocations: 317.8 kB / 1.077 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007161/0.4135, allocations: 0.5194 MB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.4135, allocations: 0 / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001355/0.4148, allocations: 0.7244 MB / 1.079 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/0.415, allocations: 122.8 kB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.415, allocations: 4 kB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.605e-05/0.415, allocations: 8 kB / 1.079 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.4151, allocations: 20.33 kB / 1.079 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.828e-05/0.4152, allocations: 11.94 kB / 1.079 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007111/0.4159, allocations: 131.5 kB / 1.079 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/0.416, allocations: 63.92 kB / 1.079 GB, free: 14.81 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,con.y,con1.y,extIndBoo.u[4],extIndBoo.u[1],extIndBoo1.u[4],extIndBoo2.u[4],extIndBoo3.u[4],extIndBoo4.u[4],extIndBoo1.u[1],extIndBoo2.u[1],extIndBoo3.u[1],extIndBoo4.u[1],intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,booPul1.y,$PRE.booPul1.y,booPul.y,$PRE.booPul.y,extIndBoo4.y,extIndBoo4.u[3],extIndBoo4.u[2],extIndBoo3.y,extIndBoo3.u[3],extIndBoo3.u[2],extIndBoo2.y,extIndBoo2.u[3],extIndBoo2.u[2],extIndBoo1.y,extIndBoo1.u[3],extIndBoo1.u[2],extIndBoo.u[3],extIndBoo.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.0003137/0.4164, allocations: 205.4 kB / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.528e-05/0.4164, allocations: 27.72 kB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006154/0.4171, allocations: 356.5 kB / 1.079 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.4171, allocations: 0 / 1.079 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4171, allocations: 0 / 1.079 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.4171, allocations: 7.984 kB / 1.079 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009119/0.418, allocations: 0.7167 MB / 1.08 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.418, allocations: 0 / 1.08 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.52e-05/0.4181, allocations: 23.91 kB / 1.08 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.4181, allocations: 0 / 1.08 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.4181, allocations: 11.98 kB / 1.08 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.4181, allocations: 3.938 kB / 1.08 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4182, allocations: 4 kB / 1.08 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004606/0.4186, allocations: 419.5 kB / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.799e-05/0.4187, allocations: 108.7 kB / 1.081 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.677e-05/0.4188, allocations: 4 kB / 1.081 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.4189, allocations: 15.92 kB / 1.081 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.763e-05/0.4189, allocations: 23.97 kB / 1.081 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.419, allocations: 8 kB / 1.081 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001956/0.4192, allocations: 190 kB / 1.081 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.71e-07/0.4192, allocations: 0 / 1.081 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004194/0.4196, allocations: 91.98 kB / 1.081 GB, free: 12.52 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 (extIndBoo.u[2],extIndBoo.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndBoo1.u[2],extIndBoo1.u[3],extIndBoo1.y,extIndBoo2.u[2],extIndBoo2.u[3],extIndBoo2.y,extIndBoo3.u[2],extIndBoo3.u[3],extIndBoo3.y,extIndBoo4.u[2],extIndBoo4.u[3],extIndBoo4.y,booPul.y,booPul1.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.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.0002022/0.4198, allocations: 129.4 kB / 1.081 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009666/0.4208, allocations: 0.6893 MB / 1.082 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4208, allocations: 192 / 1.082 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001848/0.421, allocations: 139.8 kB / 1.082 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004469/0.4215, allocations: 62.36 kB / 1.082 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008893/0.4224, allocations: 0.5869 MB / 1.083 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.4227, allocations: 0.7648 MB / 1.083 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000159/0.4229, allocations: 66.92 kB / 1.083 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.342e-05/0.4229, allocations: 35.42 kB / 1.083 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of SimCode: time 7.11e-07/0.4229, allocations: 0 / 1.083 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of Templates: time 0.009721/0.4327, allocations: 4.959 MB / 1.088 GB, free: 5.043 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1)