Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.Sources.Validation.Constant,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",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.187/2.187, 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.001558/0.001558, allocations: 177.8 kB / 325.5 MB, free: 2.895 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.381/2.381, allocations: 205.4 MB / 0.5764 GB, free: 20.8 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.001182/0.001181, allocations: 111 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004985/0.0004984, allocations: 14.69 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2145, allocations: 106.3 MB / 0.8988 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2249/0.4395, allocations: 130.7 MB / 1.026 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/0.4398, allocations: 75.94 kB / 1.027 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0006262/0.4405, allocations: 376.8 kB / 1.027 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.365e-06/0.4405, allocations: 0 / 1.027 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.4405, allocations: 0 / 1.027 GB, free: 14.14 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000329/0.4409, allocations: 311.4 kB / 1.027 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.4409, allocations: 8.031 kB / 1.027 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.98e-05/0.441, allocations: 34.5 kB / 1.027 GB, free: 13.74 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.542e-05/0.441, allocations: 7.906 kB / 1.027 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.4412, allocations: 171 kB / 1.027 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.4412, allocations: 4 kB / 1.027 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.4412, allocations: 0 / 1.027 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.566e-05/0.4413, allocations: 25.7 kB / 1.027 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.4413, allocations: 0 / 1.027 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.4413, allocations: 0 / 1.027 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.4414, allocations: 0 / 1.027 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.31e-05/0.4414, allocations: 8 kB / 1.027 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003822/0.4418, allocations: 387.4 kB / 1.028 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.4419, allocations: 169.1 kB / 1.028 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.998e-05/0.442, allocations: 75.28 kB / 1.028 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.311e-05/0.442, allocations: 109.8 kB / 1.028 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.483e-06/0.442, allocations: 4 kB / 1.028 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 8.106e-05/0.4421, allocations: 29.64 kB / 1.028 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.768e-05/0.4422, allocations: 131.5 kB / 1.028 GB, free: 12.51 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.048e-05/0.4423, allocations: 100.9 kB / 1.028 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.4424, allocations: 25.7 kB / 1.028 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.005e-05/0.4424, allocations: 84.14 kB / 1.028 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-06/0.4424, allocations: 0 / 1.028 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-07/0.4424, allocations: 0 / 1.028 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.4426, allocations: 315 kB / 1.029 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.798e-06/0.4426, allocations: 0 / 1.029 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.359e-06/0.4426, allocations: 0 / 1.029 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.789e-05/0.4426, allocations: 75.28 kB / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-05/0.4427, allocations: 75.28 kB / 1.029 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.186e-05/0.4428, allocations: 33.64 kB / 1.029 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.561e-05/0.4428, allocations: 79.28 kB / 1.029 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.011e-05/0.4429, allocations: 79.27 kB / 1.029 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.144e-05/0.443, allocations: 164.1 kB / 1.029 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.927e-05/0.443, allocations: 79.22 kB / 1.029 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-05/0.4431, allocations: 150.6 kB / 1.029 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.206e-05/0.4432, allocations: 79.22 kB / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.801e-05/0.4432, allocations: 83.23 kB / 1.03 GB, free: 11.08 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001479/0.4434, allocations: 260.4 kB / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.717e-05/0.4435, allocations: 109 kB / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.975e-05/0.4436, allocations: 112 kB / 1.03 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.426e-05/0.4437, allocations: 184.2 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.111e-05/0.4437, allocations: 180.2 kB / 1.03 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.797e-05/0.4438, allocations: 176.3 kB / 1.031 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003068/0.4441, allocations: 413.2 kB / 1.031 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.738e-05/0.4442, allocations: 104.9 kB / 1.031 GB, free: 9.461 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.793e-05/0.4443, allocations: 101 kB / 1.031 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.809e-05/0.4444, allocations: 184.2 kB / 1.031 GB, free: 9.168 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.037e-05/0.4445, allocations: 180.3 kB / 1.032 GB, free: 8.984 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.436e-05/0.4445, allocations: 181.1 kB / 1.032 GB, free: 8.801 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.899e-05/0.4446, allocations: 184.2 kB / 1.032 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.4448, allocations: 307.7 kB / 1.032 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.4449, allocations: 182.1 kB / 1.032 GB, free: 8.086 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.42e-05/0.445, allocations: 184.3 kB / 1.033 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.4452, allocations: 109.4 kB / 1.033 GB, free: 7.785 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.194e-05/0.4453, allocations: 184.2 kB / 1.033 GB, free: 7.598 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.579e-05/0.4453, allocations: 104.9 kB / 1.033 GB, free: 7.488 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.769e-05/0.4454, allocations: 79.28 kB / 1.033 GB, free: 7.41 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.81e-07/0.4454, allocations: 0 / 1.033 GB, free: 7.41 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002953/0.4457, allocations: 0 / 1.033 GB, free: 7.41 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0005097/0.4462, allocations: 0.8166 MB / 1.034 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 4.623e-05/0.4463, allocations: 3.938 kB / 1.034 GB, free: 6.562 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.4463, allocations: 0 / 1.034 GB, free: 6.562 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.205e-06/0.4463, allocations: 0 / 1.034 GB, free: 6.562 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.4467, allocations: 0.5263 MB / 1.034 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006795/0.4474, allocations: 497.8 kB / 1.035 GB, free: 5.496 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.4477, allocations: 0.677 MB / 1.035 GB, free: 4.793 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.148e-05/0.4477, allocations: 3.938 kB / 1.035 GB, free: 4.789 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.749e-05/0.4478, allocations: 11.38 kB / 1.035 GB, free: 4.777 MB / 0.6823 GB Notification: Performance of SimCode: time 1.292e-06/0.4478, allocations: 0 / 1.035 GB, free: 4.777 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01831/0.4661, allocations: 0.7204 MB / 1.036 GB, free: 4.199 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003463/0.4665, allocations: 189.5 kB / 1.036 GB, free: 3.965 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.206/2.673, allocations: 4.75 kB / 1.036 GB, free: 3.961 MB / 0.6823 GB