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.183/2.183, allocations: 248.5 MB / 261.1 MB, free: 5.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001562/0.001562, allocations: 178.4 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.08/2.08, allocations: 205.1 MB / 0.571 GB, free: 11.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.001061/0.001061, allocations: 94.47 kB / 0.6754 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.525e-05/3.53e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.21, allocations: 106.3 MB / 0.8907 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8854/1.096, allocations: 130.6 MB / 1.018 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000342/1.096, allocations: 74.08 kB / 1.018 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.000769/1.097, allocations: 372.4 kB / 1.019 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.354e-06/1.097, allocations: 7.938 kB / 1.019 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.135e-06/1.097, allocations: 0 / 1.019 GB, free: 4.23 MB / 0.6355 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.0003585/1.097, allocations: 306.5 kB / 1.019 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.25e-05/1.097, allocations: 8.031 kB / 1.019 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.355e-05/1.097, allocations: 30.56 kB / 1.019 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.148e-05/1.097, allocations: 3.984 kB / 1.019 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/1.098, allocations: 167 kB / 1.019 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/1.098, allocations: 0 / 1.019 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/1.098, allocations: 0 / 1.019 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/1.098, allocations: 36.89 kB / 1.019 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/1.098, allocations: 0 / 1.019 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/1.098, allocations: 4 kB / 1.019 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/1.098, allocations: 0.5 kB / 1.019 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.25e-05/1.098, allocations: 0 / 1.019 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004499/1.098, allocations: 382.3 kB / 1.02 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/1.098, allocations: 173.1 kB / 1.02 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.897e-05/1.099, allocations: 83.7 kB / 1.02 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.829e-05/1.099, allocations: 75.28 kB / 1.02 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.536e-05/1.099, allocations: 113.3 kB / 1.02 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 4.629e-06/1.099, allocations: 0 / 1.02 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 0.0001215/1.099, allocations: 28.44 kB / 1.02 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/1.099, allocations: 138.6 kB / 1.02 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/1.099, allocations: 91.81 kB / 1.02 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/1.099, allocations: 29.64 kB / 1.02 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.064e-05/1.099, allocations: 80.14 kB / 1.02 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.936e-06/1.099, allocations: 0 / 1.02 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.11e-07/1.099, allocations: 0 / 1.02 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001628/1.099, allocations: 310.8 kB / 1.021 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.899e-06/1.099, allocations: 0 / 1.021 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.971e-06/1.099, allocations: 4.125 kB / 1.021 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.619e-05/1.1, allocations: 79.28 kB / 1.021 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.493e-05/1.1, allocations: 75.28 kB / 1.021 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001008/1.1, allocations: 25.7 kB / 1.021 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.414e-05/1.1, allocations: 83.28 kB / 1.021 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-05/1.1, allocations: 86.83 kB / 1.021 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.236e-05/1.1, allocations: 150.6 kB / 1.021 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.174e-05/1.1, allocations: 79.28 kB / 1.021 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.248e-05/1.1, allocations: 158.5 kB / 1.021 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/1.1, allocations: 79.23 kB / 1.021 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.447e-05/1.1, allocations: 79.72 kB / 1.022 GB, free: 1.121 MB / 0.6355 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 () * 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.0001683/1.101, allocations: 255 kB / 1.022 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/1.101, allocations: 109 kB / 1.022 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.746e-05/1.101, allocations: 119.9 kB / 1.022 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-05/1.101, allocations: 176.6 kB / 1.022 GB, free: 460 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001057/1.101, allocations: 180.3 kB / 1.022 GB, free: 272 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.397e-05/1.101, allocations: 184.2 kB / 1.022 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004133/1.102, allocations: 408.8 kB / 1.023 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.989e-05/1.102, allocations: 108.9 kB / 1.023 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.657e-05/1.102, allocations: 105 kB / 1.023 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.319e-05/1.102, allocations: 180.2 kB / 1.023 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.495e-05/1.102, allocations: 183.7 kB / 1.023 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.981e-05/1.102, allocations: 176.3 kB / 1.024 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.815e-05/1.102, allocations: 184.2 kB / 1.024 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00022/1.102, allocations: 308.6 kB / 1.024 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/1.103, allocations: 186 kB / 1.024 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/1.103, allocations: 176.3 kB / 1.024 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/1.103, allocations: 104.9 kB / 1.025 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/1.103, allocations: 184.3 kB / 1.025 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.348e-05/1.103, allocations: 108.8 kB / 1.025 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000123/1.103, allocations: 75.28 kB / 1.025 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.158e-06/1.103, allocations: 0 / 1.025 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005451/1.104, allocations: 7.938 kB / 1.025 GB, free: 13.47 MB / 0.6511 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 () * 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.0006536/1.105, allocations: 0.8046 MB / 1.026 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 4.959e-05/1.105, allocations: 7.984 kB / 1.026 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.105, allocations: 0 / 1.026 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.313e-06/1.105, allocations: 0 / 1.026 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005695/1.105, allocations: 0.5257 MB / 1.026 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/1.107, allocations: 147 kB / 1.026 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/1.107, allocations: 0.6832 MB / 1.027 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 1.617e-05/1.107, allocations: 0 / 1.027 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.14e-05/1.107, allocations: 7.438 kB / 1.027 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of SimCode: time 2.505e-06/1.107, allocations: 0 / 1.027 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02168/1.129, allocations: 0.7328 MB / 1.028 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002397/1.129, allocations: 179.1 kB / 1.028 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.256/3.386, allocations: 3.938 kB / 1.028 GB, free: 10.38 MB / 0.6511 GB