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: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.591/2.591, allocations: 287.3 MB / 302.3 MB, free: 8.309 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.001457/0.001457, allocations: 173.5 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.104/2.104, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001236/0.001235, allocations: 96.41 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006504/0.0006506, allocations: 12.41 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2433, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9621/1.206, allocations: 139.4 MB / 1.114 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003479/1.206, allocations: 92.69 kB / 1.115 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007483/1.213, allocations: 1.514 MB / 1.116 GB, free: 31.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.324e-06/1.213, allocations: 0 / 1.116 GB, free: 31.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.961e-05/1.214, allocations: 3.844 kB / 1.116 GB, free: 31.07 MB / 0.698 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.0007644/1.214, allocations: 453.7 kB / 1.116 GB, free: 30.63 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/1.214, allocations: 7.688 kB / 1.116 GB, free: 30.63 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.311e-05/1.214, allocations: 38 kB / 1.116 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.49e-05/1.214, allocations: 10.41 kB / 1.116 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/1.215, allocations: 193.5 kB / 1.117 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/1.215, allocations: 10.7 kB / 1.117 GB, free: 30.37 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/1.215, allocations: 6.375 kB / 1.117 GB, free: 30.37 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004097/1.215, allocations: 104.6 kB / 1.117 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/1.215, allocations: 0 / 1.117 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/1.215, allocations: 3.062 kB / 1.117 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/1.215, allocations: 0 / 1.117 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004686/1.216, allocations: 92.22 kB / 1.117 GB, free: 30.33 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000734/1.216, allocations: 343.9 kB / 1.117 GB, free: 30.05 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004541/1.217, allocations: 91.31 kB / 1.117 GB, free: 30.03 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/1.217, allocations: 8.031 kB / 1.117 GB, free: 30.02 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003859/1.217, allocations: 107.6 kB / 1.117 GB, free: 29.98 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.274e-06/1.217, allocations: 0 / 1.117 GB, free: 29.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0009896/1.218, allocations: 241.6 kB / 1.118 GB, free: 29.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.616e-05/1.218, allocations: 81.11 kB / 1.118 GB, free: 29.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/1.219, allocations: 123.8 kB / 1.118 GB, free: 29.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/1.219, allocations: 32.64 kB / 1.118 GB, free: 29.67 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.219e-05/1.219, allocations: 100.8 kB / 1.118 GB, free: 29.58 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/1.219, allocations: 24.38 kB / 1.118 GB, free: 29.57 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.422e-05/1.219, allocations: 3.812 kB / 1.118 GB, free: 29.57 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000134/1.219, allocations: 317.3 kB / 1.118 GB, free: 29.26 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003074/1.219, allocations: 58 kB / 1.118 GB, free: 29.25 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002622/1.22, allocations: 56.45 kB / 1.118 GB, free: 29.25 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/1.22, allocations: 101.8 kB / 1.118 GB, free: 29.19 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/1.22, allocations: 0 / 1.118 GB, free: 29.19 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007182/1.221, allocations: 224.8 kB / 1.119 GB, free: 29.09 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.447e-05/1.221, allocations: 64.09 kB / 1.119 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/1.221, allocations: 4 kB / 1.119 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/1.221, allocations: 1.188 kB / 1.119 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/1.221, allocations: 17.16 kB / 1.119 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/1.221, allocations: 5.266 kB / 1.119 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002361/1.221, allocations: 18.56 kB / 1.119 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/1.221, allocations: 6.984 kB / 1.119 GB, free: 29.02 MB / 0.698 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.0001662/1.221, allocations: 154.5 kB / 1.119 GB, free: 28.86 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/1.222, allocations: 7.781 kB / 1.119 GB, free: 28.86 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.164e-05/1.222, allocations: 18.92 kB / 1.119 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.738e-06/1.222, allocations: 0 / 1.119 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/1.222, allocations: 0 / 1.119 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/1.222, allocations: 4.234 kB / 1.119 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000858/1.222, allocations: 449.5 kB / 1.119 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/1.222, allocations: 0 / 1.119 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/1.223, allocations: 18.16 kB / 1.119 GB, free: 28.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/1.223, allocations: 0 / 1.119 GB, free: 28.51 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/1.223, allocations: 14.69 kB / 1.119 GB, free: 28.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/1.223, allocations: 3.953 kB / 1.119 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/1.223, allocations: 3.938 kB / 1.119 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006872/1.223, allocations: 280.3 kB / 1.12 GB, free: 28.33 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.579e-05/1.223, allocations: 84.89 kB / 1.12 GB, free: 28.23 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.374e-05/1.224, allocations: 6.391 kB / 1.12 GB, free: 28.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/1.224, allocations: 21.02 kB / 1.12 GB, free: 28.23 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/1.224, allocations: 23.31 kB / 1.12 GB, free: 28.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/1.224, allocations: 3.812 kB / 1.12 GB, free: 28.23 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.477e-05/1.224, allocations: 104.9 kB / 1.12 GB, free: 28.15 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/1.224, allocations: 0 / 1.12 GB, free: 28.15 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003242/1.224, allocations: 22.78 kB / 1.12 GB, free: 28.15 MB / 0.698 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 (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.001007/1.225, allocations: 0.8141 MB / 1.121 GB, free: 27.46 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000684/1.226, allocations: 239.5 kB / 1.121 GB, free: 27.33 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.226, allocations: 0 / 1.121 GB, free: 27.33 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003275/1.226, allocations: 117.9 kB / 1.121 GB, free: 27.26 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/1.227, allocations: 22.12 kB / 1.121 GB, free: 27.25 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002007/1.229, allocations: 0.7259 MB / 1.122 GB, free: 26.88 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/1.229, allocations: 0.6986 MB / 1.123 GB, free: 26.18 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001075/1.229, allocations: 14.2 kB / 1.123 GB, free: 26.17 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.227e-05/1.229, allocations: 24.55 kB / 1.123 GB, free: 26.16 MB / 0.698 GB Notification: Performance of SimCode: time 1.162e-06/1.229, allocations: 0 / 1.123 GB, free: 26.16 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02516/1.254, allocations: 2.131 MB / 1.125 GB, free: 25.98 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002838/1.255, allocations: 210.8 kB / 1.125 GB, free: 25.74 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.384/3.639, allocations: 0 / 1.125 GB, free: 25.74 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter.fmu > Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1)