Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,fileNamePrefix="Buildings_7_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter",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.179/2.179, allocations: 248.5 MB / 261 MB, free: 5.977 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.001457/0.001456, allocations: 166.7 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 1.957/1.957, allocations: 205.1 MB / 0.571 GB, free: 11.82 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.001197/0.001197, allocations: 96.2 kB / 0.6754 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.009e-05/4.021e-05, allocations: 8 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2225, allocations: 106.3 MB / 0.8907 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8654/1.088, allocations: 133 MB / 1.021 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003513/1.088, allocations: 90.31 kB / 1.021 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00741/1.096, allocations: 1.52 MB / 1.022 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.743e-06/1.096, allocations: 0 / 1.022 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.143e-05/1.096, allocations: 0 / 1.022 GB, free: 0.9141 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007803/1.097, allocations: 433.1 kB / 1.023 GB, free: 448 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/1.097, allocations: 12.03 kB / 1.023 GB, free: 436 kB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.962e-05/1.097, allocations: 41.69 kB / 1.023 GB, free: 388 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.742e-05/1.097, allocations: 11.86 kB / 1.023 GB, free: 376 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/1.097, allocations: 189.2 kB / 1.023 GB, free: 152 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/1.097, allocations: 4 kB / 1.023 GB, free: 148 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/1.097, allocations: 4 kB / 1.023 GB, free: 144 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/1.098, allocations: 71.61 kB / 1.023 GB, free: 80 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/1.098, allocations: 0 / 1.023 GB, free: 80 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/1.098, allocations: 2.625 kB / 1.023 GB, free: 80 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/1.098, allocations: 3.984 kB / 1.023 GB, free: 76 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/1.098, allocations: 45.75 kB / 1.023 GB, free: 40 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000829/1.099, allocations: 344.1 kB / 1.023 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/1.099, allocations: 48.77 kB / 1.023 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/1.099, allocations: 43.31 kB / 1.023 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/1.099, allocations: 0 / 1.023 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002329/1.099, allocations: 86.38 kB / 1.023 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 2.665e-06/1.099, allocations: 0 / 1.023 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0003889/1.1, allocations: 134.4 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.494e-05/1.1, allocations: 88.84 kB / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/1.1, allocations: 124.1 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/1.1, allocations: 29.2 kB / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.106e-05/1.1, allocations: 99.53 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.556e-05/1.1, allocations: 19.69 kB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.243e-05/1.1, allocations: 3.75 kB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.00013/1.1, allocations: 322.3 kB / 1.024 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/1.1, allocations: 23.31 kB / 1.024 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/1.1, allocations: 37.98 kB / 1.024 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/1.101, allocations: 79.95 kB / 1.024 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.101, allocations: 0 / 1.024 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003715/1.101, allocations: 175.5 kB / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.059e-05/1.101, allocations: 59.41 kB / 1.025 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/1.101, allocations: 0 / 1.025 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/1.101, allocations: 4.234 kB / 1.025 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002373/1.101, allocations: 19.97 kB / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/1.101, allocations: 4.078 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/1.102, allocations: 27.83 kB / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/1.102, allocations: 11.8 kB / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,reqCou.nInc,$PRE.act1.T_start,act1.T_start,$PRE.act1.count,act1.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001278/1.102, allocations: 134.6 kB / 1.025 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/1.102, allocations: 7.625 kB / 1.025 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.895e-05/1.102, allocations: 16.23 kB / 1.025 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-06/1.102, allocations: 3.953 kB / 1.025 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/1.102, allocations: 0 / 1.025 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/1.102, allocations: 0 / 1.025 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005512/1.102, allocations: 396.9 kB / 1.025 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/1.103, allocations: 3.984 kB / 1.025 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/1.103, allocations: 15.98 kB / 1.025 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/1.103, allocations: 0 / 1.025 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/1.103, allocations: 7.953 kB / 1.025 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/1.103, allocations: 0 / 1.025 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/1.103, allocations: 0 / 1.025 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000364/1.103, allocations: 235.1 kB / 1.025 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.221e-05/1.103, allocations: 89 kB / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/1.103, allocations: 0 / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002544/1.104, allocations: 19.94 kB / 1.026 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/1.104, allocations: 27.47 kB / 1.026 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/1.104, allocations: 3.938 kB / 1.026 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.002e-05/1.104, allocations: 105.8 kB / 1.026 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.21e-07/1.104, allocations: 0 / 1.026 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003235/1.104, allocations: 23.94 kB / 1.026 GB, free: 13.15 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: 4 ($whenCondition1,reqCou.nInc,act1.T_start,act1.count) * Number of discrete states: 2 (act1.count,reqCou.nInc) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0007334/1.105, allocations: 0.77 MB / 1.026 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00039/1.105, allocations: 179.4 kB / 1.027 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.105, allocations: 4 kB / 1.027 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001794/1.106, allocations: 97.7 kB / 1.027 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/1.106, allocations: 15.44 kB / 1.027 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000744/1.107, allocations: 164.7 kB / 1.027 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/1.107, allocations: 0.6965 MB / 1.028 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001023/1.107, allocations: 15.84 kB / 1.028 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.331e-05/1.107, allocations: 22.3 kB / 1.028 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of SimCode: time 8.32e-07/1.107, allocations: 0 / 1.028 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02137/1.129, allocations: 2.147 MB / 1.03 GB, free: 9.172 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003101/1.129, allocations: 185.9 kB / 1.03 GB, free: 8.949 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.351/3.48, allocations: 0 / 1.03 GB, free: 8.949 MB / 0.6511 GB