Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.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.Switch,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Switch",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.261/2.261, allocations: 248.7 MB / 256.2 MB, free: 7.055 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.001434/0.001434, allocations: 182.3 kB / 315.4 MB, free: 4 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.095/2.095, 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.001146/0.001146, allocations: 86.52 kB / 0.6704 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.226e-05/3.224e-05, allocations: 8 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2101, allocations: 106.2 MB / 0.8841 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8658/1.076, allocations: 131.7 MB / 1.013 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/1.076, allocations: 70.8 kB / 1.013 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00469/1.081, allocations: 1.11 MB / 1.014 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.333e-06/1.081, allocations: 0 / 1.014 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.725e-06/1.081, allocations: 0 / 1.014 GB, free: 6.242 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007091/1.082, allocations: 386 kB / 1.014 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/1.082, allocations: 12.03 kB / 1.014 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.846e-05/1.082, allocations: 7.906 kB / 1.014 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/1.082, allocations: 176.8 kB / 1.014 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/1.082, allocations: 4 kB / 1.014 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/1.082, allocations: 4 kB / 1.014 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001341/1.082, allocations: 27.67 kB / 1.015 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/1.082, allocations: 57.09 kB / 1.015 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/1.082, allocations: 3.938 kB / 1.015 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/1.082, allocations: 0 / 1.015 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.82e-06/1.082, allocations: 0 / 1.015 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004595/1.083, allocations: 268.4 kB / 1.015 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.822e-05/1.083, allocations: 36.83 kB / 1.015 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.868e-05/1.083, allocations: 20.61 kB / 1.015 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/1.083, allocations: 0 / 1.015 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001706/1.083, allocations: 66.97 kB / 1.015 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/1.083, allocations: 0 / 1.015 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.000224/1.084, allocations: 65.09 kB / 1.015 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/1.084, allocations: 59.28 kB / 1.015 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.919e-05/1.084, allocations: 108.9 kB / 1.015 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/1.084, allocations: 25.7 kB / 1.015 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.687e-05/1.084, allocations: 92.02 kB / 1.015 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/1.084, allocations: 15.7 kB / 1.015 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.835e-06/1.084, allocations: 0 / 1.015 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001116/1.084, allocations: 318.6 kB / 1.016 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.167e-05/1.084, allocations: 15.62 kB / 1.016 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.606e-05/1.084, allocations: 29.33 kB / 1.016 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.924e-05/1.084, allocations: 15.25 kB / 1.016 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.084, allocations: 3.938 kB / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001625/1.084, allocations: 62.94 kB / 1.016 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/1.084, allocations: 4.75 kB / 1.016 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/1.084, allocations: 4 kB / 1.016 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/1.084, allocations: 0 / 1.016 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/1.085, allocations: 31.77 kB / 1.016 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/1.085, allocations: 0 / 1.016 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002342/1.085, allocations: 27.91 kB / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/1.085, allocations: 7.953 kB / 1.016 GB, free: 4.242 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.485e-05/1.085, allocations: 112.9 kB / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001574/1.085, allocations: 73.22 kB / 1.016 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.81e-05/1.085, allocations: 4.719 kB / 1.016 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.058e-05/1.085, allocations: 12.5 kB / 1.016 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/1.085, allocations: 0 / 1.016 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/1.085, allocations: 3.953 kB / 1.016 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/1.085, allocations: 3.984 kB / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/1.086, allocations: 158.1 kB / 1.016 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/1.086, allocations: 0 / 1.016 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/1.086, allocations: 25.3 kB / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/1.086, allocations: 0 / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/1.086, allocations: 0 / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/1.086, allocations: 3.938 kB / 1.016 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/1.086, allocations: 0 / 1.016 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/1.086, allocations: 100.4 kB / 1.016 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.63e-05/1.086, allocations: 85.25 kB / 1.016 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/1.086, allocations: 4 kB / 1.016 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/1.086, allocations: 27.98 kB / 1.016 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.02e-05/1.086, allocations: 3.984 kB / 1.016 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/1.086, allocations: 7.984 kB / 1.016 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.979e-05/1.087, allocations: 91.34 kB / 1.016 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/1.087, allocations: 0 / 1.016 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002698/1.087, allocations: 12 kB / 1.016 GB, free: 3.484 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: 3 ($whenCondition1,booPul.y,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004709/1.087, allocations: 0.6299 MB / 1.017 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001621/1.087, allocations: 43.36 kB / 1.017 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.087, allocations: 0 / 1.017 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.02e-05/1.088, allocations: 19.81 kB / 1.017 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/1.088, allocations: 16.08 kB / 1.017 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004631/1.088, allocations: 137 kB / 1.017 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/1.089, allocations: 0.6911 MB / 1.018 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.318e-05/1.089, allocations: 192 / 1.018 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.752e-05/1.089, allocations: 27.17 kB / 1.018 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of SimCode: time 8.12e-07/1.089, allocations: 0 / 1.018 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03485/1.124, allocations: 1.386 MB / 1.019 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002921/1.124, allocations: 141.1 kB / 1.019 GB, free: 328 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.321/3.445, allocations: 3.75 kB / 1.019 GB, free: 328 kB / 0.6355 GB