Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.65/1.65, allocations: 289.9 MB / 297.4 MB, free: 6.457 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.0009736/0.0009736, allocations: 172.8 kB / 366.7 MB, free: 1.707 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.406/1.406, allocations: 205.2 MB / 0.626 GB, free: 7.199 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.0007974/0.0007976, allocations: 85.72 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.982e-05/1.988e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6495/0.6496, allocations: 116.3 MB / 0.9733 GB, free: 76.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1989/0.8485, allocations: 138.3 MB / 1.108 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002032/0.8488, allocations: 71.95 kB / 1.108 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01254/0.8613, allocations: 4.037 MB / 1.112 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8614, allocations: 4 kB / 1.112 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.8614, allocations: 0 / 1.112 GB, free: 7.84 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006327/0.8621, allocations: 451.5 kB / 1.113 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.703e-05/0.8621, allocations: 12.03 kB / 1.113 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.8623, allocations: 11.91 kB / 1.113 GB, free: 7.312 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.8624, allocations: 174.9 kB / 1.113 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.8625, allocations: 10.92 kB / 1.113 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.19e-05/0.8625, allocations: 16 kB / 1.113 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.667e-05/0.8626, allocations: 12 kB / 1.113 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.836e-05/0.8628, allocations: 53.69 kB / 1.113 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.8628, allocations: 3.984 kB / 1.113 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.8628, allocations: 4 kB / 1.113 GB, free: 7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.8628, allocations: 0 / 1.113 GB, free: 7 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006189/0.8634, allocations: 393 kB / 1.113 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.24e-05/0.8635, allocations: 26.58 kB / 1.114 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.476e-05/0.8636, allocations: 20.86 kB / 1.114 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.8636, allocations: 0 / 1.114 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001835/0.8638, allocations: 99.38 kB / 1.114 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.8638, allocations: 0 / 1.114 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002582/0.864, allocations: 102.2 kB / 1.114 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.8641, allocations: 55.41 kB / 1.114 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.8642, allocations: 133.1 kB / 1.114 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.396e-05/0.8643, allocations: 33.7 kB / 1.114 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.223e-05/0.8644, allocations: 92.14 kB / 1.114 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.8644, allocations: 23.7 kB / 1.114 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-05/0.8644, allocations: 4 kB / 1.114 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.8645, allocations: 330.7 kB / 1.114 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.8647, allocations: 75.98 kB / 1.114 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.8649, allocations: 119.5 kB / 1.115 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004021/0.8653, allocations: 98.23 kB / 1.115 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.8653, allocations: 0 / 1.115 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000696/0.866, allocations: 293.3 kB / 1.115 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.646e-05/0.8661, allocations: 105.1 kB / 1.115 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.8661, allocations: 0 / 1.115 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.8662, allocations: 4 kB / 1.115 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.118e-05/0.8662, allocations: 7.938 kB / 1.115 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.8662, allocations: 0 / 1.115 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004812/0.8667, allocations: 108.1 kB / 1.115 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-05/0.8667, allocations: 15.98 kB / 1.115 GB, free: 4.762 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,or1.y,$PRE.booPul3.y,booPul3.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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 0.0001481/0.8669, allocations: 120.9 kB / 1.115 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.8669, allocations: 7.906 kB / 1.115 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.45e-05/0.867, allocations: 16.62 kB / 1.115 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.867, allocations: 0 / 1.115 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.867, allocations: 3.938 kB / 1.115 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.867, allocations: 0 / 1.115 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.8671, allocations: 162.2 kB / 1.115 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.8671, allocations: 2.75 kB / 1.115 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.49e-05/0.8672, allocations: 7.984 kB / 1.115 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-06/0.8672, allocations: 4 kB / 1.115 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.8672, allocations: 0 / 1.115 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.8672, allocations: 0 / 1.115 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.8672, allocations: 0 / 1.115 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.8674, allocations: 134.9 kB / 1.116 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.678e-05/0.8674, allocations: 85 kB / 1.116 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.8675, allocations: 4 kB / 1.116 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.237e-05/0.8675, allocations: 0 / 1.116 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/0.8675, allocations: 15.97 kB / 1.116 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.8676, allocations: 4 kB / 1.116 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.247e-05/0.8676, allocations: 92.67 kB / 1.116 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8676, allocations: 0 / 1.116 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002698/0.8679, allocations: 55.88 kB / 1.116 GB, free: 3.984 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y,booPul3.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001912/0.8681, allocations: 112.6 kB / 1.116 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000411/0.8685, allocations: 342.1 kB / 1.116 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.8685, allocations: 0 / 1.116 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.145e-05/0.8686, allocations: 35.98 kB / 1.116 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.8688, allocations: 33.64 kB / 1.116 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002969/0.8692, allocations: 112.1 kB / 1.116 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.8694, allocations: 0.6963 MB / 1.117 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.583e-05/0.8695, allocations: 8.438 kB / 1.117 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.649e-05/0.8695, allocations: 15.44 kB / 1.117 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.8695, allocations: 4 kB / 1.117 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of Templates: time 0.005113/0.8746, allocations: 2.184 MB / 1.119 GB, free: 452 kB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)