Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.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.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.658/1.658, allocations: 288.2 MB / 303.2 MB, free: 8.176 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.00123/0.00123, allocations: 187.4 kB / 371.8 MB, free: 10.28 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.701/1.701, allocations: 205.4 MB / 0.6305 GB, free: 9.996 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.0009144/0.0009144, allocations: 93.16 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003873/0.0003873, allocations: 15 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2251, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7891/1.014, allocations: 139 MB / 1.115 GB, free: 16.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/1.015, allocations: 75.25 kB / 1.115 GB, free: 16.32 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005311/1.02, allocations: 1.514 MB / 1.117 GB, free: 31.95 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.026e-06/1.02, allocations: 0 / 1.117 GB, free: 31.95 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.306e-05/1.02, allocations: 0 / 1.117 GB, free: 31.95 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.0006409/1.021, allocations: 459.2 kB / 1.117 GB, free: 31.51 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/1.021, allocations: 11.73 kB / 1.117 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.465e-05/1.021, allocations: 38.28 kB / 1.117 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.62e-05/1.021, allocations: 13.44 kB / 1.117 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/1.021, allocations: 189.1 kB / 1.117 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/1.021, allocations: 7.312 kB / 1.117 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/1.021, allocations: 10.61 kB / 1.117 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003169/1.021, allocations: 122.4 kB / 1.118 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/1.021, allocations: 0 / 1.118 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/1.021, allocations: 3.75 kB / 1.118 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/1.021, allocations: 3.844 kB / 1.118 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002939/1.022, allocations: 105.6 kB / 1.118 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000634/1.022, allocations: 340.2 kB / 1.118 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003247/1.023, allocations: 125.9 kB / 1.118 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/1.023, allocations: 3.938 kB / 1.118 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003069/1.023, allocations: 126 kB / 1.118 GB, free: 30.86 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 1.704e-06/1.023, allocations: 0 / 1.118 GB, free: 30.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0007466/1.024, allocations: 303.7 kB / 1.119 GB, free: 30.78 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/1.024, allocations: 94.44 kB / 1.119 GB, free: 30.68 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.862e-05/1.024, allocations: 119.9 kB / 1.119 GB, free: 30.59 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/1.024, allocations: 28.95 kB / 1.119 GB, free: 30.55 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.7e-05/1.024, allocations: 97.3 kB / 1.119 GB, free: 30.47 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/1.024, allocations: 15.22 kB / 1.119 GB, free: 30.46 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.528e-06/1.024, allocations: 1.312 kB / 1.119 GB, free: 30.46 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001192/1.024, allocations: 322.7 kB / 1.119 GB, free: 30.15 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/1.024, allocations: 76.75 kB / 1.119 GB, free: 30.14 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/1.025, allocations: 69.34 kB / 1.119 GB, free: 30.14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/1.025, allocations: 115.3 kB / 1.119 GB, free: 30.08 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/1.025, allocations: 3.812 kB / 1.119 GB, free: 30.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004552/1.025, allocations: 275 kB / 1.12 GB, free: 29.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.615e-05/1.025, allocations: 65.62 kB / 1.12 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/1.025, allocations: 0 / 1.12 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/1.025, allocations: 7.781 kB / 1.12 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/1.026, allocations: 19.55 kB / 1.12 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/1.026, allocations: 160 / 1.12 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/1.026, allocations: 33.58 kB / 1.12 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/1.026, allocations: 3.75 kB / 1.12 GB, free: 29.9 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,numReq.y,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked 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.0001215/1.026, allocations: 157.2 kB / 1.12 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.833e-05/1.026, allocations: 7.812 kB / 1.12 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.366e-05/1.026, allocations: 11.62 kB / 1.12 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/1.026, allocations: 0 / 1.12 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.026, allocations: 96 / 1.12 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/1.026, allocations: 5.25 kB / 1.12 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/1.026, allocations: 198.1 kB / 1.12 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/1.026, allocations: 4 kB / 1.12 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.233e-05/1.026, allocations: 16.08 kB / 1.12 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/1.026, allocations: 3.875 kB / 1.12 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/1.026, allocations: 1.5 kB / 1.12 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/1.026, allocations: 3.984 kB / 1.12 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/1.026, allocations: 3.844 kB / 1.12 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004599/1.027, allocations: 266.8 kB / 1.12 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.13e-05/1.027, allocations: 84.39 kB / 1.121 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/1.027, allocations: 3.812 kB / 1.121 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/1.027, allocations: 30.42 kB / 1.121 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/1.027, allocations: 40.52 kB / 1.121 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/1.027, allocations: 0 / 1.121 GB, free: 29.32 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.571e-05/1.027, allocations: 103.2 kB / 1.121 GB, free: 29.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.027, allocations: 0 / 1.121 GB, free: 29.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002302/1.027, allocations: 22 kB / 1.121 GB, free: 29.25 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,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Number of clocked states: 0 () * 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.0008257/1.028, allocations: 0.8072 MB / 1.122 GB, free: 28.61 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000478/1.029, allocations: 273.8 kB / 1.122 GB, free: 28.48 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.029, allocations: 3.312 kB / 1.122 GB, free: 28.48 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002354/1.029, allocations: 148.9 kB / 1.122 GB, free: 28.42 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/1.029, allocations: 10.53 kB / 1.122 GB, free: 28.42 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/1.031, allocations: 0.7829 MB / 1.123 GB, free: 28.05 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/1.031, allocations: 0.693 MB / 1.123 GB, free: 27.36 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.462e-05/1.031, allocations: 10.84 kB / 1.123 GB, free: 27.35 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.93e-05/1.031, allocations: 21.83 kB / 1.123 GB, free: 27.34 MB / 0.698 GB Notification: Performance of SimCode: time 2.11e-07/1.031, allocations: 0 / 1.123 GB, free: 27.34 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01344/1.044, allocations: 2.508 MB / 1.126 GB, free: 27.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/1.045, allocations: 196.3 kB / 1.126 GB, free: 26.86 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.675/2.72, allocations: 3.938 kB / 1.126 GB, free: 26.86 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_NumberOfRequests.fmu > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)