Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001149/0.001149, 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.001374/0.001374, allocations: 197.9 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.466/1.466, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.17/3.17, allocations: 472.6 MB / 0.7447 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 64.92 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.3842, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.003587/0.3879, allocations: 1.087 MB / 1.069 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002751/0.3907, allocations: 1.51 MB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002161/0.391, allocations: 3.938 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001964/0.3912, allocations: 19.86 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001626/0.3914, allocations: 35.72 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.3928, allocations: 430.9 kB / 1.071 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007303/0.3935, allocations: 451.8 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003618/0.3939, allocations: 131.5 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003723/0.3943, allocations: 179.5 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002907/0.3946, allocations: 163.4 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.3947, allocations: 28 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001836/0.3949, allocations: 35.94 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.3951, allocations: 55.83 kB / 1.072 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002919/0.3954, allocations: 183.2 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007639/0.3961, allocations: 486.8 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3962, allocations: 0 / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.92e-07/0.3962, allocations: 4 kB / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.929e-05/0.3962, allocations: 0 / 1.072 GB, free: 6.133 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.001309/0.3975, allocations: 0.6967 MB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.3976, allocations: 12.03 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/0.3977, allocations: 40.56 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/0.399, allocations: 360.2 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.719e-05/0.3991, allocations: 20.75 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.3992, allocations: 36.36 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005411/0.3997, allocations: 229.1 kB / 1.074 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.3998, allocations: 3.938 kB / 1.074 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.16e-05/0.3998, allocations: 8 kB / 1.074 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.3998, allocations: 7.984 kB / 1.074 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002712/0.4001, allocations: 147.2 kB / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001494/0.4016, allocations: 0.7769 MB / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003157/0.4019, allocations: 184 kB / 1.075 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002816/0.4022, allocations: 210.3 kB / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.4022, allocations: 4 kB / 1.075 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003552/0.4026, allocations: 239.9 kB / 1.075 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=28): time 1.363e-06/0.4026, allocations: 0 / 1.075 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=28): time 0.0008577/0.4035, allocations: 427 kB / 1.075 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.414e-05/0.4036, allocations: 110.8 kB / 1.076 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003552/0.4039, allocations: 274.5 kB / 1.076 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.054e-05/0.404, allocations: 41.7 kB / 1.076 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.4042, allocations: 160.6 kB / 1.076 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.551e-05/0.4043, allocations: 63.28 kB / 1.076 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000265/0.4045, allocations: 145.5 kB / 1.076 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.4047, allocations: 342.8 kB / 1.077 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003777/0.4051, allocations: 200.7 kB / 1.077 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005019/0.4056, allocations: 319.9 kB / 1.077 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009138/0.4065, allocations: 0.5233 MB / 1.078 GB, free: 248 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.4065, allocations: 0 / 1.078 GB, free: 248 kB / 0.8262 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001361/0.4079, allocations: 0.7166 MB / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.408, allocations: 134.7 kB / 1.078 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.408, allocations: 4.406 kB / 1.078 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/0.4081, allocations: 8 kB / 1.078 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.4082, allocations: 19.92 kB / 1.078 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.4082, allocations: 4 kB / 1.078 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007322/0.4089, allocations: 135.4 kB / 1.079 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.4091, allocations: 71.86 kB / 1.079 GB, free: 15.1 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.0002768/0.4094, allocations: 185.6 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.276e-05/0.4094, allocations: 27.7 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006302/0.4101, allocations: 361 kB / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.4101, allocations: 4 kB / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.4101, allocations: 0 / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.4101, allocations: 0 / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.4111, allocations: 0.7207 MB / 1.08 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.4112, allocations: 0 / 1.08 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.227e-05/0.4113, allocations: 23.92 kB / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.4113, allocations: 0 / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.4113, allocations: 8 kB / 1.08 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/0.4113, allocations: 3.938 kB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.4113, allocations: 4 kB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005103/0.4118, allocations: 407 kB / 1.08 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.4119, allocations: 116.6 kB / 1.08 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.452e-05/0.412, allocations: 4 kB / 1.08 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.4122, allocations: 19.92 kB / 1.08 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.969e-05/0.4122, allocations: 23.91 kB / 1.08 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.4123, allocations: 12 kB / 1.08 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002247/0.4125, allocations: 190 kB / 1.081 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4125, allocations: 0 / 1.081 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000482/0.413, allocations: 88 kB / 1.081 GB, free: 12.83 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.0002822/0.4133, allocations: 126.2 kB / 1.081 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001168/0.4145, allocations: 0.6617 MB / 1.081 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/0.4145, allocations: 0 / 1.081 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004155/0.4149, allocations: 147.8 kB / 1.082 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005337/0.4155, allocations: 52.89 kB / 1.082 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.4166, allocations: 0.5847 MB / 1.082 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008384/0.4174, allocations: 0.769 MB / 1.083 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000344/0.4178, allocations: 66.92 kB / 1.083 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.987e-05/0.4179, allocations: 31.42 kB / 1.083 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of SimCode: time 3.91e-07/0.4179, allocations: 0 / 1.083 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of Templates: time 0.01205/0.4299, allocations: 4.761 MB / 1.088 GB, free: 5.582 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1)