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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.558/1.558, allocations: 292.3 MB / 308.1 MB, free: 4.238 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.001351/0.00135, allocations: 196.5 kB / 376.9 MB, free: 1.801 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.358/1.358, allocations: 205 MB / 0.6353 GB, free: 9.781 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008725/0.0008725, allocations: 101.8 kB / 0.748 GB, free: 61.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009605/0.0009606, allocations: 55.91 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2099, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002837/0.2128, allocations: 1.595 MB / 0.9838 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008455/0.2136, allocations: 491.8 kB / 0.9842 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.526e-05/0.2137, allocations: 3.938 kB / 0.9842 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.826e-05/0.2138, allocations: 4 kB / 0.9843 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.078e-05/0.2139, allocations: 11.86 kB / 0.9843 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001953/0.2141, allocations: 31.97 kB / 0.9843 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.2142, allocations: 75.72 kB / 0.9844 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.999e-05/0.2144, allocations: 24.16 kB / 0.9844 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.2145, allocations: 35.91 kB / 0.9844 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.586e-05/0.2146, allocations: 31.84 kB / 0.9845 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.2146, allocations: 4 kB / 0.9845 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.517e-05/0.2146, allocations: 4 kB / 0.9845 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.024e-05/0.2147, allocations: 19.91 kB / 0.9845 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.672e-05/0.2147, allocations: 27.86 kB / 0.9845 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.2148, allocations: 68 kB / 0.9846 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2149, allocations: 7.922 kB / 0.9846 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.52e-07/0.2149, allocations: 4 kB / 0.9846 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.495e-06/0.2149, allocations: 0 / 0.9846 GB, free: 7.945 MB / 0.7136 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.0006445/0.2155, allocations: 446.6 kB / 0.985 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.2156, allocations: 12.03 kB / 0.985 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.16e-05/0.2156, allocations: 8.844 kB / 0.985 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.2158, allocations: 184.2 kB / 0.9852 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.2158, allocations: 8.359 kB / 0.9852 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.2158, allocations: 8.375 kB / 0.9852 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002657/0.2161, allocations: 97.7 kB / 0.9853 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.2161, allocations: 0 / 0.9853 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.2162, allocations: 0 / 0.9853 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.2162, allocations: 4 kB / 0.9853 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000274/0.2164, allocations: 75.86 kB / 0.9854 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005399/0.217, allocations: 340.6 kB / 0.9857 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002736/0.2173, allocations: 82.52 kB / 0.9858 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.2174, allocations: 44.95 kB / 0.9858 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.2175, allocations: 4 kB / 0.9858 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002935/0.2178, allocations: 107.3 kB / 0.9859 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.2178, allocations: 0 / 0.9859 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.000606/0.2184, allocations: 211.2 kB / 0.9861 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.2185, allocations: 89.09 kB / 0.9862 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.2186, allocations: 130.1 kB / 0.9864 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.179e-05/0.2186, allocations: 33.69 kB / 0.9864 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.311e-05/0.2187, allocations: 96.05 kB / 0.9865 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.2187, allocations: 11.81 kB / 0.9865 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.862e-05/0.2188, allocations: 33.7 kB / 0.9865 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.2189, allocations: 326.8 kB / 0.9868 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.2191, allocations: 43.97 kB / 0.9869 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.2192, allocations: 55.95 kB / 0.9869 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000312/0.2196, allocations: 165.8 kB / 0.9871 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2196, allocations: 0 / 0.9871 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004216/0.22, allocations: 209.1 kB / 0.9873 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.245e-05/0.2201, allocations: 67.39 kB / 0.9874 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.2201, allocations: 96 / 0.9874 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.2201, allocations: 11.88 kB / 0.9874 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.2202, allocations: 11.98 kB / 0.9874 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.2202, allocations: 0 / 0.9874 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.2204, allocations: 23.91 kB / 0.9874 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.2204, allocations: 7.938 kB / 0.9874 GB, free: 4.762 MB / 0.7136 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 (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 0.0001173/0.2205, allocations: 155.5 kB / 0.9876 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.954e-05/0.2206, allocations: 7.906 kB / 0.9876 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.206e-05/0.2206, allocations: 12.7 kB / 0.9876 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2206, allocations: 0 / 0.9876 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.2206, allocations: 0 / 0.9876 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.2206, allocations: 4 kB / 0.9876 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005237/0.2211, allocations: 436 kB / 0.988 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.2212, allocations: 0 / 0.988 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.271e-05/0.2213, allocations: 19.98 kB / 0.988 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.2213, allocations: 4 kB / 0.988 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.2213, allocations: 0 / 0.988 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.2213, allocations: 3.938 kB / 0.988 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2213, allocations: 0 / 0.988 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008434/0.2221, allocations: 0.8739 MB / 0.9889 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.847e-05/0.2222, allocations: 85.02 kB / 0.989 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.2222, allocations: 4 kB / 0.989 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.2224, allocations: 15.97 kB / 0.989 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.2225, allocations: 19.98 kB / 0.989 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.2225, allocations: 11.97 kB / 0.989 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.533e-05/0.2226, allocations: 101.4 kB / 0.9891 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2226, allocations: 0 / 0.9891 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003252/0.2229, allocations: 20 kB / 0.9891 GB, free: 2.844 MB / 0.7136 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.00012/0.2231, allocations: 103.2 kB / 0.9892 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004136/0.2235, allocations: 218.7 kB / 0.9894 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2235, allocations: 0 / 0.9894 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001947/0.2237, allocations: 119.3 kB / 0.9895 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.224, allocations: 15.94 kB / 0.9896 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005822/0.2245, allocations: 350.2 kB / 0.9899 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.2248, allocations: 0.6987 MB / 0.9906 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.066e-05/0.2249, allocations: 11.98 kB / 0.9906 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.349e-05/0.2249, allocations: 11.44 kB / 0.9906 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.2249, allocations: 0 / 0.9906 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of Templates: time 0.003261/0.2282, allocations: 1.204 MB / 0.9918 GB, free: 28 kB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile (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)