Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.176/2.176, allocations: 251 MB / 265.9 MB, free: 11.67 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001493/0.001493, allocations: 179.3 kB / 325.5 MB, free: 2.883 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.406/2.406, allocations: 205.4 MB / 0.5764 GB, free: 20.83 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001099/0.001098, allocations: 102.6 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006461/0.0006466, allocations: 11.94 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.215, allocations: 106.3 MB / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.224/0.4391, allocations: 131.3 MB / 1.027 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/0.4394, allocations: 71.95 kB / 1.027 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003583/0.443, allocations: 0.8994 MB / 1.028 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.074e-06/0.443, allocations: 4 kB / 1.028 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.688e-05/0.4431, allocations: 4 kB / 1.028 GB, free: 13.03 MB / 0.6823 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.0006475/0.4437, allocations: 371.1 kB / 1.028 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.4438, allocations: 8.031 kB / 1.028 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.685e-05/0.4439, allocations: 30.56 kB / 1.028 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.511e-05/0.4439, allocations: 8 kB / 1.028 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.4441, allocations: 182.8 kB / 1.029 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.4441, allocations: 7.938 kB / 1.029 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.4441, allocations: 4 kB / 1.029 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.4443, allocations: 49.69 kB / 1.029 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.4443, allocations: 0 / 1.029 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.4443, allocations: 0 / 1.029 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.4443, allocations: 0 / 1.029 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.894e-05/0.4444, allocations: 19.98 kB / 1.029 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004987/0.4449, allocations: 284.8 kB / 1.029 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.4451, allocations: 46.5 kB / 1.029 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.4451, allocations: 0 / 1.029 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001912/0.4453, allocations: 71.58 kB / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.964e-06/0.4453, allocations: 4 kB / 1.029 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0003005/0.4456, allocations: 89.75 kB / 1.029 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.4457, allocations: 59.36 kB / 1.029 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.4458, allocations: 109 kB / 1.029 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.4459, allocations: 29.7 kB / 1.029 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.194e-05/0.4459, allocations: 80.14 kB / 1.029 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.446, allocations: 19.8 kB / 1.029 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.662e-06/0.446, allocations: 0 / 1.029 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.4461, allocations: 322.8 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.807e-05/0.4462, allocations: 16 kB / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.218e-05/0.4463, allocations: 34.56 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.917e-05/0.4463, allocations: 12 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.4464, allocations: 3.938 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002001/0.4466, allocations: 77.53 kB / 1.03 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.4466, allocations: 8 kB / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4466, allocations: 4.062 kB / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.4466, allocations: 0 / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.725e-05/0.4467, allocations: 8.172 kB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.4467, allocations: 0 / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.4469, allocations: 23.88 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.4469, allocations: 8 kB / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001182/0.4471, allocations: 119.5 kB / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.4471, allocations: 4 kB / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.168e-05/0.4471, allocations: 12.38 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.4472, allocations: 3.938 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.4472, allocations: 0 / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.4472, allocations: 0 / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/0.4474, allocations: 181.5 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.4474, allocations: 4 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.275e-05/0.4474, allocations: 0 / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.4474, allocations: 0 / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.4475, allocations: 7.984 kB / 1.03 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.4475, allocations: 3.984 kB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4475, allocations: 4 kB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002154/0.4477, allocations: 101 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.558e-05/0.4478, allocations: 85.02 kB / 1.03 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.4478, allocations: 4 kB / 1.03 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.448, allocations: 11.98 kB / 1.03 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.145e-05/0.448, allocations: 15.97 kB / 1.03 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.4481, allocations: 4 kB / 1.03 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.943e-05/0.4481, allocations: 87.28 kB / 1.03 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.3e-07/0.4481, allocations: 3.938 kB / 1.03 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002518/0.4484, allocations: 12 kB / 1.031 GB, free: 10.11 MB / 0.6823 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 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,or1.y) * Number of discrete states: 0 () * Number of clocked 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.0005497/0.449, allocations: 0.6374 MB / 1.031 GB, free: 9.438 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000173/0.4492, allocations: 43.91 kB / 1.031 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.4492, allocations: 0 / 1.031 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.385e-05/0.4493, allocations: 28.22 kB / 1.031 GB, free: 9.367 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.4496, allocations: 8 kB / 1.031 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.4507, allocations: 0.7912 MB / 1.032 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.4511, allocations: 0.6926 MB / 1.033 GB, free: 7.789 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.646e-05/0.4511, allocations: 7.984 kB / 1.033 GB, free: 7.781 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.304e-05/0.4512, allocations: 15.44 kB / 1.033 GB, free: 7.766 MB / 0.6823 GB Notification: Performance of SimCode: time 1.383e-06/0.4512, allocations: 0 / 1.033 GB, free: 7.766 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/0.4744, allocations: 1.58 MB / 1.034 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003688/0.4749, allocations: 185.1 kB / 1.034 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.373/2.848, allocations: 0 / 1.034 GB, free: 6.066 MB / 0.6823 GB