Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.3963/0.3984, allocations: 80.81 MB / 0.5904 GB, free: 22.19 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002869/0.4013, allocations: 1.526 MB / 0.5919 GB, free: 21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007772/0.4021, allocations: 495.7 kB / 0.5924 GB, free: 20.61 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.636e-05/0.4022, allocations: 1.156 kB / 0.5924 GB, free: 20.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.4023, allocations: 3.938 kB / 0.5924 GB, free: 20.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.405e-05/0.4024, allocations: 15.3 kB / 0.5924 GB, free: 20.6 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.4026, allocations: 38.27 kB / 0.5924 GB, free: 20.57 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.4027, allocations: 83.67 kB / 0.5925 GB, free: 20.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.4029, allocations: 16.53 kB / 0.5925 GB, free: 20.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.403, allocations: 46.89 kB / 0.5926 GB, free: 20.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.542e-05/0.4031, allocations: 33.72 kB / 0.5926 GB, free: 20.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.4031, allocations: 7.156 kB / 0.5926 GB, free: 20.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.806e-05/0.4031, allocations: 7.125 kB / 0.5926 GB, free: 20.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.571e-05/0.4032, allocations: 10.48 kB / 0.5926 GB, free: 20.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.911e-05/0.4033, allocations: 41.23 kB / 0.5927 GB, free: 20.42 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.4034, allocations: 74.83 kB / 0.5927 GB, free: 20.37 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.4034, allocations: 1.969 kB / 0.5927 GB, free: 20.37 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.4034, allocations: 0 / 0.5927 GB, free: 20.37 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.4034, allocations: 1.844 kB / 0.5927 GB, free: 20.37 MB / 446.1 MB 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.0006401/0.4041, allocations: 442.7 kB / 0.5932 GB, free: 19.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.4041, allocations: 15.48 kB / 0.5932 GB, free: 19.9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.367e-05/0.4042, allocations: 9.875 kB / 0.5932 GB, free: 19.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.4043, allocations: 188.2 kB / 0.5934 GB, free: 19.67 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.4043, allocations: 6.031 kB / 0.5934 GB, free: 19.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.4044, allocations: 8.375 kB / 0.5934 GB, free: 19.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002693/0.4046, allocations: 97.69 kB / 0.5935 GB, free: 19.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.4046, allocations: 6 kB / 0.5935 GB, free: 19.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.4047, allocations: 4 kB / 0.5935 GB, free: 19.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.4047, allocations: 0 / 0.5935 GB, free: 19.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000254/0.4049, allocations: 74.31 kB / 0.5936 GB, free: 19.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004786/0.4054, allocations: 340.5 kB / 0.5939 GB, free: 19.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.4057, allocations: 86.97 kB / 0.594 GB, free: 19 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.4059, allocations: 52.94 kB / 0.594 GB, free: 18.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.4059, allocations: 0 / 0.594 GB, free: 18.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002708/0.4062, allocations: 103.3 kB / 0.5941 GB, free: 18.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.4062, allocations: 2.781 kB / 0.5941 GB, free: 18.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005541/0.4067, allocations: 215.2 kB / 0.5943 GB, free: 18.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.4068, allocations: 81.11 kB / 0.5944 GB, free: 18.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.855e-05/0.4068, allocations: 137.1 kB / 0.5945 GB, free: 18.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.4069, allocations: 25.7 kB / 0.5946 GB, free: 18.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.654e-05/0.4069, allocations: 96.12 kB / 0.5947 GB, free: 18.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.4069, allocations: 23.66 kB / 0.5947 GB, free: 18.22 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.374e-05/0.407, allocations: 25.7 kB / 0.5947 GB, free: 18.19 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.876e-05/0.407, allocations: 322.8 kB / 0.595 GB, free: 17.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.4072, allocations: 51.95 kB / 0.5951 GB, free: 17.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.4073, allocations: 51.95 kB / 0.5951 GB, free: 17.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002601/0.4076, allocations: 165.8 kB / 0.5953 GB, free: 17.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4076, allocations: 0 / 0.5953 GB, free: 17.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000349/0.408, allocations: 212.9 kB / 0.5955 GB, free: 17.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.425e-05/0.408, allocations: 59.41 kB / 0.5955 GB, free: 17.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.408, allocations: 288 / 0.5955 GB, free: 17.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.408, allocations: 0 / 0.5955 GB, free: 17.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.4082, allocations: 19.97 kB / 0.5955 GB, free: 17.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.4082, allocations: 3.938 kB / 0.5955 GB, free: 17.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.4083, allocations: 19.98 kB / 0.5956 GB, free: 17.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.4083, allocations: 7.938 kB / 0.5956 GB, free: 17.23 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (act1.count,$PRE.act1.count,act1.T_start,$PRE.act1.T_start,reqCou.nInc,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.046e-05/0.4084, allocations: 143.5 kB / 0.5957 GB, free: 17.08 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.638e-05/0.4084, allocations: 15.91 kB / 0.5957 GB, free: 17.06 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.627e-05/0.4085, allocations: 8.719 kB / 0.5957 GB, free: 17.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.4085, allocations: 0 / 0.5957 GB, free: 17.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.4085, allocations: 0 / 0.5957 GB, free: 17.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4085, allocations: 0 / 0.5957 GB, free: 17.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004438/0.4089, allocations: 444 kB / 0.5962 GB, free: 16.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.409, allocations: 0 / 0.5962 GB, free: 16.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.406e-05/0.409, allocations: 23.98 kB / 0.5962 GB, free: 16.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.4091, allocations: 0 / 0.5962 GB, free: 16.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.4091, allocations: 7.984 kB / 0.5962 GB, free: 16.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.4091, allocations: 3.938 kB / 0.5962 GB, free: 16.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4091, allocations: 0 / 0.5962 GB, free: 16.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00034/0.4094, allocations: 265 kB / 0.5964 GB, free: 16.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.232e-05/0.4095, allocations: 89.02 kB / 0.5965 GB, free: 16.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.4095, allocations: 4 kB / 0.5965 GB, free: 16.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.4096, allocations: 15.92 kB / 0.5965 GB, free: 16.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.113e-05/0.4097, allocations: 23.97 kB / 0.5966 GB, free: 16.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.966e-06/0.4098, allocations: 0 / 0.5966 GB, free: 16.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.872e-05/0.4098, allocations: 99.27 kB / 0.5967 GB, free: 16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4098, allocations: 0 / 0.5967 GB, free: 16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002283/0.41, allocations: 24 kB / 0.5967 GB, free: 15.98 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.947e-05/0.4101, allocations: 103.7 kB / 0.5968 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004002/0.4105, allocations: 230.6 kB / 0.597 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4105, allocations: 0 / 0.597 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.4107, allocations: 115.3 kB / 0.5971 GB, free: 15.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.411, allocations: 12.56 kB / 0.5971 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004768/0.4115, allocations: 206.8 kB / 0.5973 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001303/0.4116, allocations: 0.6924 MB / 0.598 GB, free: 14.53 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.156e-05/0.4117, allocations: 11.98 kB / 0.598 GB, free: 14.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.518e-05/0.4117, allocations: 11.44 kB / 0.598 GB, free: 14.51 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4118, allocations: 0 / 0.598 GB, free: 14.51 MB / 446.1 MB Notification: Performance of Templates: time 0.00348/0.4152, allocations: 1.311 MB / 0.5993 GB, free: 13.24 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile (rm -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1)