Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.717/1.717, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001409/0.001409, allocations: 176.9 kB / 361.4 MB, free: 6.793 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.845/1.845, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0008598/0.0008599, allocations: 99 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.076e-05/3.071e-05, allocations: 8 kB / 0.8518 GB, free: 2.695 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7542/0.7543, allocations: 115.3 MB / 0.9644 GB, free: 78.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1992/0.9535, allocations: 137.4 MB / 1.099 GB, free: 2.422 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/0.9539, allocations: 73.27 kB / 1.099 GB, free: 2.352 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01264/0.9665, allocations: 4.038 MB / 1.103 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9666, allocations: 0 / 1.103 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.9666, allocations: 0 / 1.103 GB, free: 14.39 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.0005771/0.9672, allocations: 447.5 kB / 1.103 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/0.9673, allocations: 12.03 kB / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.9674, allocations: 16.94 kB / 1.103 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.9676, allocations: 176.9 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/0.9676, allocations: 4 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.308e-05/0.9677, allocations: 17.77 kB / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.929e-05/0.9678, allocations: 19.94 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.711e-05/0.9679, allocations: 45.69 kB / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.9679, allocations: 4 kB / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.9679, allocations: 0 / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.9679, allocations: 0 / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000621/0.9686, allocations: 393.1 kB / 1.104 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.242e-05/0.9686, allocations: 34.52 kB / 1.104 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.388e-05/0.9687, allocations: 16.86 kB / 1.104 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.9687, allocations: 0 / 1.104 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001737/0.9689, allocations: 88.52 kB / 1.104 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.835e-06/0.9689, allocations: 5.078 kB / 1.104 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002707/0.9692, allocations: 112.1 kB / 1.104 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.9692, allocations: 55.41 kB / 1.104 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.9694, allocations: 124.8 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.468e-05/0.9694, allocations: 33.7 kB / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.05e-05/0.9695, allocations: 96.2 kB / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.9695, allocations: 23.7 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.462e-05/0.9696, allocations: 7.938 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.9697, allocations: 322.8 kB / 1.105 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.9699, allocations: 75.98 kB / 1.105 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.9701, allocations: 125.9 kB / 1.105 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004558/0.9705, allocations: 105 kB / 1.105 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.9705, allocations: 0 / 1.105 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006924/0.9712, allocations: 277.3 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.399e-05/0.9713, allocations: 101.1 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.9713, allocations: 8.188 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.9714, allocations: 0 / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.555e-05/0.9714, allocations: 4 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.9714, allocations: 7.938 kB / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004851/0.9719, allocations: 107.9 kB / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.961e-05/0.972, allocations: 19.11 kB / 1.105 GB, free: 11.32 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,$PRE.booPul3.y,booPul3.y,logicalSwitch.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.0001457/0.9721, allocations: 121.8 kB / 1.105 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.9721, allocations: 11.89 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.814e-05/0.9722, allocations: 8.625 kB / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.9722, allocations: 0 / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.9722, allocations: 0 / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.9722, allocations: 5.109 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.9724, allocations: 166.1 kB / 1.106 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.9724, allocations: 4 kB / 1.106 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.405e-05/0.9724, allocations: 0 / 1.106 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.9724, allocations: 7.938 kB / 1.106 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.9725, allocations: 7.984 kB / 1.106 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.9725, allocations: 0 / 1.106 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.9725, allocations: 0 / 1.106 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.9727, allocations: 132.7 kB / 1.106 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.327e-05/0.9727, allocations: 84.95 kB / 1.106 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.9727, allocations: 7.984 kB / 1.106 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.231e-05/0.9728, allocations: 0 / 1.106 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.9728, allocations: 11.98 kB / 1.106 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.9728, allocations: 8 kB / 1.106 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.363e-05/0.9729, allocations: 89.67 kB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9729, allocations: 0 / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002794/0.9732, allocations: 55.86 kB / 1.106 GB, free: 10.53 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,booPul3.y,logicalSwitch.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.0002073/0.9734, allocations: 122.3 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004449/0.9739, allocations: 342.4 kB / 1.106 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9739, allocations: 4.062 kB / 1.106 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.568e-05/0.9739, allocations: 28 kB / 1.106 GB, free: 10 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.9742, allocations: 23.94 kB / 1.106 GB, free: 9.98 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003403/0.9745, allocations: 112.9 kB / 1.107 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.9748, allocations: 0.7002 MB / 1.107 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.332e-05/0.9749, allocations: 12.42 kB / 1.107 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.348e-05/0.9749, allocations: 15.38 kB / 1.107 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of SimCode: time 3.31e-07/0.9749, allocations: 0 / 1.107 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of Templates: time 0.005261/0.9802, allocations: 2.214 MB / 1.109 GB, free: 6.977 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1)