Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.603/1.603, allocations: 289.9 MB / 297.4 MB, free: 6.371 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00103/0.001031, allocations: 180.8 kB / 366.7 MB, free: 1.648 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 205.2 MB / 0.626 GB, free: 7.176 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000814/0.000814, allocations: 97.66 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.133e-05/2.136e-05, allocations: 4 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6063/0.6064, allocations: 116.3 MB / 0.9733 GB, free: 76.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1875/0.7939, allocations: 138.3 MB / 1.108 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/0.7942, allocations: 71.95 kB / 1.108 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.00829/0.8025, allocations: 2.901 MB / 1.111 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.246e-06/0.8025, allocations: 3.984 kB / 1.111 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.8026, allocations: 0 / 1.111 GB, free: 8.957 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004246/0.803, allocations: 405.8 kB / 1.112 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.803, allocations: 8.031 kB / 1.112 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.749e-05/0.8031, allocations: 11.41 kB / 1.112 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.8032, allocations: 172.4 kB / 1.112 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.8033, allocations: 0 / 1.112 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.587e-05/0.8033, allocations: 8 kB / 1.112 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.708e-05/0.8034, allocations: 15.94 kB / 1.112 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.085e-05/0.8035, allocations: 45.67 kB / 1.112 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.8035, allocations: 0 / 1.112 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.8035, allocations: 0 / 1.112 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.8035, allocations: 4 kB / 1.112 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004646/0.804, allocations: 340.3 kB / 1.112 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.208e-05/0.8041, allocations: 26.58 kB / 1.112 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.25e-05/0.8041, allocations: 12.86 kB / 1.112 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.8041, allocations: 8 kB / 1.112 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001412/0.8043, allocations: 81.55 kB / 1.112 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.8043, allocations: 6.906 kB / 1.112 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002066/0.8045, allocations: 73.59 kB / 1.112 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.8046, allocations: 55.41 kB / 1.112 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.666e-05/0.8047, allocations: 109.1 kB / 1.113 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.8047, allocations: 33.64 kB / 1.113 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.108e-05/0.8048, allocations: 96.23 kB / 1.113 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.56e-05/0.8048, allocations: 15.88 kB / 1.113 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.145e-05/0.8048, allocations: 8 kB / 1.113 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.805, allocations: 314.8 kB / 1.113 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.921e-05/0.8051, allocations: 55.92 kB / 1.113 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.8052, allocations: 80.28 kB / 1.113 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/0.8055, allocations: 71.94 kB / 1.113 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.8055, allocations: 0 / 1.113 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000457/0.8059, allocations: 205.1 kB / 1.113 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.79e-05/0.806, allocations: 72.8 kB / 1.113 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.806, allocations: 4.125 kB / 1.113 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.8061, allocations: 0 / 1.113 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.965e-05/0.8061, allocations: 4 kB / 1.113 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.8061, allocations: 0 / 1.113 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003002/0.8064, allocations: 71.94 kB / 1.114 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/0.8064, allocations: 11.98 kB / 1.114 GB, free: 6.355 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.463e-05/0.8065, allocations: 120.9 kB / 1.114 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.399e-05/0.8066, allocations: 7.906 kB / 1.114 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.846e-05/0.8066, allocations: 8.609 kB / 1.114 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.8066, allocations: 0 / 1.114 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.8066, allocations: 4 kB / 1.114 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.8066, allocations: 0 / 1.114 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.8068, allocations: 150.2 kB / 1.114 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.8068, allocations: 3.953 kB / 1.114 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.864e-06/0.8068, allocations: 0 / 1.114 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.8068, allocations: 0 / 1.114 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.8068, allocations: 4 kB / 1.114 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.8068, allocations: 3.984 kB / 1.114 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.8068, allocations: 0 / 1.114 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.8069, allocations: 109 kB / 1.114 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.236e-05/0.807, allocations: 81.06 kB / 1.114 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.8071, allocations: 7.984 kB / 1.114 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.996e-05/0.8071, allocations: 4 kB / 1.114 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.8071, allocations: 4 kB / 1.114 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.8072, allocations: 3.984 kB / 1.114 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.036e-05/0.8072, allocations: 92.62 kB / 1.114 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8072, allocations: 0 / 1.114 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002333/0.8075, allocations: 28 kB / 1.114 GB, free: 5.652 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001998/0.8077, allocations: 123.4 kB / 1.114 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003046/0.808, allocations: 230.7 kB / 1.115 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.808, allocations: 0 / 1.115 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.216e-05/0.808, allocations: 27.94 kB / 1.115 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.8083, allocations: 14.41 kB / 1.115 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002561/0.8085, allocations: 91.42 kB / 1.115 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.8088, allocations: 0.6885 MB / 1.115 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.672e-05/0.8088, allocations: 4 kB / 1.115 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.051e-05/0.8089, allocations: 17.39 kB / 1.115 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.8089, allocations: 0 / 1.115 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of Templates: time 0.003807/0.8127, allocations: 1.537 MB / 1.117 GB, free: 2.914 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1)