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.913/1.913, allocations: 288.3 MB / 303.2 MB, free: 8.121 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.001219/0.001219, allocations: 187.3 kB / 371.8 MB, free: 10.26 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.917/1.917, allocations: 205.4 MB / 0.6306 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008905/0.0008906, allocations: 94.81 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004409/0.0004413, allocations: 12.88 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2699, allocations: 115.3 MB / 0.9794 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7827/1.053, allocations: 138.1 MB / 1.114 GB, free: 16.23 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/1.053, allocations: 69.5 kB / 1.114 GB, free: 16.23 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01146/1.065, allocations: 4.071 MB / 1.118 GB, free: 31.73 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.863e-06/1.065, allocations: 0 / 1.118 GB, free: 31.73 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.616e-06/1.065, allocations: 4 kB / 1.118 GB, free: 31.72 MB / 0.698 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.0005073/1.065, allocations: 460.7 kB / 1.119 GB, free: 31.26 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/1.065, allocations: 11.62 kB / 1.119 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.417e-05/1.065, allocations: 13.88 kB / 1.119 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/1.065, allocations: 170.8 kB / 1.119 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.153e-05/1.065, allocations: 14.28 kB / 1.119 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.228e-05/1.065, allocations: 15.09 kB / 1.119 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/1.066, allocations: 62.28 kB / 1.119 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/1.066, allocations: 0 / 1.119 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/1.066, allocations: 4 kB / 1.119 GB, free: 31.01 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/1.066, allocations: 0 / 1.119 GB, free: 31.01 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.879e-05/1.066, allocations: 18.61 kB / 1.119 GB, free: 31.01 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000549/1.066, allocations: 411.9 kB / 1.12 GB, free: 30.74 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.156e-05/1.066, allocations: 33.47 kB / 1.12 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/1.066, allocations: 7.859 kB / 1.12 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002021/1.067, allocations: 98.97 kB / 1.12 GB, free: 30.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/1.067, allocations: 0 / 1.12 GB, free: 30.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0002815/1.067, allocations: 145.5 kB / 1.12 GB, free: 30.62 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/1.067, allocations: 51.41 kB / 1.12 GB, free: 30.55 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.309e-05/1.067, allocations: 120 kB / 1.12 GB, free: 30.46 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.663e-05/1.067, allocations: 41.33 kB / 1.12 GB, free: 30.43 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.827e-05/1.067, allocations: 102 kB / 1.12 GB, free: 30.34 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/1.067, allocations: 23.44 kB / 1.12 GB, free: 30.32 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.276e-05/1.067, allocations: 7.844 kB / 1.12 GB, free: 30.32 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.067, allocations: 325.4 kB / 1.12 GB, free: 30.01 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/1.067, allocations: 83.67 kB / 1.12 GB, free: 30.01 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/1.068, allocations: 138.2 kB / 1.121 GB, free: 29.95 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/1.068, allocations: 165.1 kB / 1.121 GB, free: 29.86 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.068, allocations: 3.906 kB / 1.121 GB, free: 29.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004749/1.068, allocations: 374.8 kB / 1.121 GB, free: 29.71 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.032e-05/1.068, allocations: 98.47 kB / 1.121 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/1.068, allocations: 4.188 kB / 1.121 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/1.068, allocations: 3.844 kB / 1.121 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.23e-05/1.068, allocations: 6.75 kB / 1.121 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/1.068, allocations: 3.969 kB / 1.121 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000437/1.069, allocations: 108.2 kB / 1.121 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-05/1.069, allocations: 24.58 kB / 1.121 GB, free: 29.61 MB / 0.698 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.0001181/1.069, allocations: 133.8 kB / 1.122 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.351e-05/1.069, allocations: 7.656 kB / 1.122 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.637e-05/1.069, allocations: 11.3 kB / 1.122 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/1.069, allocations: 7.844 kB / 1.122 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.069, allocations: 0 / 1.122 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/1.069, allocations: 0 / 1.122 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/1.069, allocations: 193.3 kB / 1.122 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/1.069, allocations: 0 / 1.122 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.128e-06/1.069, allocations: 0 / 1.122 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/1.069, allocations: 7.875 kB / 1.122 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/1.069, allocations: 3.141 kB / 1.122 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/1.069, allocations: 0 / 1.122 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/1.069, allocations: 0 / 1.122 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/1.07, allocations: 137.7 kB / 1.122 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.826e-05/1.07, allocations: 87.48 kB / 1.122 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/1.07, allocations: 0 / 1.122 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.256e-05/1.07, allocations: 7.812 kB / 1.122 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/1.07, allocations: 21.36 kB / 1.122 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/1.07, allocations: 3.875 kB / 1.122 GB, free: 29.09 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.751e-05/1.07, allocations: 98.8 kB / 1.122 GB, free: 29.01 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.11e-07/1.07, allocations: 0 / 1.122 GB, free: 29.01 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002517/1.07, allocations: 45.66 kB / 1.122 GB, free: 29.01 MB / 0.698 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.0001712/1.07, allocations: 115 kB / 1.122 GB, free: 28.92 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004365/1.071, allocations: 364.4 kB / 1.123 GB, free: 28.72 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.071, allocations: 0 / 1.123 GB, free: 28.72 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.521e-05/1.071, allocations: 40.66 kB / 1.123 GB, free: 28.72 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/1.071, allocations: 25.62 kB / 1.123 GB, free: 28.72 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003634/1.071, allocations: 204.5 kB / 1.123 GB, free: 28.56 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/1.072, allocations: 0.6964 MB / 1.124 GB, free: 27.87 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.186e-05/1.072, allocations: 8.062 kB / 1.124 GB, free: 27.87 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2e-05/1.072, allocations: 15.06 kB / 1.124 GB, free: 27.86 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/1.072, allocations: 0 / 1.124 GB, free: 27.86 MB / 0.698 GB Notification: Performance of Templates: time 0.004764/1.076, allocations: 2.392 MB / 1.126 GB, free: 27.64 MB / 0.698 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)