Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009498/0.00095, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.643/1.643, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.819/1.819, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005917/0.0005921, allocations: 15.12 kB / 0.6737 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2885, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.001761/0.2903, allocations: 1.222 MB / 0.7885 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007611/0.2911, allocations: 469.2 kB / 0.7889 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.283e-05/0.2912, allocations: 8 kB / 0.7889 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.287e-05/0.2913, allocations: 3.938 kB / 0.7889 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.301e-05/0.2914, allocations: 3.938 kB / 0.789 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002014/0.2916, allocations: 27.95 kB / 0.789 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.2917, allocations: 71.77 kB / 0.789 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.2918, allocations: 12.19 kB / 0.7891 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.292, allocations: 43.83 kB / 0.7891 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.105e-05/0.2921, allocations: 27.84 kB / 0.7891 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.936e-05/0.2921, allocations: 4 kB / 0.7891 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.856e-05/0.2921, allocations: 4 kB / 0.7891 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.848e-05/0.2922, allocations: 7.984 kB / 0.7891 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.871e-05/0.2922, allocations: 41.64 kB / 0.7892 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.2924, allocations: 52.11 kB / 0.7892 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.2924, allocations: 0 / 0.7892 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2924, allocations: 0 / 0.7892 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.2924, allocations: 4 kB / 0.7892 GB, free: 9.914 MB / 0.6075 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.0006525/0.293, allocations: 430.5 kB / 0.7896 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.2931, allocations: 16.02 kB / 0.7897 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.92e-05/0.2932, allocations: 7.906 kB / 0.7897 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.2934, allocations: 194.8 kB / 0.7899 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.2934, allocations: 0 / 0.7899 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.2934, allocations: 11.94 kB / 0.7899 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003007/0.2937, allocations: 105.6 kB / 0.79 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.2937, allocations: 4 kB / 0.79 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.2938, allocations: 0 / 0.79 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.2938, allocations: 0 / 0.79 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002678/0.2941, allocations: 95.86 kB / 0.7901 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006006/0.2947, allocations: 332.8 kB / 0.7904 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.295, allocations: 94.52 kB / 0.7905 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.2951, allocations: 68.97 kB / 0.7905 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.2952, allocations: 0 / 0.7905 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003335/0.2955, allocations: 115.2 kB / 0.7906 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.2955, allocations: 0 / 0.7906 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006508/0.2962, allocations: 231.2 kB / 0.7909 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.2963, allocations: 81.11 kB / 0.7909 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.2964, allocations: 141.9 kB / 0.7911 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.2965, allocations: 25.7 kB / 0.7911 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.704e-05/0.2966, allocations: 96.12 kB / 0.7912 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.2966, allocations: 23.72 kB / 0.7912 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.075e-06/0.2966, allocations: 0 / 0.7912 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.2968, allocations: 322.8 kB / 0.7915 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.2969, allocations: 51.97 kB / 0.7916 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.2971, allocations: 59.95 kB / 0.7916 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.2973, allocations: 103.4 kB / 0.7917 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2973, allocations: 0 / 0.7917 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004094/0.2977, allocations: 229 kB / 0.792 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.533e-05/0.2978, allocations: 59.48 kB / 0.792 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.2978, allocations: 3.938 kB / 0.792 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.2978, allocations: 4 kB / 0.792 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.2979, allocations: 19.94 kB / 0.792 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.298, allocations: 4 kB / 0.792 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.2981, allocations: 27.92 kB / 0.7921 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.2981, allocations: 4 kB / 0.7921 GB, free: 6.73 MB / 0.6075 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.000139/0.2983, allocations: 151.5 kB / 0.7922 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.769e-05/0.2983, allocations: 7.906 kB / 0.7922 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.78e-05/0.2983, allocations: 8.719 kB / 0.7922 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.2983, allocations: 4 kB / 0.7922 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.2984, allocations: 11.89 kB / 0.7922 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.2984, allocations: 3.984 kB / 0.7922 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005834/0.299, allocations: 440.2 kB / 0.7927 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.299, allocations: 0 / 0.7927 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.414e-05/0.2991, allocations: 27.98 kB / 0.7927 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.2991, allocations: 0 / 0.7927 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.2991, allocations: 0 / 0.7927 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.249e-06/0.2991, allocations: 7.891 kB / 0.7927 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2991, allocations: 0 / 0.7927 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004103/0.2995, allocations: 285.1 kB / 0.793 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.99e-05/0.2996, allocations: 81.02 kB / 0.7931 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.927e-05/0.2996, allocations: 8 kB / 0.7931 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.2998, allocations: 23.97 kB / 0.7931 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.2999, allocations: 23.92 kB / 0.7931 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.2999, allocations: 4 kB / 0.7931 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.213e-05/0.3, allocations: 101.5 kB / 0.7932 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/0.3, allocations: 0 / 0.7932 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002539/0.3003, allocations: 16 kB / 0.7932 GB, free: 5.43 MB / 0.6075 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.0001535/0.3004, allocations: 111.2 kB / 0.7933 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004485/0.3009, allocations: 234.7 kB / 0.7935 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.3009, allocations: 4 kB / 0.7936 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002091/0.3011, allocations: 119.4 kB / 0.7937 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.3014, allocations: 15.92 kB / 0.7937 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005091/0.3019, allocations: 221.5 kB / 0.7939 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.3022, allocations: 0.6887 MB / 0.7946 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.164e-05/0.3023, allocations: 15.97 kB / 0.7946 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.685e-05/0.3024, allocations: 19.38 kB / 0.7946 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.3024, allocations: 192 / 0.7946 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of Templates: time 0.003929/0.3063, allocations: 1.11 MB / 0.7957 GB, free: 2.828 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) Environment - environmentSimulation: