Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.251/2.251, allocations: 248.5 MB / 261.1 MB, free: 5.969 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.00147/0.00147, allocations: 178.4 kB / 320.4 MB, free: 15.36 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.932/1.932, allocations: 205.2 MB / 0.571 GB, free: 11.84 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.001068/0.001067, allocations: 93.58 kB / 0.6754 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.654e-05/3.67e-05, allocations: 4 kB / 0.7869 GB, free: 97.84 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2074, allocations: 106.2 MB / 0.8907 GB, free: 7.492 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8904/1.098, allocations: 132.5 MB / 1.02 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002981/1.098, allocations: 72.2 kB / 1.02 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007449/1.106, allocations: 1.508 MB / 1.022 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.673e-06/1.106, allocations: 0 / 1.022 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.154e-05/1.106, allocations: 4 kB / 1.022 GB, free: 1.492 MB / 0.6355 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.0007947/1.107, allocations: 443.9 kB / 1.022 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/1.107, allocations: 12.03 kB / 1.022 GB, free: 1 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.693e-05/1.107, allocations: 41.98 kB / 1.022 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.786e-05/1.107, allocations: 11.94 kB / 1.022 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/1.107, allocations: 186.7 kB / 1.022 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/1.107, allocations: 11.36 kB / 1.022 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/1.107, allocations: 8 kB / 1.022 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/1.107, allocations: 92.03 kB / 1.022 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/1.107, allocations: 3.984 kB / 1.022 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/1.108, allocations: 8 kB / 1.022 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/1.108, allocations: 0 / 1.022 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/1.108, allocations: 47.5 kB / 1.022 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000758/1.108, allocations: 335.7 kB / 1.023 GB, free: 240 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/1.109, allocations: 83 kB / 1.023 GB, free: 168 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/1.109, allocations: 54.78 kB / 1.023 GB, free: 124 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/1.109, allocations: 0 / 1.023 GB, free: 124 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002701/1.109, allocations: 107.9 kB / 1.023 GB, free: 24 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.964e-06/1.109, allocations: 0 / 1.023 GB, free: 24 kB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0005326/1.11, allocations: 181.7 kB / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.459e-05/1.11, allocations: 85.11 kB / 1.023 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/1.11, allocations: 122.6 kB / 1.023 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/1.11, allocations: 29.7 kB / 1.023 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.355e-05/1.11, allocations: 95.5 kB / 1.023 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/1.11, allocations: 23.19 kB / 1.023 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.55e-05/1.11, allocations: 0 / 1.023 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001386/1.11, allocations: 322.3 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/1.111, allocations: 42.44 kB / 1.024 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/1.111, allocations: 54.86 kB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/1.111, allocations: 89.44 kB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/1.111, allocations: 0 / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004929/1.111, allocations: 226.2 kB / 1.024 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.802e-05/1.111, allocations: 66.77 kB / 1.024 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/1.111, allocations: 0 / 1.024 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/1.111, allocations: 3.953 kB / 1.024 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/1.112, allocations: 15.98 kB / 1.024 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/1.112, allocations: 4.703 kB / 1.024 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002795/1.112, allocations: 23.98 kB / 1.024 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/1.112, allocations: 11.48 kB / 1.024 GB, free: 14.69 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,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.0001475/1.112, allocations: 146.1 kB / 1.024 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.048e-05/1.112, allocations: 7.906 kB / 1.024 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.472e-05/1.112, allocations: 8.375 kB / 1.024 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/1.112, allocations: 7.984 kB / 1.024 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/1.112, allocations: 7.953 kB / 1.024 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/1.112, allocations: 0 / 1.024 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/1.113, allocations: 194.8 kB / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.113, allocations: 0 / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/1.113, allocations: 15.98 kB / 1.025 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/1.113, allocations: 0 / 1.025 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/1.113, allocations: 0 / 1.025 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/1.113, allocations: 0 / 1.025 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.113, allocations: 4 kB / 1.025 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004606/1.113, allocations: 212.7 kB / 1.025 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.454e-05/1.113, allocations: 88.89 kB / 1.025 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.999e-05/1.113, allocations: 6 kB / 1.025 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002634/1.114, allocations: 27.97 kB / 1.025 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/1.114, allocations: 33.45 kB / 1.025 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/1.114, allocations: 12 kB / 1.025 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001006/1.114, allocations: 100.6 kB / 1.025 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.3e-07/1.114, allocations: 0 / 1.025 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002803/1.114, allocations: 27.25 kB / 1.025 GB, free: 13.77 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,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.0008088/1.115, allocations: 0.7455 MB / 1.026 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004509/1.116, allocations: 231.4 kB / 1.026 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.116, allocations: 0 / 1.026 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000235/1.116, allocations: 121.6 kB / 1.026 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/1.116, allocations: 11.5 kB / 1.026 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006956/1.117, allocations: 180.6 kB / 1.026 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/1.117, allocations: 0.7004 MB / 1.027 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.821e-05/1.117, allocations: 16.17 kB / 1.027 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.589e-05/1.117, allocations: 14 kB / 1.027 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of SimCode: time 7.21e-07/1.117, allocations: 0 / 1.027 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02196/1.139, allocations: 2.499 MB / 1.03 GB, free: 9.363 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003471/1.14, allocations: 166.5 kB / 1.03 GB, free: 9.133 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.31/3.45, allocations: 0 / 1.03 GB, free: 9.133 MB / 0.6511 GB