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.231/2.231, allocations: 248.5 MB / 261 MB, free: 5.941 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.00152/0.00152, allocations: 179.6 kB / 320.4 MB, free: 15.35 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.003/2.003, allocations: 205.1 MB / 0.571 GB, free: 11.84 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.001144/0.001144, allocations: 93.53 kB / 0.6754 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.894e-05/4.923e-05, allocations: 8 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2129, allocations: 106.2 MB / 0.8907 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9209/1.134, allocations: 131.4 MB / 1.019 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/1.134, allocations: 71.92 kB / 1.019 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004375/1.139, allocations: 0.9561 MB / 1.02 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.525e-06/1.139, allocations: 0 / 1.02 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.336e-06/1.139, allocations: 0 / 1.02 GB, free: 2.969 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.0007131/1.139, allocations: 381 kB / 1.02 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/1.139, allocations: 8.031 kB / 1.02 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.948e-05/1.139, allocations: 38.55 kB / 1.02 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.526e-05/1.14, allocations: 3.906 kB / 1.02 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/1.14, allocations: 171 kB / 1.021 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/1.14, allocations: 3.938 kB / 1.021 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/1.14, allocations: 4 kB / 1.021 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/1.14, allocations: 50.75 kB / 1.021 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/1.14, allocations: 4 kB / 1.021 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/1.14, allocations: 0 / 1.021 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/1.14, allocations: 0 / 1.021 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.622e-05/1.14, allocations: 23 kB / 1.021 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000729/1.141, allocations: 314.3 kB / 1.021 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002521/1.141, allocations: 37.52 kB / 1.021 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.184e-05/1.141, allocations: 14.95 kB / 1.021 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/1.141, allocations: 3.938 kB / 1.021 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/1.141, allocations: 33.3 kB / 1.021 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.505e-06/1.141, allocations: 0 / 1.021 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002071/1.141, allocations: 65.53 kB / 1.021 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/1.142, allocations: 51.41 kB / 1.021 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/1.142, allocations: 103.6 kB / 1.021 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/1.142, allocations: 33.33 kB / 1.021 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.423e-05/1.142, allocations: 83.52 kB / 1.021 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.768e-05/1.142, allocations: 11.81 kB / 1.021 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-06/1.142, allocations: 0 / 1.021 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001332/1.142, allocations: 318.1 kB / 1.022 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.12e-05/1.142, allocations: 11.69 kB / 1.022 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.208e-05/1.142, allocations: 15.12 kB / 1.022 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.4e-05/1.142, allocations: 7.688 kB / 1.022 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/1.142, allocations: 0 / 1.022 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001513/1.142, allocations: 52.75 kB / 1.022 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/1.142, allocations: 4 kB / 1.022 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/1.142, allocations: 4 kB / 1.022 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/1.142, allocations: 0 / 1.022 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/1.143, allocations: 15.94 kB / 1.022 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/1.143, allocations: 4.547 kB / 1.022 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/1.143, allocations: 19.98 kB / 1.022 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/1.143, allocations: 0 / 1.022 GB, free: 0.9961 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 8.884e-05/1.143, allocations: 105 kB / 1.022 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.017e-05/1.143, allocations: 11.84 kB / 1.022 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001895/1.143, allocations: 64.22 kB / 1.022 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/1.143, allocations: 0 / 1.022 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/1.143, allocations: 4.516 kB / 1.022 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/1.143, allocations: 0 / 1.022 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/1.143, allocations: 172.7 kB / 1.022 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/1.143, allocations: 0.75 kB / 1.022 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/1.144, allocations: 11.98 kB / 1.022 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/1.144, allocations: 0 / 1.022 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/1.144, allocations: 4 kB / 1.022 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/1.144, allocations: 0 / 1.022 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.144, allocations: 8 kB / 1.022 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002053/1.144, allocations: 150.2 kB / 1.022 GB, free: 432 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.976e-05/1.144, allocations: 84.77 kB / 1.022 GB, free: 332 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/1.144, allocations: 0 / 1.022 GB, free: 332 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002654/1.144, allocations: 23.97 kB / 1.022 GB, free: 308 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.081e-05/1.144, allocations: 7.984 kB / 1.022 GB, free: 300 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/1.144, allocations: 4 kB / 1.022 GB, free: 296 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.098e-05/1.144, allocations: 91.53 kB / 1.023 GB, free: 208 kB / 0.6355 GB Notification: Performance of sort global known variables: time 4.71e-07/1.144, allocations: 0 / 1.023 GB, free: 208 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002845/1.145, allocations: 7.953 kB / 1.023 GB, free: 200 kB / 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.000584/1.145, allocations: 0.6842 MB / 1.023 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001475/1.146, allocations: 26.36 kB / 1.023 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.146, allocations: 0 / 1.023 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.023e-05/1.146, allocations: 11.94 kB / 1.023 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/1.146, allocations: 7.188 kB / 1.023 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004625/1.146, allocations: 113.8 kB / 1.023 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/1.147, allocations: 0.6888 MB / 1.024 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.447e-05/1.147, allocations: 256 / 1.024 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.428e-05/1.147, allocations: 18.86 kB / 1.024 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of SimCode: time 1.413e-06/1.147, allocations: 0 / 1.024 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/1.165, allocations: 1.417 MB / 1.025 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003371/1.166, allocations: 169.2 kB / 1.026 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.366/3.532, allocations: 0 / 1.026 GB, free: 13.07 MB / 0.6511 GB