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.445/1.445, allocations: 251.9 MB / 266.9 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001299/0.001299, allocations: 178.9 kB / 326.5 MB, free: 2.246 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.876/1.876, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0008836/0.0008838, allocations: 95.84 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003308/0.0003309, allocations: 10.98 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2113, allocations: 106.3 MB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.001451/0.2127, allocations: 1.191 MB / 0.9013 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006133/0.2134, allocations: 480.5 kB / 0.9018 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.092e-05/0.2134, allocations: 4 kB / 0.9018 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 7.834e-05/0.2135, allocations: 0 / 0.9018 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.729e-05/0.2136, allocations: 23.84 kB / 0.9018 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.2138, allocations: 31.95 kB / 0.9018 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.419e-05/0.2138, allocations: 51.88 kB / 0.9019 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.214, allocations: 12.17 kB / 0.9019 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.2141, allocations: 39.89 kB / 0.9019 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.411e-05/0.2142, allocations: 31.89 kB / 0.902 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.2142, allocations: 4 kB / 0.902 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.596e-05/0.2142, allocations: 8 kB / 0.902 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.013e-05/0.2142, allocations: 15.92 kB / 0.902 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.222e-05/0.2143, allocations: 41.64 kB / 0.902 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.317e-05/0.2144, allocations: 47.89 kB / 0.9021 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2144, allocations: 0 / 0.9021 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.754e-06/0.2144, allocations: 3.938 kB / 0.9021 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.2144, allocations: 0 / 0.9021 GB, free: 61.84 MB / 0.6042 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.0005443/0.215, allocations: 442.8 kB / 0.9025 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.215, allocations: 12.03 kB / 0.9025 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.758e-05/0.215, allocations: 38.5 kB / 0.9025 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.2151, allocations: 11.95 kB / 0.9025 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.2152, allocations: 187 kB / 0.9027 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.2153, allocations: 8 kB / 0.9027 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.2153, allocations: 4 kB / 0.9027 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.2156, allocations: 117.6 kB / 0.9029 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.2156, allocations: 7.922 kB / 0.9029 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.2156, allocations: 8 kB / 0.9029 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.2156, allocations: 0 / 0.9029 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002814/0.2159, allocations: 103.9 kB / 0.903 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004832/0.2164, allocations: 340.6 kB / 0.9033 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003013/0.2167, allocations: 122.5 kB / 0.9034 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.2167, allocations: 0 / 0.9034 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002939/0.217, allocations: 135.4 kB / 0.9035 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.217, allocations: 0 / 0.9035 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0006331/0.2177, allocations: 299.1 kB / 0.9038 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.2177, allocations: 85.11 kB / 0.9039 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.079e-05/0.2178, allocations: 131.1 kB / 0.904 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.2178, allocations: 29.7 kB / 0.9041 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.977e-05/0.2179, allocations: 100.1 kB / 0.9042 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.2179, allocations: 19.75 kB / 0.9042 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.105e-06/0.2179, allocations: 4 kB / 0.9042 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.334e-05/0.218, allocations: 322.8 kB / 0.9045 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.2181, allocations: 67.95 kB / 0.9045 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.2183, allocations: 75.95 kB / 0.9046 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.2185, allocations: 111.4 kB / 0.9047 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2185, allocations: 0 / 0.9047 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004151/0.2189, allocations: 276.9 kB / 0.905 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.743e-05/0.219, allocations: 67.39 kB / 0.9051 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.219, allocations: 0 / 0.9051 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.219, allocations: 4 kB / 0.9051 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.2191, allocations: 23.94 kB / 0.9051 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.2191, allocations: 0 / 0.9051 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.2193, allocations: 31.88 kB / 0.9051 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.2193, allocations: 4 kB / 0.9051 GB, free: 58.43 MB / 0.6042 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 8.998e-05/0.2194, allocations: 163.5 kB / 0.9053 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.606e-05/0.2194, allocations: 8 kB / 0.9053 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.538e-05/0.2195, allocations: 8.375 kB / 0.9053 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.2195, allocations: 4 kB / 0.9053 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.2195, allocations: 3.953 kB / 0.9053 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2195, allocations: 0 / 0.9053 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.2196, allocations: 197.6 kB / 0.9055 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2196, allocations: 0 / 0.9055 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.365e-05/0.2197, allocations: 24.17 kB / 0.9055 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2197, allocations: 4 kB / 0.9055 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.2197, allocations: 7.984 kB / 0.9055 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.2197, allocations: 4 kB / 0.9055 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2198, allocations: 0 / 0.9055 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004186/0.2202, allocations: 258.7 kB / 0.9058 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.727e-05/0.2202, allocations: 81.02 kB / 0.9058 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.2202, allocations: 4 kB / 0.9058 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.2204, allocations: 31.97 kB / 0.9059 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.2205, allocations: 35.95 kB / 0.9059 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.2206, allocations: 4 kB / 0.9059 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.032e-05/0.2206, allocations: 101.8 kB / 0.906 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2206, allocations: 0 / 0.906 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002088/0.2208, allocations: 27.95 kB / 0.906 GB, free: 57.38 MB / 0.6042 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.000654/0.2215, allocations: 0.7975 MB / 0.9068 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004502/0.222, allocations: 282.8 kB / 0.9071 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.222, allocations: 3.938 kB / 0.9071 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002142/0.2222, allocations: 143.4 kB / 0.9072 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.2224, allocations: 19.92 kB / 0.9072 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.2239, allocations: 0.8017 MB / 0.908 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001288/0.224, allocations: 0.6926 MB / 0.9087 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.457e-05/0.2241, allocations: 8.188 kB / 0.9087 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.421e-05/0.2241, allocations: 19.42 kB / 0.9087 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of SimCode: time 3.31e-07/0.2241, allocations: 0 / 0.9087 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01207/0.2362, allocations: 2.485 MB / 0.9112 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001399/0.2364, allocations: 202.5 kB / 0.9114 GB, free: 51.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.475/1.712, allocations: 3.938 kB / 0.9114 GB, free: 51.9 MB / 0.6042 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)