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.412/1.412, allocations: 249.5 MB / 257 MB, free: 6.961 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.0009403/0.0009402, allocations: 169 kB / 316.3 MB, free: 3.324 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.346/1.346, allocations: 205.3 MB / 0.5671 GB, free: 15.94 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.0008032/0.0008032, allocations: 86.36 kB / 0.6714 GB, free: 5.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.936e-05/1.938e-05, allocations: 4 kB / 0.7815 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2029, allocations: 106.3 MB / 0.8853 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6838/0.8867, allocations: 132.9 MB / 1.015 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/0.887, allocations: 66.66 kB / 1.015 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004739/0.8918, allocations: 1.497 MB / 1.017 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8918, allocations: 0 / 1.017 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.591e-05/0.8919, allocations: 8 kB / 1.017 GB, free: 3.285 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.0006385/0.8925, allocations: 433.5 kB / 1.017 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.056e-05/0.8926, allocations: 12.03 kB / 1.017 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.883e-05/0.8926, allocations: 4.75 kB / 1.017 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.8929, allocations: 190.8 kB / 1.017 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.893, allocations: 4.188 kB / 1.017 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.893, allocations: 15.94 kB / 1.017 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001495/0.8932, allocations: 54.59 kB / 1.017 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.8933, allocations: 85.16 kB / 1.017 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.8933, allocations: 0 / 1.017 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.8934, allocations: 4 kB / 1.017 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.8934, allocations: 3.938 kB / 1.017 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005958/0.894, allocations: 315.9 kB / 1.018 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.8941, allocations: 73.62 kB / 1.018 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.075e-05/0.8942, allocations: 48.11 kB / 1.018 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.8943, allocations: 0 / 1.018 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001952/0.8945, allocations: 102.8 kB / 1.018 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.684e-06/0.8945, allocations: 0 / 1.018 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0003557/0.8948, allocations: 144.4 kB / 1.018 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.8949, allocations: 85.05 kB / 1.018 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.895, allocations: 116.6 kB / 1.018 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.8951, allocations: 29.7 kB / 1.018 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.078e-05/0.8951, allocations: 95.88 kB / 1.018 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.8951, allocations: 23.5 kB / 1.018 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.162e-05/0.8952, allocations: 0 / 1.018 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.8953, allocations: 329.5 kB / 1.019 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.721e-05/0.8954, allocations: 43.64 kB / 1.019 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.753e-05/0.8955, allocations: 43.22 kB / 1.019 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.147e-05/0.8955, allocations: 21.98 kB / 1.019 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.8955, allocations: 0 / 1.019 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000247/0.8958, allocations: 157.4 kB / 1.019 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.89e-05/0.8958, allocations: 63.39 kB / 1.019 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.8959, allocations: 0 / 1.019 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.8959, allocations: 0 / 1.019 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.896, allocations: 23.61 kB / 1.019 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.896, allocations: 4 kB / 1.019 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.8962, allocations: 31.88 kB / 1.019 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.8962, allocations: 4.828 kB / 1.019 GB, free: 0.7812 MB / 0.6355 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.000106/0.8963, allocations: 140.6 kB / 1.019 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002058/0.8965, allocations: 152.9 kB / 1.019 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.908e-05/0.8966, allocations: 11.89 kB / 1.019 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.443e-05/0.8966, allocations: 12.06 kB / 1.019 GB, free: 496 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.8966, allocations: 0 / 1.019 GB, free: 496 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.8966, allocations: 6.266 kB / 1.019 GB, free: 492 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.8966, allocations: 0 / 1.019 GB, free: 492 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.8968, allocations: 171.2 kB / 1.02 GB, free: 292 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.8968, allocations: 0 / 1.02 GB, free: 292 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.098e-05/0.8969, allocations: 15.98 kB / 1.02 GB, free: 276 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.8969, allocations: 4 kB / 1.02 GB, free: 272 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.897, allocations: 2.875 kB / 1.02 GB, free: 272 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.897, allocations: 4 kB / 1.02 GB, free: 268 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.897, allocations: 0 / 1.02 GB, free: 268 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.8972, allocations: 169.1 kB / 1.02 GB, free: 108 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.821e-05/0.8973, allocations: 81.02 kB / 1.02 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.626e-05/0.8973, allocations: 15.59 kB / 1.02 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.8975, allocations: 23.94 kB / 1.02 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.8976, allocations: 39.81 kB / 1.02 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.8976, allocations: 8 kB / 1.02 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.767e-05/0.8977, allocations: 100.8 kB / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8977, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002201/0.8979, allocations: 23.31 kB / 1.02 GB, free: 15.82 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.0005226/0.8985, allocations: 0.7155 MB / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002692/0.8988, allocations: 223 kB / 1.021 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.8988, allocations: 0 / 1.021 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.8989, allocations: 118.2 kB / 1.021 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/0.8991, allocations: 11.3 kB / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004511/0.8995, allocations: 182.7 kB / 1.021 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.8998, allocations: 0.6885 MB / 1.022 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.422e-05/0.8998, allocations: 8.172 kB / 1.022 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.587e-05/0.8999, allocations: 22.05 kB / 1.022 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of SimCode: time 2.6e-07/0.8999, allocations: 0 / 1.022 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/0.9224, allocations: 2.119 MB / 1.024 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003884/0.9229, allocations: 150.5 kB / 1.024 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.462/2.385, allocations: 4 kB / 1.024 GB, free: 11.57 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)