Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.688/1.688, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.001106/0.001106, allocations: 176.9 kB / 361.4 MB, free: 6.863 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.861/1.861, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0009764/0.0009767, allocations: 99.98 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.891e-05/1.863e-05, allocations: 0 / 0.8518 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.798/0.7981, allocations: 115.3 MB / 0.9645 GB, free: 78.65 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.233/1.031, allocations: 138.8 MB / 1.1 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/1.032, allocations: 88.66 kB / 1.1 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005016/1.037, allocations: 1.516 MB / 1.102 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.863e-06/1.037, allocations: 0 / 1.102 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.229e-05/1.037, allocations: 0.75 kB / 1.102 GB, free: 15.34 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.0005968/1.037, allocations: 443.3 kB / 1.102 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.499e-05/1.037, allocations: 8.594 kB / 1.102 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.204e-05/1.037, allocations: 10.5 kB / 1.102 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/1.038, allocations: 191.7 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/1.038, allocations: 4 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/1.038, allocations: 7.984 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001312/1.038, allocations: 34.06 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/1.038, allocations: 65.66 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/1.038, allocations: 0 / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/1.038, allocations: 4 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/1.038, allocations: 3.938 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005739/1.039, allocations: 308.6 kB / 1.103 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/1.039, allocations: 47.45 kB / 1.103 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.791e-05/1.039, allocations: 35.84 kB / 1.103 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/1.039, allocations: 3.984 kB / 1.103 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001536/1.039, allocations: 87.41 kB / 1.103 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.014e-06/1.039, allocations: 0 / 1.103 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002627/1.039, allocations: 94.83 kB / 1.103 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/1.039, allocations: 84.02 kB / 1.103 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.296e-05/1.039, allocations: 114.7 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/1.039, allocations: 29.7 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.431e-05/1.04, allocations: 96.03 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/1.04, allocations: 23.59 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.769e-06/1.04, allocations: 4 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001157/1.04, allocations: 329.2 kB / 1.104 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.629e-05/1.04, allocations: 24 kB / 1.104 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.231e-05/1.04, allocations: 35.92 kB / 1.104 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.411e-05/1.04, allocations: 17.41 kB / 1.104 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/1.04, allocations: 0 / 1.104 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001867/1.04, allocations: 113.6 kB / 1.104 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.561e-05/1.04, allocations: 60.81 kB / 1.104 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/1.04, allocations: 0 / 1.104 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/1.04, allocations: 0 / 1.104 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/1.04, allocations: 23.98 kB / 1.104 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/1.04, allocations: 0 / 1.104 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/1.04, allocations: 23.88 kB / 1.104 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/1.041, allocations: 8 kB / 1.104 GB, free: 12.86 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.0001002/1.041, allocations: 134.6 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001751/1.041, allocations: 115.6 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.691e-05/1.041, allocations: 7.906 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.326e-05/1.041, allocations: 8.625 kB / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/1.041, allocations: 2.938 kB / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/1.041, allocations: 4 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/1.041, allocations: 7.938 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002991/1.041, allocations: 323.1 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.041, allocations: 6.906 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/1.041, allocations: 19.98 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/1.041, allocations: 3.75 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/1.041, allocations: 0 / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/1.041, allocations: 0 / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/1.041, allocations: 7.953 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/1.042, allocations: 203.3 kB / 1.105 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.221e-05/1.042, allocations: 89 kB / 1.105 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/1.042, allocations: 0 / 1.105 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/1.042, allocations: 23.98 kB / 1.105 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/1.042, allocations: 19.97 kB / 1.105 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/1.042, allocations: 7.953 kB / 1.105 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.869e-05/1.042, allocations: 97.52 kB / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.01e-07/1.042, allocations: 0 / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002511/1.042, allocations: 19.94 kB / 1.105 GB, free: 11.69 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.0005878/1.043, allocations: 0.7462 MB / 1.106 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002484/1.043, allocations: 170.8 kB / 1.106 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.043, allocations: 0 / 1.106 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001165/1.043, allocations: 99.31 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/1.044, allocations: 8 kB / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005609/1.044, allocations: 161.1 kB / 1.106 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/1.044, allocations: 0.6924 MB / 1.107 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.546e-05/1.045, allocations: 11.98 kB / 1.107 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.064e-05/1.045, allocations: 27.42 kB / 1.107 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of SimCode: time 5.52e-07/1.045, allocations: 0 / 1.107 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02038/1.065, allocations: 1.754 MB / 1.108 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004171/1.066, allocations: 186 kB / 1.109 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.635/2.701, allocations: 0 / 1.109 GB, free: 7.777 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter.fmu > Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1)