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.56/1.56, allocations: 289.9 MB / 297.4 MB, free: 6.348 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.001072/0.001072, allocations: 176.8 kB / 366.7 MB, free: 1.648 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.699/1.699, allocations: 205.2 MB / 0.626 GB, free: 7.18 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.0008965/0.0008965, allocations: 89.47 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.027e-05/2.02e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7336/0.7337, allocations: 116.3 MB / 0.9733 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2011/0.9348, allocations: 139.8 MB / 1.11 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/0.9352, allocations: 91.92 kB / 1.11 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.004789/0.94, allocations: 1.507 MB / 1.111 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.523e-06/0.94, allocations: 0.8125 kB / 1.111 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.219e-05/0.94, allocations: 4 kB / 1.111 GB, free: 8.855 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.0006038/0.9406, allocations: 435.1 kB / 1.112 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.9407, allocations: 8.031 kB / 1.112 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.255e-05/0.9407, allocations: 8.75 kB / 1.112 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002663/0.941, allocations: 198.8 kB / 1.112 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.941, allocations: 5.469 kB / 1.112 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.9411, allocations: 4 kB / 1.112 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001298/0.9412, allocations: 35.98 kB / 1.112 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.9413, allocations: 65.23 kB / 1.112 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.9414, allocations: 0 / 1.112 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.9414, allocations: 4 kB / 1.112 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.9414, allocations: 0 / 1.112 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005813/0.942, allocations: 317 kB / 1.112 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.9421, allocations: 47.86 kB / 1.112 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.106e-05/0.9422, allocations: 32.97 kB / 1.112 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.9422, allocations: 2.062 kB / 1.112 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001706/0.9424, allocations: 87.41 kB / 1.113 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.9424, allocations: 0 / 1.113 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002522/0.9427, allocations: 97.56 kB / 1.113 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/0.9427, allocations: 81.61 kB / 1.113 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.9428, allocations: 115.6 kB / 1.113 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.9429, allocations: 31.7 kB / 1.113 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.221e-05/0.9429, allocations: 92.05 kB / 1.113 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.943, allocations: 23.67 kB / 1.113 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.023e-05/0.943, allocations: 4 kB / 1.113 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.9431, allocations: 322.8 kB / 1.113 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.386e-05/0.9432, allocations: 27.98 kB / 1.113 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.634e-05/0.9432, allocations: 30.44 kB / 1.113 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.782e-05/0.9433, allocations: 23.92 kB / 1.113 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.9433, allocations: 0 / 1.113 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001906/0.9435, allocations: 109.6 kB / 1.113 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.144e-05/0.9436, allocations: 64.33 kB / 1.114 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.9436, allocations: 0 / 1.114 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.9436, allocations: 0 / 1.114 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.9437, allocations: 27.92 kB / 1.114 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.9437, allocations: 2.812 kB / 1.114 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.9439, allocations: 23.89 kB / 1.114 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.022e-05/0.9439, allocations: 4 kB / 1.114 GB, free: 6.367 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 ($whenCondition1,reqCou.nInc,$PRE.act1.T_start,act1.T_start,$PRE.act1.count,act1.count) * Number of discrete 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.0001071/0.944, allocations: 144 kB / 1.114 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.775e-05/0.944, allocations: 7.906 kB / 1.114 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.28e-05/0.9441, allocations: 18.22 kB / 1.114 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.9441, allocations: 0 / 1.114 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.9441, allocations: 0 / 1.114 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.9441, allocations: 3.984 kB / 1.114 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003313/0.9445, allocations: 343 kB / 1.114 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.9445, allocations: 0 / 1.114 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.431e-05/0.9446, allocations: 15.98 kB / 1.114 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.371e-06/0.9446, allocations: 4.859 kB / 1.114 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.9446, allocations: 8 kB / 1.114 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.9446, allocations: 0 / 1.114 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.9446, allocations: 0 / 1.114 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.9448, allocations: 199.3 kB / 1.114 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.054e-05/0.9449, allocations: 81.02 kB / 1.114 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.9449, allocations: 4 kB / 1.114 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.9451, allocations: 31.41 kB / 1.114 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.9452, allocations: 19.97 kB / 1.114 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.9452, allocations: 4 kB / 1.114 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.726e-05/0.9453, allocations: 97.14 kB / 1.115 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9453, allocations: 0 / 1.115 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000246/0.9456, allocations: 23.94 kB / 1.115 GB, free: 5.305 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001366/0.9457, allocations: 103.2 kB / 1.115 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002454/0.9459, allocations: 170.8 kB / 1.115 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.946, allocations: 4 kB / 1.115 GB, free: 5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.9461, allocations: 95.33 kB / 1.115 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.9463, allocations: 7.953 kB / 1.115 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003555/0.9467, allocations: 132.9 kB / 1.115 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.947, allocations: 0.6963 MB / 1.116 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.011e-05/0.947, allocations: 15.98 kB / 1.116 GB, free: 4 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.932e-05/0.9471, allocations: 7.438 kB / 1.116 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/0.9471, allocations: 0 / 1.116 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of Templates: time 0.00322/0.9503, allocations: 1.023 MB / 1.117 GB, free: 3.02 MB / 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)