Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.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.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Examples_NumberOfRequests",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.611/2.611, allocations: 284.9 MB / 292.4 MB, free: 10.51 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.002367/0.002367, allocations: 188.8 kB / 360.6 MB, free: 7.285 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.08/2.08, allocations: 205.3 MB / 0.6191 GB, free: 12.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.001091/0.001091, allocations: 95.64 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.314e-05/2.327e-05, allocations: 0 / 0.8508 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8973/0.8974, allocations: 115.3 MB / 0.9634 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2405/1.138, allocations: 138.1 MB / 1.098 GB, free: 2.355 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/1.138, allocations: 75.95 kB / 1.098 GB, free: 2.281 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007519/1.146, allocations: 1.494 MB / 1.1 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.814e-06/1.146, allocations: 0.5 kB / 1.1 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.042e-05/1.146, allocations: 0.5312 kB / 1.1 GB, free: 0.8242 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008199/1.147, allocations: 441.6 kB / 1.1 GB, free: 348 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.848e-05/1.147, allocations: 8.031 kB / 1.1 GB, free: 340 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.159e-05/1.147, allocations: 14.06 kB / 1.1 GB, free: 328 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/1.147, allocations: 196.7 kB / 1.1 GB, free: 92 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/1.147, allocations: 8.656 kB / 1.1 GB, free: 84 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/1.147, allocations: 4 kB / 1.1 GB, free: 80 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002063/1.147, allocations: 48.48 kB / 1.1 GB, free: 32 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/1.148, allocations: 90.66 kB / 1.101 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/1.148, allocations: 0 / 1.101 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/1.148, allocations: 0 / 1.101 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/1.148, allocations: 6.75 kB / 1.101 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008066/1.149, allocations: 323.2 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/1.149, allocations: 67.11 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/1.149, allocations: 49.88 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/1.149, allocations: 1.875 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002705/1.149, allocations: 100.3 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 2.425e-06/1.149, allocations: 3.25 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0004869/1.15, allocations: 148.7 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.927e-05/1.15, allocations: 81.11 kB / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/1.15, allocations: 126.4 kB / 1.101 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.698e-05/1.15, allocations: 25.7 kB / 1.101 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.202e-05/1.15, allocations: 96.03 kB / 1.102 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.768e-05/1.15, allocations: 19.75 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.573e-05/1.15, allocations: 6.312 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000152/1.15, allocations: 321.5 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/1.151, allocations: 44 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/1.151, allocations: 39.98 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.377e-05/1.151, allocations: 25.2 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.151, allocations: 4 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004598/1.151, allocations: 157.5 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.981e-05/1.151, allocations: 67.39 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.974e-06/1.152, allocations: 0 / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/1.152, allocations: 2.812 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/1.152, allocations: 15.98 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/1.152, allocations: 0 / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000289/1.152, allocations: 31.97 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-05/1.152, allocations: 7.953 kB / 1.102 GB, free: 14.1 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,numReq.y,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * 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.0001603/1.152, allocations: 143.9 kB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004191/1.153, allocations: 149.5 kB / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.948e-05/1.153, allocations: 9.875 kB / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.211e-05/1.153, allocations: 16.61 kB / 1.103 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/1.153, allocations: 0 / 1.103 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/1.153, allocations: 7.953 kB / 1.103 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/1.153, allocations: 0 / 1.103 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/1.153, allocations: 162.2 kB / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/1.153, allocations: 3.984 kB / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/1.153, allocations: 19.92 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/1.153, allocations: 0 / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/1.153, allocations: 4 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/1.153, allocations: 0 / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.153, allocations: 0 / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004262/1.154, allocations: 178.7 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.736e-05/1.154, allocations: 81.11 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.874e-05/1.154, allocations: 4 kB / 1.103 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/1.154, allocations: 27.97 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/1.154, allocations: 35.95 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/1.154, allocations: 11.98 kB / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.406e-05/1.155, allocations: 92.55 kB / 1.103 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.51e-07/1.155, allocations: 0 / 1.103 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003191/1.155, allocations: 27.91 kB / 1.103 GB, free: 13.05 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,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * 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.0008357/1.156, allocations: 0.7086 MB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000482/1.156, allocations: 222.7 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/1.156, allocations: 1.406 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000272/1.157, allocations: 117.6 kB / 1.104 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/1.157, allocations: 8 kB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007148/1.158, allocations: 180.6 kB / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/1.158, allocations: 0.6885 MB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001056/1.158, allocations: 20.7 kB / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.188e-05/1.158, allocations: 19.38 kB / 1.105 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of SimCode: time 1.233e-06/1.158, allocations: 3.938 kB / 1.105 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03662/1.195, allocations: 2.112 MB / 1.107 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003228/1.195, allocations: 148.8 kB / 1.107 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.31/3.505, allocations: 4.125 kB / 1.107 GB, free: 8.738 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_Continuous_Examples_NumberOfRequests.fmu > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)