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.34/2.34, allocations: 248.7 MB / 256.2 MB, free: 7.023 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.001565/0.001565, allocations: 185.1 kB / 315.4 MB, free: 4.02 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.124/2.124, allocations: 205.3 MB / 0.5662 GB, free: 0.543 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 94.72 kB / 0.6704 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.471e-05/2.469e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2096, allocations: 106.3 MB / 0.8841 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8581/1.068, allocations: 130.9 MB / 1.012 GB, free: 8.125 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/1.068, allocations: 70.64 kB / 1.012 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005588/1.069, allocations: 373.6 kB / 1.012 GB, free: 7.727 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.593e-06/1.069, allocations: 0 / 1.012 GB, free: 7.727 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.732e-06/1.069, allocations: 0 / 1.012 GB, free: 7.727 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.0002816/1.069, allocations: 314.7 kB / 1.013 GB, free: 7.379 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/1.069, allocations: 8.031 kB / 1.013 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.607e-05/1.069, allocations: 3.875 kB / 1.013 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/1.069, allocations: 167 kB / 1.013 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/1.069, allocations: 4 kB / 1.013 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/1.069, allocations: 0 / 1.013 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.367e-05/1.069, allocations: 0 / 1.013 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.772e-05/1.069, allocations: 30.39 kB / 1.013 GB, free: 7.129 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/1.069, allocations: 4 kB / 1.013 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/1.069, allocations: 4 kB / 1.013 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/1.069, allocations: 0 / 1.013 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003113/1.07, allocations: 359.8 kB / 1.013 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.976e-05/1.07, allocations: 169.2 kB / 1.013 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.921e-05/1.07, allocations: 84.14 kB / 1.013 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.063e-05/1.07, allocations: 79.22 kB / 1.014 GB, free: 6.395 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.408e-05/1.07, allocations: 109.8 kB / 1.014 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.423e-06/1.07, allocations: 2.625 kB / 1.014 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 7.833e-05/1.07, allocations: 28.36 kB / 1.014 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/1.07, allocations: 51.41 kB / 1.014 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.548e-05/1.07, allocations: 93.03 kB / 1.014 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.112e-05/1.07, allocations: 33.72 kB / 1.014 GB, free: 6.051 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.977e-05/1.07, allocations: 80.14 kB / 1.014 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-06/1.07, allocations: 0 / 1.014 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.91e-07/1.07, allocations: 0 / 1.014 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001274/1.071, allocations: 314.8 kB / 1.014 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.278e-06/1.071, allocations: 0 / 1.014 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.777e-06/1.071, allocations: 0 / 1.014 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.716e-05/1.071, allocations: 79.28 kB / 1.014 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.554e-05/1.071, allocations: 79.28 kB / 1.014 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.231e-05/1.071, allocations: 29.64 kB / 1.014 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.224e-05/1.071, allocations: 79.28 kB / 1.014 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.019e-05/1.071, allocations: 79.28 kB / 1.015 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.137e-05/1.071, allocations: 150.6 kB / 1.015 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.189e-05/1.071, allocations: 83.2 kB / 1.015 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.219e-05/1.071, allocations: 154.2 kB / 1.015 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.64e-05/1.071, allocations: 79.78 kB / 1.015 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.655e-05/1.071, allocations: 83.22 kB / 1.015 GB, free: 4.766 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.0001393/1.071, allocations: 255.5 kB / 1.015 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.871e-05/1.072, allocations: 134.6 kB / 1.015 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.405e-05/1.072, allocations: 109.3 kB / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.312e-05/1.072, allocations: 112.7 kB / 1.016 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-05/1.072, allocations: 184.3 kB / 1.016 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.018e-05/1.072, allocations: 188 kB / 1.016 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.032e-05/1.072, allocations: 176.3 kB / 1.016 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002649/1.072, allocations: 381.7 kB / 1.017 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.918e-05/1.072, allocations: 104.9 kB / 1.017 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.502e-05/1.072, allocations: 109 kB / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-05/1.072, allocations: 176.3 kB / 1.017 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-05/1.073, allocations: 184.2 kB / 1.017 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.027e-05/1.073, allocations: 179.8 kB / 1.017 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.888e-05/1.073, allocations: 185.2 kB / 1.017 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/1.073, allocations: 299.8 kB / 1.018 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.891e-05/1.073, allocations: 186.1 kB / 1.018 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.71e-05/1.073, allocations: 183.9 kB / 1.018 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/1.073, allocations: 101 kB / 1.018 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.865e-05/1.073, allocations: 180.2 kB / 1.018 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.897e-05/1.073, allocations: 117.5 kB / 1.018 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.409e-05/1.073, allocations: 79.22 kB / 1.019 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/1.073, allocations: 0 / 1.019 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003164/1.074, allocations: 0 / 1.019 GB, free: 1.004 MB / 0.6355 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.0004662/1.074, allocations: 0.8048 MB / 1.019 GB, free: 180 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 4.172e-05/1.074, allocations: 3.938 kB / 1.019 GB, free: 176 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.074, allocations: 0 / 1.019 GB, free: 176 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.547e-06/1.074, allocations: 0 / 1.019 GB, free: 176 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/1.075, allocations: 0.5244 MB / 1.02 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00041/1.075, allocations: 153 kB / 1.02 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/1.076, allocations: 0.6768 MB / 1.021 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.999e-06/1.076, allocations: 3.938 kB / 1.021 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.682e-05/1.076, allocations: 7.438 kB / 1.021 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of SimCode: time 9.91e-07/1.076, allocations: 0 / 1.021 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03061/1.106, allocations: 412.5 kB / 1.021 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003754/1.107, allocations: 166.7 kB / 1.021 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.111/3.218, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.6511 GB