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 loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.288/2.288, allocations: 251.1 MB / 266.7 MB, free: 11.57 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.001281/0.001281, allocations: 169.6 kB / 326.2 MB, free: 2.848 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.301/2.301, allocations: 205.4 MB / 0.5772 GB, free: 20.77 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.0009402/0.0009402, allocations: 87.8 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006449/0.0006454, allocations: 13.28 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2045, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.001799/0.2064, allocations: 1.225 MB / 0.9007 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008579/0.2072, allocations: 475.9 kB / 0.9012 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.245e-05/0.2073, allocations: 4 kB / 0.9012 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.681e-05/0.2074, allocations: 7.922 kB / 0.9012 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.257e-05/0.2075, allocations: 11.86 kB / 0.9012 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.2077, allocations: 19.97 kB / 0.9012 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.2079, allocations: 67.78 kB / 0.9013 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.208, allocations: 24.16 kB / 0.9013 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.2081, allocations: 35.86 kB / 0.9013 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.415e-05/0.2082, allocations: 27.89 kB / 0.9014 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.084e-05/0.2083, allocations: 4 kB / 0.9014 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.843e-05/0.2083, allocations: 4 kB / 0.9014 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.323e-05/0.2083, allocations: 7.938 kB / 0.9014 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.222e-05/0.2084, allocations: 49.62 kB / 0.9014 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.742e-05/0.2085, allocations: 43.91 kB / 0.9015 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.2085, allocations: 0 / 0.9015 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.285e-06/0.2085, allocations: 3.938 kB / 0.9015 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.2085, allocations: 0 / 0.9015 GB, free: 63.5 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.0007441/0.2093, allocations: 442.8 kB / 0.9019 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.2093, allocations: 16.03 kB / 0.9019 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.087e-05/0.2094, allocations: 4.938 kB / 0.9019 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.2096, allocations: 180.3 kB / 0.9021 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.2096, allocations: 4.375 kB / 0.9021 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/0.2097, allocations: 4.375 kB / 0.9021 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003945/0.2101, allocations: 105.6 kB / 0.9022 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.2101, allocations: 7.984 kB / 0.9022 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.2101, allocations: 8 kB / 0.9022 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.2101, allocations: 0 / 0.9022 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004659/0.2106, allocations: 83.94 kB / 0.9023 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006975/0.2113, allocations: 352.5 kB / 0.9026 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004646/0.2118, allocations: 94.52 kB / 0.9027 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/0.2121, allocations: 60.95 kB / 0.9028 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.2121, allocations: 4 kB / 0.9028 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004171/0.2126, allocations: 107.3 kB / 0.9029 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 3.357e-06/0.2126, allocations: 0 / 0.9029 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0009498/0.2135, allocations: 235.2 kB / 0.9031 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.2136, allocations: 85.09 kB / 0.9032 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.2137, allocations: 134.1 kB / 0.9033 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.2137, allocations: 25.7 kB / 0.9033 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.407e-05/0.2138, allocations: 96.05 kB / 0.9034 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.2138, allocations: 23.73 kB / 0.9034 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.082e-05/0.2139, allocations: 0 / 0.9034 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.386e-05/0.2139, allocations: 322.8 kB / 0.9038 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000277/0.2142, allocations: 59.95 kB / 0.9038 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/0.2145, allocations: 55.95 kB / 0.9039 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000286/0.2148, allocations: 107.3 kB / 0.904 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.2148, allocations: 0 / 0.904 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006967/0.2155, allocations: 229 kB / 0.9042 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.958e-05/0.2156, allocations: 59.34 kB / 0.9042 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.2156, allocations: 7.938 kB / 0.9042 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.681e-05/0.2157, allocations: 4 kB / 0.9043 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.2159, allocations: 23.97 kB / 0.9043 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.2159, allocations: 0 / 0.9043 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.2162, allocations: 23.98 kB / 0.9043 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.2162, allocations: 4 kB / 0.9043 GB, free: 60.31 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.2163, allocations: 147.5 kB / 0.9044 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.861e-05/0.2164, allocations: 19.88 kB / 0.9045 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.357e-05/0.2164, allocations: 8.719 kB / 0.9045 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2164, allocations: 0 / 0.9045 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.2165, allocations: 0 / 0.9045 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.418e-05/0.2165, allocations: 85.02 kB / 0.9045 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/0.2165, allocations: 7.938 kB / 0.9046 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.2168, allocations: 27.97 kB / 0.9046 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.2169, allocations: 19.97 kB / 0.9046 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007902/0.2177, allocations: 329.9 kB / 0.9049 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006431/0.2184, allocations: 356.4 kB / 0.9053 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002838/0.2187, allocations: 64.36 kB / 0.9053 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.31e-05/0.2187, allocations: 108.5 kB / 0.9054 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of Backend: time 5.91e-07/0.2188, allocations: 0 / 0.9054 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006983/0.2195, allocations: 265.1 kB / 0.9057 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005666/0.22, allocations: 0.6928 MB / 0.9064 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of Templates: time 0.004834/0.2249, allocations: 1.273 MB / 0.9076 GB, free: 56.79 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile (rm -f Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1)