Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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.OnOffController,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",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.246/2.246, allocations: 248.7 MB / 256.2 MB, free: 7.07 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.001528/0.001527, allocations: 178.3 kB / 315.4 MB, free: 4.016 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.083/2.083, allocations: 205.3 MB / 0.5662 GB, free: 0.5273 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.001118/0.001118, allocations: 82.48 kB / 0.6704 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.65e-05/2.658e-05, allocations: 8 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2024, allocations: 106.3 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8718/1.074, allocations: 131.7 MB / 1.013 GB, free: 7.109 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/1.075, allocations: 70.33 kB / 1.013 GB, free: 7.07 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004231/1.079, allocations: 0.9634 MB / 1.014 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.623e-06/1.079, allocations: 0 / 1.014 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.514e-06/1.079, allocations: 0 / 1.014 GB, free: 6.195 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006994/1.08, allocations: 376.7 kB / 1.014 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/1.08, allocations: 8.031 kB / 1.014 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.363e-05/1.08, allocations: 7.906 kB / 1.014 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/1.08, allocations: 178.9 kB / 1.014 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/1.08, allocations: 0 / 1.014 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/1.08, allocations: 4 kB / 1.014 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001213/1.08, allocations: 15.62 kB / 1.014 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/1.08, allocations: 49.38 kB / 1.014 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/1.08, allocations: 4 kB / 1.014 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/1.08, allocations: 0.75 kB / 1.014 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/1.08, allocations: 0 / 1.014 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006937/1.081, allocations: 276.9 kB / 1.015 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002527/1.081, allocations: 34.2 kB / 1.015 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.448e-05/1.081, allocations: 16.73 kB / 1.015 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/1.081, allocations: 4.078 kB / 1.015 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/1.081, allocations: 33.08 kB / 1.015 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.635e-06/1.081, allocations: 0 / 1.015 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002032/1.082, allocations: 53.48 kB / 1.015 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/1.082, allocations: 55.34 kB / 1.015 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.919e-05/1.082, allocations: 104.8 kB / 1.015 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/1.082, allocations: 25.7 kB / 1.015 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.314e-05/1.082, allocations: 87.95 kB / 1.015 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/1.082, allocations: 15.67 kB / 1.015 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/1.082, allocations: 0 / 1.015 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001454/1.082, allocations: 310.8 kB / 1.015 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.189e-05/1.082, allocations: 15.5 kB / 1.015 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.578e-05/1.082, allocations: 7.062 kB / 1.015 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.505e-05/1.082, allocations: 7.25 kB / 1.015 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.082, allocations: 0 / 1.015 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001367/1.082, allocations: 56.44 kB / 1.015 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/1.082, allocations: 4 kB / 1.015 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/1.082, allocations: 0 / 1.015 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/1.083, allocations: 0 / 1.015 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/1.083, allocations: 13.05 kB / 1.015 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/1.083, allocations: 0 / 1.015 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/1.083, allocations: 27.92 kB / 1.015 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/1.083, allocations: 7.938 kB / 1.015 GB, free: 4.312 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: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 9.496e-05/1.083, allocations: 104.9 kB / 1.016 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001213/1.083, allocations: 48.39 kB / 1.016 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.347e-05/1.083, allocations: 7.891 kB / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001653/1.083, allocations: 61.78 kB / 1.016 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/1.083, allocations: 0 / 1.016 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/1.083, allocations: 11.83 kB / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/1.083, allocations: 0 / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/1.084, allocations: 145.2 kB / 1.016 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.084, allocations: 0 / 1.016 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/1.084, allocations: 14.8 kB / 1.016 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/1.084, allocations: 0 / 1.016 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/1.084, allocations: 0 / 1.016 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/1.084, allocations: 0 / 1.016 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.084, allocations: 8 kB / 1.016 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/1.084, allocations: 141.8 kB / 1.016 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.276e-05/1.084, allocations: 81.02 kB / 1.016 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/1.084, allocations: 3.984 kB / 1.016 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002772/1.084, allocations: 23.98 kB / 1.016 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.983e-05/1.084, allocations: 7.984 kB / 1.016 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/1.084, allocations: 0 / 1.016 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.235e-05/1.085, allocations: 83.7 kB / 1.016 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.61e-07/1.085, allocations: 0 / 1.016 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003085/1.085, allocations: 11.94 kB / 1.016 GB, free: 3.512 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: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0005376/1.085, allocations: 0.6846 MB / 1.017 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001321/1.086, allocations: 22.31 kB / 1.017 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/1.086, allocations: 0 / 1.017 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.063e-05/1.086, allocations: 15.7 kB / 1.017 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/1.086, allocations: 7.25 kB / 1.017 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000483/1.087, allocations: 108.9 kB / 1.017 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/1.087, allocations: 0.6885 MB / 1.018 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.278e-05/1.087, allocations: 3.859 kB / 1.018 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.027e-05/1.087, allocations: 15.12 kB / 1.018 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of SimCode: time 8.92e-07/1.087, allocations: 0 / 1.018 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03274/1.12, allocations: 1.031 MB / 1.019 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003295/1.12, allocations: 163.1 kB / 1.019 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.335/3.455, allocations: 0 / 1.019 GB, free: 0.6836 MB / 0.6355 GB