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.342/1.342, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001107/0.001107, allocations: 172.6 kB / 326.5 MB, free: 2.684 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.427/1.427, allocations: 205 MB / 0.5766 GB, free: 20.95 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.0007875/0.0007876, allocations: 90.77 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000272/0.0002721, allocations: 9.781 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1566, allocations: 105.4 MB / 0.8968 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.001396/0.158, allocations: 1.247 MB / 0.898 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006641/0.1587, allocations: 0.508 MB / 0.8985 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.736e-05/0.1587, allocations: 0 / 0.8985 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.108e-05/0.1588, allocations: 3.938 kB / 0.8985 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.299e-05/0.1589, allocations: 11.86 kB / 0.8985 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.1591, allocations: 27.97 kB / 0.8985 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.686e-05/0.1592, allocations: 83.7 kB / 0.8986 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.951e-05/0.1592, allocations: 16.12 kB / 0.8986 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.1594, allocations: 31.89 kB / 0.8986 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.728e-05/0.1594, allocations: 35.84 kB / 0.8987 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.1595, allocations: 4 kB / 0.8987 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.27e-05/0.1595, allocations: 7.938 kB / 0.8987 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.561e-05/0.1595, allocations: 11.92 kB / 0.8987 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.246e-05/0.1596, allocations: 27.86 kB / 0.8987 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.998e-05/0.1597, allocations: 63.77 kB / 0.8988 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1597, allocations: 0 / 0.8988 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1597, allocations: 0 / 0.8988 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.387e-06/0.1597, allocations: 0 / 0.8988 GB, free: 66.06 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.000508/0.1602, allocations: 454.4 kB / 0.8992 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.1602, allocations: 8.031 kB / 0.8992 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.097e-05/0.1603, allocations: 8.844 kB / 0.8992 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.1604, allocations: 192.2 kB / 0.8994 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.1605, allocations: 384 / 0.8994 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.1605, allocations: 12.38 kB / 0.8994 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.1607, allocations: 105.8 kB / 0.8995 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.1607, allocations: 0 / 0.8995 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.1608, allocations: 3.938 kB / 0.8995 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1608, allocations: 0 / 0.8995 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002559/0.161, allocations: 87.94 kB / 0.8996 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004486/0.1615, allocations: 344.7 kB / 0.8999 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.1618, allocations: 98.55 kB / 0.9 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.1619, allocations: 60.95 kB / 0.9001 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.162, allocations: 0 / 0.9001 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000256/0.1622, allocations: 119.2 kB / 0.9002 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.1622, allocations: 0 / 0.9002 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0005342/0.1628, allocations: 239.2 kB / 0.9004 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.212e-05/0.1628, allocations: 81.11 kB / 0.9005 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.888e-05/0.1629, allocations: 131.8 kB / 0.9006 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.1629, allocations: 33.7 kB / 0.9007 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.165e-05/0.1629, allocations: 92.14 kB / 0.9008 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.163, allocations: 23.64 kB / 0.9008 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.456e-05/0.163, allocations: 17.72 kB / 0.9008 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.873e-05/0.163, allocations: 322.8 kB / 0.9011 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.1632, allocations: 55.97 kB / 0.9012 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.1633, allocations: 59.89 kB / 0.9012 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002676/0.1636, allocations: 185.8 kB / 0.9014 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1636, allocations: 0 / 0.9014 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003565/0.164, allocations: 224.9 kB / 0.9016 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.849e-05/0.164, allocations: 63.39 kB / 0.9017 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.164, allocations: 0 / 0.9017 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.164, allocations: 7.922 kB / 0.9017 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.1642, allocations: 19.98 kB / 0.9017 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.1642, allocations: 7.938 kB / 0.9017 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.1643, allocations: 19.98 kB / 0.9017 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.1643, allocations: 7.984 kB / 0.9017 GB, free: 62.75 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 (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 6.687e-05/0.1644, allocations: 147.5 kB / 0.9019 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.508e-05/0.1644, allocations: 7.906 kB / 0.9019 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.427e-05/0.1644, allocations: 16.7 kB / 0.9019 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1645, allocations: 4 kB / 0.9019 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1645, allocations: 0 / 0.9019 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.895e-05/0.1645, allocations: 85.02 kB / 0.902 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.1645, allocations: 7.938 kB / 0.902 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.1646, allocations: 15.98 kB / 0.902 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.075e-05/0.1647, allocations: 23.97 kB / 0.902 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00042/0.1651, allocations: 329.9 kB / 0.9023 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003473/0.1655, allocations: 356.4 kB / 0.9027 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001583/0.1657, allocations: 67.89 kB / 0.9027 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.67e-05/0.1657, allocations: 109.2 kB / 0.9029 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of Backend: time 3.5e-07/0.1657, allocations: 0 / 0.9029 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004445/0.1662, allocations: 265 kB / 0.9031 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of SimCode: time 0.000367/0.1666, allocations: 0.6848 MB / 0.9038 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of Templates: time 0.00287/0.1694, allocations: 1.312 MB / 0.9051 GB, free: 59.22 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)