Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.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.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.474/1.474, allocations: 249.3 MB / 261.8 MB, free: 5.918 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.001441/0.001441, allocations: 174.6 kB / 321.3 MB, free: 14.63 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.542/1.542, allocations: 205.2 MB / 0.572 GB, free: 10.64 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.0008939/0.0008941, allocations: 92.94 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.512e-05/3.523e-05, allocations: 4 kB / 0.788 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2091, allocations: 106.3 MB / 0.8919 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6963/0.9054, allocations: 132.6 MB / 1.021 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/0.9057, allocations: 70.22 kB / 1.021 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005048/0.9108, allocations: 1.505 MB / 1.023 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.423e-06/0.9108, allocations: 0 / 1.023 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.9108, allocations: 0 / 1.023 GB, free: 0.7578 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.0006021/0.9114, allocations: 451.1 kB / 1.023 GB, free: 280 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.893e-05/0.9115, allocations: 12.02 kB / 1.023 GB, free: 268 kB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.319e-05/0.9116, allocations: 38.12 kB / 1.023 GB, free: 224 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/0.9116, allocations: 4 kB / 1.023 GB, free: 220 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.9118, allocations: 194.8 kB / 1.024 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.9119, allocations: 4 kB / 1.024 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.9119, allocations: 11.23 kB / 1.024 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.9121, allocations: 94.72 kB / 1.024 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.9121, allocations: 0 / 1.024 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.9122, allocations: 4 kB / 1.024 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.9122, allocations: 0 / 1.024 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.9123, allocations: 57.23 kB / 1.024 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006137/0.9129, allocations: 343.9 kB / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.9131, allocations: 74.38 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.419e-05/0.9132, allocations: 53.03 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.9132, allocations: 0 / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002225/0.9135, allocations: 105.7 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.9135, allocations: 0 / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.0003661/0.9138, allocations: 187.7 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.202e-05/0.9139, allocations: 81.11 kB / 1.025 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.9141, allocations: 122.1 kB / 1.025 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.9141, allocations: 29.52 kB / 1.025 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.426e-05/0.9142, allocations: 91.56 kB / 1.025 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.9142, allocations: 19.5 kB / 1.025 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.148e-05/0.9142, allocations: 11.75 kB / 1.025 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.9143, allocations: 318.3 kB / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.24e-05/0.9144, allocations: 54.98 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.301e-05/0.9145, allocations: 46.67 kB / 1.025 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.682e-05/0.9146, allocations: 81.83 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.9147, allocations: 4 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000317/0.915, allocations: 219.1 kB / 1.026 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.845e-05/0.9151, allocations: 68.67 kB / 1.026 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.9151, allocations: 0 / 1.026 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.9151, allocations: 4 kB / 1.026 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.9152, allocations: 15.98 kB / 1.026 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.9152, allocations: 7.953 kB / 1.026 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.9154, allocations: 31.88 kB / 1.026 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.9154, allocations: 7.312 kB / 1.026 GB, free: 13.95 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.0001132/0.9156, allocations: 138.6 kB / 1.026 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.9156, allocations: 4 kB / 1.026 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.177e-05/0.9156, allocations: 20.55 kB / 1.026 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.9157, allocations: 0 / 1.026 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.9157, allocations: 4.062 kB / 1.026 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.9157, allocations: 3.953 kB / 1.026 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.9158, allocations: 196.3 kB / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.9159, allocations: 0 / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.185e-05/0.916, allocations: 20.02 kB / 1.026 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.916, allocations: 3.938 kB / 1.026 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.916, allocations: 4 kB / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.916, allocations: 7.938 kB / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.916, allocations: 0.5469 kB / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003181/0.9163, allocations: 205.2 kB / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.043e-05/0.9164, allocations: 85.02 kB / 1.026 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.9164, allocations: 7.438 kB / 1.026 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.9166, allocations: 31.97 kB / 1.026 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.9168, allocations: 38.52 kB / 1.026 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.9168, allocations: 0 / 1.026 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.15e-05/0.9169, allocations: 105 kB / 1.026 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9169, allocations: 0 / 1.026 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000201/0.9171, allocations: 20 kB / 1.026 GB, free: 13.04 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.0005655/0.9176, allocations: 0.7585 MB / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003083/0.918, allocations: 224.4 kB / 1.027 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.918, allocations: 0 / 1.027 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.9181, allocations: 120.3 kB / 1.028 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/0.9183, allocations: 11.62 kB / 1.028 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005117/0.9188, allocations: 180.9 kB / 1.028 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.9191, allocations: 0.7004 MB / 1.028 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.5e-05/0.9192, allocations: 8.172 kB / 1.028 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.479e-05/0.9192, allocations: 18.94 kB / 1.028 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of SimCode: time 3.6e-07/0.9192, allocations: 0 / 1.028 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01512/0.9344, allocations: 2.507 MB / 1.031 GB, free: 8.633 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002778/0.9347, allocations: 171.2 kB / 1.031 GB, free: 8.406 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.763/2.698, allocations: 0 / 1.031 GB, free: 8.406 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_NumberOfRequests.fmu > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)