Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.595/1.595, allocations: 287.4 MB / 303.2 MB, free: 8.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009466/0.0009467, allocations: 174.1 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.485/1.485, allocations: 205.4 MB / 0.6305 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007978/0.000798, allocations: 85.23 kB / 0.7438 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005451/0.0005452, allocations: 11.11 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1986, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.001429/0.2, allocations: 1.222 MB / 0.9805 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006559/0.2007, allocations: 464.1 kB / 0.9809 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.606e-05/0.2008, allocations: 4 kB / 0.9809 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.363e-05/0.2009, allocations: 0 / 0.9809 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.438e-05/0.201, allocations: 15.86 kB / 0.9809 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.2011, allocations: 23.97 kB / 0.981 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.898e-05/0.2012, allocations: 71.77 kB / 0.981 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.2013, allocations: 20.17 kB / 0.9811 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.2015, allocations: 35.84 kB / 0.9811 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.946e-05/0.2015, allocations: 31.84 kB / 0.9811 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.2016, allocations: 4 kB / 0.9811 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.492e-05/0.2016, allocations: 4 kB / 0.9811 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.238e-05/0.2016, allocations: 11.97 kB / 0.9811 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.427e-05/0.2017, allocations: 37.64 kB / 0.9812 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.713e-05/0.2018, allocations: 48.14 kB / 0.9812 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2018, allocations: 4 kB / 0.9812 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2018, allocations: 0 / 0.9812 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.197e-06/0.2018, allocations: 0 / 0.9812 GB, free: 26.19 MB / 0.6198 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.0005243/0.2023, allocations: 430.7 kB / 0.9816 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.2024, allocations: 15.97 kB / 0.9816 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.037e-05/0.2024, allocations: 12.84 kB / 0.9817 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.2025, allocations: 189.1 kB / 0.9818 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.2026, allocations: 4.312 kB / 0.9818 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.2026, allocations: 8.375 kB / 0.9819 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.2028, allocations: 101.8 kB / 0.982 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.2029, allocations: 0 / 0.982 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.2029, allocations: 4 kB / 0.982 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.2029, allocations: 4 kB / 0.982 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002587/0.2031, allocations: 83.94 kB / 0.982 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004722/0.2036, allocations: 352.6 kB / 0.9824 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.2039, allocations: 94.52 kB / 0.9825 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.2041, allocations: 64.88 kB / 0.9825 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.2041, allocations: 0 / 0.9825 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002688/0.2044, allocations: 115.4 kB / 0.9826 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.703e-06/0.2044, allocations: 0 / 0.9826 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005608/0.2049, allocations: 235.2 kB / 0.9829 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.205, allocations: 85.11 kB / 0.9829 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.734e-05/0.2051, allocations: 138 kB / 0.9831 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.2051, allocations: 25.7 kB / 0.9831 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.802e-05/0.2051, allocations: 100 kB / 0.9832 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.2051, allocations: 15.81 kB / 0.9832 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-06/0.2052, allocations: 0 / 0.9832 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.201e-05/0.2052, allocations: 330.7 kB / 0.9835 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.2054, allocations: 51.97 kB / 0.9836 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.2055, allocations: 59.95 kB / 0.9836 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002748/0.2058, allocations: 182 kB / 0.9838 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2058, allocations: 0 / 0.9838 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003855/0.2062, allocations: 228.9 kB / 0.984 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/0.2062, allocations: 63.39 kB / 0.9841 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.2063, allocations: 0 / 0.9841 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.2063, allocations: 0 / 0.9841 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.2064, allocations: 19.98 kB / 0.9841 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.2064, allocations: 320 / 0.9841 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.2065, allocations: 31.83 kB / 0.9841 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.2066, allocations: 4 kB / 0.9841 GB, free: 22.91 MB / 0.6198 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 7.33e-05/0.2066, allocations: 159.4 kB / 0.9843 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.565e-05/0.2067, allocations: 11.91 kB / 0.9843 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.526e-05/0.2067, allocations: 8.719 kB / 0.9843 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2067, allocations: 3.984 kB / 0.9843 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2067, allocations: 0 / 0.9843 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.02e-05/0.2067, allocations: 81.11 kB / 0.9844 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.2068, allocations: 3.938 kB / 0.9844 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.2069, allocations: 23.98 kB / 0.9844 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.84e-05/0.207, allocations: 23.97 kB / 0.9844 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004509/0.2074, allocations: 337.9 kB / 0.9848 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003936/0.2079, allocations: 361.2 kB / 0.9851 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001583/0.208, allocations: 63.89 kB / 0.9852 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.069e-05/0.2081, allocations: 108.5 kB / 0.9853 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of Backend: time 3.2e-07/0.2081, allocations: 4 kB / 0.9853 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004879/0.2086, allocations: 257.2 kB / 0.9855 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of SimCode: time 0.000418/0.209, allocations: 0.6888 MB / 0.9862 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of Templates: time 0.003097/0.2121, allocations: 1.271 MB / 0.9874 GB, free: 19.39 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile (rm -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1)