Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.408/1.408, allocations: 252 MB / 268 MB, free: 10.88 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.001104/0.001104, allocations: 187.5 kB / 327.6 MB, free: 2.109 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.834/1.834, allocations: 205.4 MB / 0.5786 GB, free: 20.19 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.0007749/0.0007748, allocations: 85.69 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003594, allocations: 9.031 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2171, allocations: 106.3 MB / 0.9015 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.001539/0.2187, allocations: 1.238 MB / 0.9027 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007238/0.2194, allocations: 495.4 kB / 0.9031 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.237e-05/0.2195, allocations: 0 / 0.9031 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.474e-05/0.2196, allocations: 7.922 kB / 0.9032 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.758e-05/0.2196, allocations: 19.86 kB / 0.9032 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001783/0.2198, allocations: 27.97 kB / 0.9032 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.502e-05/0.2199, allocations: 75.72 kB / 0.9033 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.22, allocations: 20.17 kB / 0.9033 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.2201, allocations: 35.91 kB / 0.9033 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.721e-05/0.2202, allocations: 31.83 kB / 0.9034 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.2203, allocations: 4 kB / 0.9034 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.606e-05/0.2203, allocations: 4 kB / 0.9034 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.405e-05/0.2203, allocations: 7.938 kB / 0.9034 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.945e-05/0.2204, allocations: 65.48 kB / 0.9034 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.362e-05/0.2205, allocations: 39.91 kB / 0.9035 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2205, allocations: 0 / 0.9035 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2205, allocations: 3.938 kB / 0.9035 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.2205, allocations: 0 / 0.9035 GB, free: 61.43 MB / 0.6042 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.0005744/0.2211, allocations: 454.8 kB / 0.9039 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.2211, allocations: 8.031 kB / 0.9039 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.2212, allocations: 12.84 kB / 0.9039 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.2213, allocations: 184.2 kB / 0.9041 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.2213, allocations: 4.375 kB / 0.9041 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.2214, allocations: 4.375 kB / 0.9041 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002657/0.2216, allocations: 105.8 kB / 0.9042 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.2217, allocations: 7.922 kB / 0.9042 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.2217, allocations: 7.984 kB / 0.9042 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.2217, allocations: 0 / 0.9042 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002671/0.222, allocations: 87.94 kB / 0.9043 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004831/0.2225, allocations: 344.7 kB / 0.9046 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.2227, allocations: 94.55 kB / 0.9047 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000176/0.2229, allocations: 60.95 kB / 0.9048 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.223, allocations: 0 / 0.9048 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002782/0.2232, allocations: 115.2 kB / 0.9049 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.2233, allocations: 0 / 0.9049 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0005502/0.2238, allocations: 231.2 kB / 0.9051 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.2239, allocations: 85.09 kB / 0.9052 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.666e-05/0.2239, allocations: 134 kB / 0.9053 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.224, allocations: 33.7 kB / 0.9054 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.662e-05/0.224, allocations: 84.14 kB / 0.9054 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.224, allocations: 27.64 kB / 0.9055 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.217e-06/0.224, allocations: 12 kB / 0.9055 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.859e-05/0.2241, allocations: 314.8 kB / 0.9058 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.2243, allocations: 59.95 kB / 0.9058 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.2244, allocations: 59.89 kB / 0.9059 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002738/0.2247, allocations: 186 kB / 0.9061 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2247, allocations: 4 kB / 0.9061 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003666/0.2251, allocations: 224.9 kB / 0.9063 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.796e-05/0.2251, allocations: 62.06 kB / 0.9063 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.2251, allocations: 0 / 0.9063 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.2252, allocations: 4 kB / 0.9064 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.2253, allocations: 27.97 kB / 0.9064 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.2253, allocations: 0 / 0.9064 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.2254, allocations: 19.98 kB / 0.9064 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.2255, allocations: 3.938 kB / 0.9064 GB, free: 58.14 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.369e-05/0.2256, allocations: 151.5 kB / 0.9065 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.687e-05/0.2256, allocations: 7.906 kB / 0.9066 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.764e-05/0.2256, allocations: 16.72 kB / 0.9066 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.2256, allocations: 4 kB / 0.9066 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.2256, allocations: 0 / 0.9066 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.2256, allocations: 0 / 0.9066 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004577/0.2261, allocations: 456 kB / 0.907 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2261, allocations: 0 / 0.907 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.487e-05/0.2262, allocations: 15.98 kB / 0.907 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2262, allocations: 4 kB / 0.907 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.2262, allocations: 3.984 kB / 0.907 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.2262, allocations: 7.938 kB / 0.907 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2262, allocations: 0 / 0.907 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003644/0.2266, allocations: 289 kB / 0.9073 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.625e-05/0.2267, allocations: 81.02 kB / 0.9074 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.2267, allocations: 4 kB / 0.9074 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.2269, allocations: 19.92 kB / 0.9074 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.227, allocations: 19.97 kB / 0.9074 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.227, allocations: 8 kB / 0.9074 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.23e-05/0.227, allocations: 100.6 kB / 0.9075 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.1e-07/0.227, allocations: 7.938 kB / 0.9075 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002126/0.2273, allocations: 20 kB / 0.9076 GB, free: 56.84 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001056/0.2274, allocations: 99.25 kB / 0.9077 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003866/0.2278, allocations: 247.1 kB / 0.9079 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2278, allocations: 0 / 0.9079 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.228, allocations: 119.3 kB / 0.908 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.2282, allocations: 14.98 kB / 0.908 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004388/0.2287, allocations: 254.8 kB / 0.9083 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.2288, allocations: 0.6926 MB / 0.9089 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.167e-05/0.2289, allocations: 19.42 kB / 0.909 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of SimCode: time 3.51e-07/0.2289, allocations: 4 kB / 0.909 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of Templates: time 0.00232/0.2312, allocations: 1.241 MB / 0.9102 GB, free: 54.07 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1)