Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.743/1.743, allocations: 293 MB / 309 MB, free: 4.816 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.001038/0.001038, allocations: 192.1 kB / 378.7 MB, free: 1.012 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.706/1.706, allocations: 205.4 MB / 0.6383 GB, free: 8.223 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.0007324/0.0007324, allocations: 90.72 kB / 0.7527 GB, free: 62.88 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003797/0.0003797, allocations: 12 kB / 0.8768 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2639, allocations: 116.4 MB / 0.9905 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6903/0.9543, allocations: 139.2 MB / 1.126 GB, free: 34.65 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/0.9546, allocations: 71.62 kB / 1.126 GB, free: 34.59 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01082/0.9655, allocations: 4.086 MB / 1.13 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.078e-06/0.9655, allocations: 0 / 1.13 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.185e-05/0.9656, allocations: 0 / 1.13 GB, free: 31.71 MB / 0.7292 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.0006518/0.9662, allocations: 463.7 kB / 1.131 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/0.9663, allocations: 12.69 kB / 1.131 GB, free: 31.19 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.9664, allocations: 13.53 kB / 1.131 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.9666, allocations: 175.6 kB / 1.131 GB, free: 30.97 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.749e-05/0.9666, allocations: 12.38 kB / 1.131 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.796e-05/0.9667, allocations: 12.38 kB / 1.131 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.9669, allocations: 60.62 kB / 1.131 GB, free: 30.89 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.9669, allocations: 192 / 1.131 GB, free: 30.89 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.967, allocations: 8.5 kB / 1.131 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.967, allocations: 0.9844 kB / 1.131 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.197e-05/0.9671, allocations: 24.38 kB / 1.131 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006738/0.9677, allocations: 418.8 kB / 1.132 GB, free: 30.48 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.156e-05/0.9678, allocations: 33.91 kB / 1.132 GB, free: 30.45 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.988e-05/0.9679, allocations: 16.86 kB / 1.132 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.9679, allocations: 3.141 kB / 1.132 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002377/0.9682, allocations: 103.9 kB / 1.132 GB, free: 30.33 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 2.715e-06/0.9682, allocations: 0 / 1.132 GB, free: 30.33 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0003737/0.9685, allocations: 136.8 kB / 1.132 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.9686, allocations: 58.73 kB / 1.132 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.9687, allocations: 139.2 kB / 1.132 GB, free: 30 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/0.9688, allocations: 33.7 kB / 1.132 GB, free: 29.96 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.755e-05/0.9689, allocations: 100 kB / 1.132 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.9689, allocations: 19.88 kB / 1.132 GB, free: 29.84 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/0.9689, allocations: 4 kB / 1.132 GB, free: 29.84 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.319e-05/0.969, allocations: 326.2 kB / 1.133 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.9692, allocations: 85.55 kB / 1.133 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/0.9694, allocations: 139.3 kB / 1.133 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002662/0.9697, allocations: 239.8 kB / 1.133 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.9697, allocations: 0 / 1.133 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005493/0.9703, allocations: 369.3 kB / 1.133 GB, free: 28.69 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.307e-05/0.9704, allocations: 100.9 kB / 1.133 GB, free: 28.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.9704, allocations: 4.688 kB / 1.133 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.9704, allocations: 0 / 1.133 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.961e-05/0.9705, allocations: 12.12 kB / 1.133 GB, free: 28.56 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.9705, allocations: 8 kB / 1.133 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004388/0.9709, allocations: 107 kB / 1.134 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.414e-05/0.971, allocations: 24.36 kB / 1.134 GB, free: 28.46 MB / 0.7292 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 () * Number of clocked 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.0001259/0.9711, allocations: 133.7 kB / 1.134 GB, free: 28.32 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.9711, allocations: 12.41 kB / 1.134 GB, free: 28.3 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.21e-05/0.9712, allocations: 11.75 kB / 1.134 GB, free: 28.3 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.9712, allocations: 4 kB / 1.134 GB, free: 28.29 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.9712, allocations: 0 / 1.134 GB, free: 28.29 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.9712, allocations: 0 / 1.134 GB, free: 28.29 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.9714, allocations: 195.7 kB / 1.134 GB, free: 28.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.9714, allocations: 0 / 1.134 GB, free: 28.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.153e-05/0.9714, allocations: 0 / 1.134 GB, free: 28.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.9714, allocations: 4.656 kB / 1.134 GB, free: 28.06 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.9714, allocations: 3.922 kB / 1.134 GB, free: 28.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.9714, allocations: 4 kB / 1.134 GB, free: 28.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.9715, allocations: 0 / 1.134 GB, free: 28.06 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.9717, allocations: 140.9 kB / 1.134 GB, free: 27.91 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.639e-05/0.9717, allocations: 81.02 kB / 1.134 GB, free: 27.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.9717, allocations: 8 kB / 1.134 GB, free: 27.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.275e-05/0.9718, allocations: 3.375 kB / 1.134 GB, free: 27.81 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.612e-05/0.9718, allocations: 7.422 kB / 1.134 GB, free: 27.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.9718, allocations: 13.16 kB / 1.134 GB, free: 27.79 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.902e-05/0.9719, allocations: 101.1 kB / 1.134 GB, free: 27.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9719, allocations: 0 / 1.134 GB, free: 27.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002833/0.9722, allocations: 47.56 kB / 1.134 GB, free: 27.66 MB / 0.7292 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 () * Number of clocked 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.0002329/0.9724, allocations: 111.2 kB / 1.134 GB, free: 27.54 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004399/0.9729, allocations: 366.2 kB / 1.135 GB, free: 27.17 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.9729, allocations: 384 / 1.135 GB, free: 27.17 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.909e-05/0.973, allocations: 44.44 kB / 1.135 GB, free: 27.13 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.9733, allocations: 27.25 kB / 1.135 GB, free: 27.11 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004334/0.9737, allocations: 201.6 kB / 1.135 GB, free: 26.9 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001782/0.9739, allocations: 0.6965 MB / 1.136 GB, free: 26.18 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.343e-05/0.974, allocations: 12.89 kB / 1.136 GB, free: 26.18 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.081e-05/0.974, allocations: 11.44 kB / 1.136 GB, free: 26.17 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/0.974, allocations: 0 / 1.136 GB, free: 26.17 MB / 0.7292 GB Notification: Performance of Templates: time 0.006233/0.9802, allocations: 2.441 MB / 1.138 GB, free: 24.83 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1)