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: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.523/1.523, allocations: 249.3 MB / 261.8 MB, free: 5.867 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001213/0.001213, allocations: 173.8 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.829/1.829, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.0009958/0.0009961, allocations: 92.42 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.468e-05/3.469e-05, allocations: 0 / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2686, allocations: 106.3 MB / 0.8919 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.924/1.193, allocations: 133.2 MB / 1.022 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/1.193, allocations: 91.56 kB / 1.022 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00482/1.198, allocations: 1.513 MB / 1.024 GB, free: 192 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.813e-06/1.198, allocations: 0 / 1.024 GB, free: 192 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.415e-06/1.198, allocations: 3.938 kB / 1.024 GB, free: 188 kB / 0.6355 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.0005787/1.198, allocations: 436.1 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/1.199, allocations: 12.03 kB / 1.024 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.525e-05/1.199, allocations: 41.73 kB / 1.024 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.204e-05/1.199, allocations: 11.91 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/1.199, allocations: 195.2 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/1.199, allocations: 0 / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/1.199, allocations: 8 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/1.199, allocations: 79.66 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/1.199, allocations: 0 / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/1.199, allocations: 0 / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/1.199, allocations: 0 / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.123e-05/1.199, allocations: 37.69 kB / 1.024 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006205/1.2, allocations: 344.7 kB / 1.025 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/1.2, allocations: 48.2 kB / 1.025 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.915e-05/1.2, allocations: 39.59 kB / 1.025 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/1.2, allocations: 0 / 1.025 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001665/1.2, allocations: 84 kB / 1.025 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/1.2, allocations: 0 / 1.025 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0002941/1.201, allocations: 137.9 kB / 1.025 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/1.201, allocations: 80.98 kB / 1.025 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/1.201, allocations: 117.4 kB / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/1.201, allocations: 37.45 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.182e-05/1.201, allocations: 99.09 kB / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/1.201, allocations: 11.75 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.804e-06/1.201, allocations: 7.938 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.201, allocations: 318.6 kB / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.096e-05/1.201, allocations: 26.31 kB / 1.026 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.773e-05/1.201, allocations: 34.86 kB / 1.026 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.214e-05/1.201, allocations: 82.33 kB / 1.026 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.201, allocations: 4 kB / 1.026 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002381/1.202, allocations: 175.4 kB / 1.026 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.761e-05/1.202, allocations: 55.41 kB / 1.026 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/1.202, allocations: 8.531 kB / 1.026 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/1.202, allocations: 0 / 1.026 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/1.202, allocations: 35.67 kB / 1.026 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/1.202, allocations: 4 kB / 1.026 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/1.202, allocations: 23.89 kB / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/1.202, allocations: 4 kB / 1.026 GB, free: 13.54 MB / 0.6511 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 9.979e-05/1.202, allocations: 140.6 kB / 1.026 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.798e-05/1.202, allocations: 7.906 kB / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.689e-05/1.202, allocations: 11.75 kB / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/1.202, allocations: 0 / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/1.202, allocations: 3.953 kB / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/1.202, allocations: 0 / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003794/1.203, allocations: 407.5 kB / 1.027 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/1.203, allocations: 0 / 1.027 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/1.203, allocations: 15.98 kB / 1.027 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/1.203, allocations: 0 / 1.027 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/1.203, allocations: 4 kB / 1.027 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/1.203, allocations: 3.953 kB / 1.027 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/1.203, allocations: 0 / 1.027 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/1.203, allocations: 233.6 kB / 1.027 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.068e-05/1.203, allocations: 81.02 kB / 1.027 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/1.203, allocations: 4 kB / 1.027 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/1.203, allocations: 19.36 kB / 1.027 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/1.203, allocations: 31.42 kB / 1.027 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/1.203, allocations: 3.984 kB / 1.027 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.995e-05/1.203, allocations: 101.3 kB / 1.027 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.573e-06/1.203, allocations: 4 kB / 1.027 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002276/1.204, allocations: 31.66 kB / 1.027 GB, free: 12.42 MB / 0.6511 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.000544/1.204, allocations: 0.7689 MB / 1.028 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002415/1.204, allocations: 184.1 kB / 1.028 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.204, allocations: 0 / 1.028 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/1.205, allocations: 96.47 kB / 1.028 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/1.205, allocations: 11.94 kB / 1.028 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005124/1.205, allocations: 166.1 kB / 1.028 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/1.206, allocations: 0.6965 MB / 1.029 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.439e-05/1.206, allocations: 15.84 kB / 1.029 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.308e-05/1.206, allocations: 25.3 kB / 1.029 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of SimCode: time 5.81e-07/1.206, allocations: 0 / 1.029 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01508/1.221, allocations: 2.149 MB / 1.031 GB, free: 8.441 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002294/1.221, allocations: 188.2 kB / 1.031 GB, free: 8.223 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.808/3.029, allocations: 0 / 1.031 GB, free: 8.223 MB / 0.6511 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter.fmu > Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1)