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.145/2.145, allocations: 251 MB / 265.9 MB, free: 11.7 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00159/0.00159, allocations: 180.6 kB / 325.5 MB, free: 2.91 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.382/2.382, allocations: 205.4 MB / 0.5764 GB, free: 21.2 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.001171/0.001171, allocations: 89.5 kB / 0.6809 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004978/0.0004977, allocations: 10.88 kB / 0.795 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2233, allocations: 106.3 MB / 0.8988 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2278/0.4512, allocations: 133.1 MB / 1.029 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000376/0.4516, allocations: 99.92 kB / 1.029 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007094/0.4587, allocations: 1.516 MB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4588, allocations: 0 / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.247e-05/0.4588, allocations: 4 kB / 1.03 GB, free: 11.07 MB / 0.6823 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.000805/0.4596, allocations: 458.3 kB / 1.031 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.4597, allocations: 12.03 kB / 1.031 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.198e-05/0.4597, allocations: 38.55 kB / 1.031 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.661e-05/0.4598, allocations: 11.86 kB / 1.031 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.46, allocations: 182.9 kB / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.4601, allocations: 8 kB / 1.031 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.4601, allocations: 4 kB / 1.031 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004262/0.4605, allocations: 105.6 kB / 1.031 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.4606, allocations: 0 / 1.031 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.4606, allocations: 0 / 1.031 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4606, allocations: 4 kB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005068/0.4611, allocations: 91.86 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007672/0.4619, allocations: 348.7 kB / 1.032 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004829/0.4624, allocations: 98.55 kB / 1.032 GB, free: 9.559 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.4624, allocations: 0 / 1.032 GB, free: 9.559 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004102/0.4629, allocations: 111.4 kB / 1.032 GB, free: 9.438 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.014e-06/0.4629, allocations: 0 / 1.032 GB, free: 9.438 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.001036/0.4639, allocations: 235.2 kB / 1.032 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.441e-05/0.464, allocations: 89.03 kB / 1.032 GB, free: 9.09 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.4642, allocations: 119.4 kB / 1.032 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.4642, allocations: 29.7 kB / 1.032 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.342e-05/0.4643, allocations: 105 kB / 1.032 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.4643, allocations: 19.73 kB / 1.032 GB, free: 8.805 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.683e-05/0.4643, allocations: 4 kB / 1.032 GB, free: 8.801 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.4645, allocations: 322.8 kB / 1.033 GB, free: 8.477 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000293/0.4648, allocations: 55.95 kB / 1.033 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002849/0.4651, allocations: 51.97 kB / 1.033 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003118/0.4654, allocations: 107.4 kB / 1.033 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4654, allocations: 0 / 1.033 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007543/0.4662, allocations: 229 kB / 1.033 GB, free: 8.012 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.233e-05/0.4663, allocations: 63.39 kB / 1.033 GB, free: 7.938 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.4663, allocations: 0 / 1.033 GB, free: 7.938 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.4663, allocations: 3.953 kB / 1.033 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.4665, allocations: 27.98 kB / 1.033 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.4665, allocations: 0 / 1.033 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002335/0.4668, allocations: 27.89 kB / 1.033 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.4668, allocations: 0 / 1.033 GB, free: 7.879 MB / 0.6823 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 () * Number of clocked 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.0001569/0.467, allocations: 151.5 kB / 1.033 GB, free: 7.715 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.467, allocations: 4 kB / 1.033 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.465e-05/0.4671, allocations: 16.72 kB / 1.033 GB, free: 7.695 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.4671, allocations: 0 / 1.033 GB, free: 7.695 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.4671, allocations: 3.953 kB / 1.033 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.4671, allocations: 3.984 kB / 1.033 GB, free: 7.688 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009555/0.4681, allocations: 448.1 kB / 1.034 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.4681, allocations: 0 / 1.034 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.4683, allocations: 19.98 kB / 1.034 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.4683, allocations: 3.984 kB / 1.034 GB, free: 7.164 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.4683, allocations: 7.953 kB / 1.034 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.4683, allocations: 3.938 kB / 1.034 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4683, allocations: 3.938 kB / 1.034 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007333/0.4691, allocations: 281.1 kB / 1.034 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.777e-05/0.4692, allocations: 89.02 kB / 1.034 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.259e-05/0.4692, allocations: 0 / 1.034 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/0.4695, allocations: 27.92 kB / 1.034 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.4696, allocations: 23.97 kB / 1.034 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.4696, allocations: 0 / 1.034 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.038e-05/0.4697, allocations: 103.3 kB / 1.034 GB, free: 6.594 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.91e-07/0.4697, allocations: 0 / 1.034 GB, free: 6.594 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000316/0.4701, allocations: 20 kB / 1.034 GB, free: 6.574 MB / 0.6823 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) * Number of clocked states: 0 () * 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.00111/0.4712, allocations: 0.8215 MB / 1.035 GB, free: 5.723 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007835/0.472, allocations: 230.7 kB / 1.035 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.472, allocations: 0 / 1.035 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003713/0.4724, allocations: 123.3 kB / 1.035 GB, free: 5.34 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.4727, allocations: 29.03 kB / 1.036 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/0.4748, allocations: 0.7133 MB / 1.036 GB, free: 4.543 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.4752, allocations: 0.6965 MB / 1.037 GB, free: 3.82 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001025/0.4753, allocations: 15.92 kB / 1.037 GB, free: 3.805 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.4754, allocations: 27.42 kB / 1.037 GB, free: 3.777 MB / 0.6823 GB Notification: Performance of SimCode: time 1.332e-06/0.4754, allocations: 0 / 1.037 GB, free: 3.777 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02098/0.4964, allocations: 2.128 MB / 1.039 GB, free: 1.832 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00033/0.4968, allocations: 215.4 kB / 1.039 GB, free: 1.586 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.485/2.982, allocations: 0 / 1.039 GB, free: 1.586 MB / 0.6823 GB