Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.And,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_And",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.294/2.294, allocations: 251 MB / 265.9 MB, free: 11.68 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.001496/0.001496, allocations: 181 kB / 325.5 MB, free: 2.875 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.298/2.298, allocations: 205.4 MB / 0.5764 GB, free: 20.75 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.001131/0.00113, allocations: 96.94 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000493/0.0004931, allocations: 12.09 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2108, allocations: 106.3 MB / 0.8988 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2215/0.4324, allocations: 131.2 MB / 1.027 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/0.4327, allocations: 75.95 kB / 1.027 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003472/0.4362, allocations: 0.8994 MB / 1.028 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.365e-06/0.4363, allocations: 0 / 1.028 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.4363, allocations: 4 kB / 1.028 GB, free: 13.02 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.0006369/0.4369, allocations: 367.1 kB / 1.028 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.437, allocations: 12.03 kB / 1.028 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.452e-05/0.4371, allocations: 42.48 kB / 1.028 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.4371, allocations: 4 kB / 1.028 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.4373, allocations: 174.9 kB / 1.029 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.4373, allocations: 0 / 1.029 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.4373, allocations: 11.92 kB / 1.029 GB, free: 12.33 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.4375, allocations: 49.67 kB / 1.029 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.4375, allocations: 4 kB / 1.029 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.4375, allocations: 0 / 1.029 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.4375, allocations: 0 / 1.029 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.229e-05/0.4376, allocations: 23.98 kB / 1.029 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006815/0.4383, allocations: 304.8 kB / 1.029 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.4385, allocations: 46.5 kB / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.4385, allocations: 8 kB / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001906/0.4387, allocations: 63.52 kB / 1.029 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.414e-06/0.4387, allocations: 0 / 1.029 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0003145/0.439, allocations: 93.59 kB / 1.029 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.4391, allocations: 59.34 kB / 1.029 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.4392, allocations: 109 kB / 1.029 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.4393, allocations: 25.7 kB / 1.029 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.402e-05/0.4393, allocations: 92.14 kB / 1.029 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.4394, allocations: 11.8 kB / 1.029 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-06/0.4394, allocations: 8 kB / 1.029 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.4395, allocations: 310.8 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.236e-05/0.4396, allocations: 16 kB / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.312e-05/0.4397, allocations: 30.56 kB / 1.03 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.04e-05/0.4397, allocations: 16 kB / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4397, allocations: 0 / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001884/0.4399, allocations: 86.14 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.44, allocations: 7.938 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.44, allocations: 0 / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.44, allocations: 4.172 kB / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.558e-05/0.4401, allocations: 4 kB / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.4401, allocations: 7.938 kB / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.4403, allocations: 24 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.4403, allocations: 4.078 kB / 1.03 GB, free: 10.81 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,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.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.0001066/0.4404, allocations: 119.5 kB / 1.03 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.004e-05/0.4405, allocations: 7.938 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.739e-05/0.4405, allocations: 8.375 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.4405, allocations: 0 / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4405, allocations: 0 / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.4406, allocations: 7.984 kB / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.4408, allocations: 173.6 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.4408, allocations: 4 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.668e-05/0.4408, allocations: 11.92 kB / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.4408, allocations: 0 / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.4408, allocations: 4 kB / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.4409, allocations: 3.984 kB / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4409, allocations: 0 / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.4411, allocations: 96.98 kB / 1.03 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.138e-05/0.4412, allocations: 85.02 kB / 1.03 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.4412, allocations: 7.984 kB / 1.03 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.4413, allocations: 15.98 kB / 1.03 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.158e-05/0.4414, allocations: 11.98 kB / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.4414, allocations: 0 / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.52e-05/0.4415, allocations: 87.28 kB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.1e-07/0.4415, allocations: 0 / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002495/0.4418, allocations: 15.98 kB / 1.031 GB, free: 10.07 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.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.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.000512/0.4423, allocations: 0.6385 MB / 1.031 GB, free: 9.406 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001767/0.4425, allocations: 47.92 kB / 1.031 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4425, allocations: 0 / 1.031 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.744e-05/0.4426, allocations: 19.98 kB / 1.031 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.4429, allocations: 25.77 kB / 1.031 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.444, allocations: 0.7946 MB / 1.032 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.4443, allocations: 0.6848 MB / 1.033 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.154e-05/0.4443, allocations: 7.984 kB / 1.033 GB, free: 7.742 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.575e-05/0.4444, allocations: 11.44 kB / 1.033 GB, free: 7.73 MB / 0.6823 GB Notification: Performance of SimCode: time 1.402e-06/0.4444, allocations: 4 kB / 1.033 GB, free: 7.727 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02317/0.4676, allocations: 1.581 MB / 1.034 GB, free: 6.273 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003294/0.468, allocations: 182.7 kB / 1.034 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.35/2.818, allocations: 5.938 kB / 1.034 GB, free: 6.027 MB / 0.6823 GB