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.388/2.388, allocations: 248.7 MB / 256.2 MB, free: 7.043 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.001483/0.001483, allocations: 180.2 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.083/2.083, allocations: 205.3 MB / 0.5662 GB, free: 0.5469 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.001183/0.001182, allocations: 90.52 kB / 0.6704 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.733e-05/2.735e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2142, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9046/1.119, allocations: 133.3 MB / 1.014 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003379/1.119, allocations: 90.66 kB / 1.014 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007151/1.126, allocations: 1.514 MB / 1.016 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.873e-06/1.126, allocations: 8 kB / 1.016 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.149e-05/1.126, allocations: 0 / 1.016 GB, free: 4.18 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.000746/1.127, allocations: 436 kB / 1.016 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/1.127, allocations: 12.03 kB / 1.016 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.822e-05/1.127, allocations: 11.84 kB / 1.016 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/1.128, allocations: 182.6 kB / 1.016 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/1.128, allocations: 4 kB / 1.016 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.594e-05/1.128, allocations: 4 kB / 1.016 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001596/1.128, allocations: 41.42 kB / 1.016 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/1.128, allocations: 67.11 kB / 1.017 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/1.128, allocations: 4 kB / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/1.128, allocations: 0 / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/1.128, allocations: 0 / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007372/1.129, allocations: 323.4 kB / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/1.129, allocations: 47.83 kB / 1.017 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.171e-05/1.129, allocations: 31.22 kB / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/1.129, allocations: 0 / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00021/1.129, allocations: 91.42 kB / 1.017 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.033e-06/1.129, allocations: 0 / 1.017 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003271/1.13, allocations: 98.44 kB / 1.017 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/1.13, allocations: 84.67 kB / 1.017 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/1.13, allocations: 120.1 kB / 1.017 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/1.13, allocations: 25.7 kB / 1.017 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.321e-05/1.13, allocations: 94.48 kB / 1.017 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/1.13, allocations: 26.92 kB / 1.017 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.093e-05/1.13, allocations: 0 / 1.017 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.00012/1.13, allocations: 318.2 kB / 1.018 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/1.13, allocations: 31.89 kB / 1.018 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.751e-05/1.13, allocations: 29.31 kB / 1.018 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.664e-05/1.131, allocations: 22.3 kB / 1.018 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/1.131, allocations: 0 / 1.018 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002954/1.131, allocations: 114.3 kB / 1.018 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.057e-05/1.131, allocations: 62.77 kB / 1.018 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/1.131, allocations: 0 / 1.018 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/1.131, allocations: 8 kB / 1.018 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/1.131, allocations: 15.98 kB / 1.018 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/1.131, allocations: 4.578 kB / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/1.131, allocations: 19.98 kB / 1.018 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/1.131, allocations: 4 kB / 1.018 GB, free: 1.832 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: 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.0001255/1.132, allocations: 145.9 kB / 1.018 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002456/1.132, allocations: 98.89 kB / 1.018 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.385e-05/1.132, allocations: 7.906 kB / 1.018 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.197e-05/1.132, allocations: 12.38 kB / 1.018 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/1.132, allocations: 3.953 kB / 1.018 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.132, allocations: 0 / 1.018 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/1.132, allocations: 0 / 1.018 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004301/1.132, allocations: 338.1 kB / 1.019 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/1.132, allocations: 0 / 1.019 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/1.133, allocations: 23.97 kB / 1.019 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/1.133, allocations: 0 / 1.019 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/1.133, allocations: 7.953 kB / 1.019 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/1.133, allocations: 0 / 1.019 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.133, allocations: 0 / 1.019 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002885/1.133, allocations: 196.4 kB / 1.019 GB, free: 1 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.934e-05/1.133, allocations: 81.02 kB / 1.019 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/1.133, allocations: 10.81 kB / 1.019 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/1.133, allocations: 23.92 kB / 1.019 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/1.134, allocations: 19.59 kB / 1.019 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/1.134, allocations: 8.219 kB / 1.019 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.82e-05/1.134, allocations: 97.58 kB / 1.019 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.6e-07/1.134, allocations: 0 / 1.019 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003504/1.134, allocations: 27.06 kB / 1.019 GB, free: 0.7344 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: 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.0006714/1.135, allocations: 0.7331 MB / 1.02 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003274/1.135, allocations: 180.6 kB / 1.02 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.135, allocations: 0 / 1.02 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/1.135, allocations: 87.41 kB / 1.02 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/1.136, allocations: 25.47 kB / 1.02 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000698/1.136, allocations: 167.2 kB / 1.02 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/1.137, allocations: 0.6963 MB / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.88e-05/1.137, allocations: 11.84 kB / 1.021 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.406e-05/1.137, allocations: 23.05 kB / 1.021 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of SimCode: time 7.72e-07/1.137, allocations: 4 kB / 1.021 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0434/1.18, allocations: 1.749 MB / 1.023 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003525/1.181, allocations: 170.5 kB / 1.023 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.2/3.381, allocations: 2.5 kB / 1.023 GB, free: 12.83 MB / 0.6511 GB