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.506/1.506, allocations: 252 MB / 267 MB, free: 10.97 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.001063/0.001063, allocations: 174.7 kB / 326.6 MB, free: 2.215 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.839/1.839, allocations: 205.4 MB / 0.5777 GB, free: 20.25 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.0008806/0.0008807, allocations: 96 kB / 0.6823 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003644, allocations: 10.47 kB / 0.7964 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.26, allocations: 106.3 MB / 0.9003 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.001736/0.2618, allocations: 1.184 MB / 0.9015 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007969/0.2627, allocations: 491.7 kB / 0.9019 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.007e-05/0.2627, allocations: 0 / 0.9019 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.753e-05/0.2628, allocations: 7.922 kB / 0.9019 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.696e-05/0.2629, allocations: 11.88 kB / 0.9019 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.2631, allocations: 27.97 kB / 0.902 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.2632, allocations: 83.75 kB / 0.902 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.2634, allocations: 16.17 kB / 0.9021 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.2635, allocations: 39.84 kB / 0.9021 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.693e-05/0.2636, allocations: 39.83 kB / 0.9021 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.825e-05/0.2637, allocations: 4 kB / 0.9021 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.817e-05/0.2637, allocations: 4 kB / 0.9021 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.931e-05/0.2637, allocations: 15.97 kB / 0.9022 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.421e-05/0.2638, allocations: 37.64 kB / 0.9022 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.2639, allocations: 47.91 kB / 0.9022 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.2639, allocations: 3.938 kB / 0.9022 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.836e-06/0.2639, allocations: 0 / 0.9022 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.264, allocations: 4 kB / 0.9022 GB, free: 61.78 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.0006875/0.2646, allocations: 442.8 kB / 0.9027 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.2647, allocations: 8.031 kB / 0.9027 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.168e-05/0.2648, allocations: 42.56 kB / 0.9027 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.624e-05/0.2648, allocations: 11.95 kB / 0.9027 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.265, allocations: 186.9 kB / 0.9029 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.265, allocations: 4 kB / 0.9029 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.265, allocations: 8 kB / 0.9029 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003155/0.2654, allocations: 121.5 kB / 0.903 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.2654, allocations: 4 kB / 0.903 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.2654, allocations: 4 kB / 0.903 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.2654, allocations: 0 / 0.903 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003015/0.2657, allocations: 99.92 kB / 0.9031 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005504/0.2663, allocations: 344.6 kB / 0.9035 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003345/0.2666, allocations: 122.4 kB / 0.9036 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/0.2668, allocations: 80.94 kB / 0.9037 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.2669, allocations: 4 kB / 0.9037 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003393/0.2672, allocations: 127.3 kB / 0.9038 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.2672, allocations: 0 / 0.9038 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0006922/0.2679, allocations: 303.2 kB / 0.9041 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.268, allocations: 85.11 kB / 0.9042 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.525e-05/0.2681, allocations: 135.1 kB / 0.9043 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.2681, allocations: 29.7 kB / 0.9043 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.976e-05/0.2681, allocations: 96.12 kB / 0.9044 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.2682, allocations: 15.83 kB / 0.9044 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.478e-06/0.2682, allocations: 4 kB / 0.9044 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.083e-05/0.2683, allocations: 322.8 kB / 0.9047 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.2684, allocations: 75.94 kB / 0.9048 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.2686, allocations: 75.89 kB / 0.9049 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/0.2688, allocations: 111.4 kB / 0.905 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2688, allocations: 7.938 kB / 0.905 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004456/0.2693, allocations: 276.9 kB / 0.9053 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.589e-05/0.2693, allocations: 59.41 kB / 0.9053 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.2693, allocations: 8 kB / 0.9053 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.2694, allocations: 3.953 kB / 0.9053 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.2695, allocations: 19.98 kB / 0.9053 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.2695, allocations: 3.984 kB / 0.9053 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.2697, allocations: 27.89 kB / 0.9054 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.2697, allocations: 8 kB / 0.9054 GB, free: 58.28 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 9.544e-05/0.2698, allocations: 163.4 kB / 0.9055 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.625e-05/0.2698, allocations: 4 kB / 0.9055 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.041e-05/0.2698, allocations: 12.38 kB / 0.9056 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2699, allocations: 0 / 0.9056 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.2699, allocations: 7.938 kB / 0.9056 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.2699, allocations: 3.984 kB / 0.9056 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.27, allocations: 189.5 kB / 0.9057 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.27, allocations: 0 / 0.9057 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.593e-05/0.2701, allocations: 23.97 kB / 0.9058 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2701, allocations: 0 / 0.9058 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.2701, allocations: 8 kB / 0.9058 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2701, allocations: 0 / 0.9058 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2702, allocations: 0 / 0.9058 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004621/0.2706, allocations: 258.7 kB / 0.906 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.746e-05/0.2707, allocations: 85.02 kB / 0.9061 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.2707, allocations: 0 / 0.9061 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.2708, allocations: 35.91 kB / 0.9061 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.271, allocations: 40.05 kB / 0.9062 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.271, allocations: 3.938 kB / 0.9062 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.593e-05/0.271, allocations: 104.6 kB / 0.9063 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.271, allocations: 0 / 0.9063 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001847/0.2712, allocations: 24 kB / 0.9063 GB, free: 57.23 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.0006228/0.2719, allocations: 0.7937 MB / 0.9071 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000451/0.2723, allocations: 286.9 kB / 0.9074 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2723, allocations: 0 / 0.9074 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002164/0.2726, allocations: 147.4 kB / 0.9075 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.2728, allocations: 25.3 kB / 0.9075 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.2741, allocations: 0.7957 MB / 0.9083 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.2742, allocations: 0.6887 MB / 0.909 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.507e-05/0.2743, allocations: 8.172 kB / 0.909 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.235e-05/0.2744, allocations: 19.44 kB / 0.909 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2744, allocations: 4 kB / 0.909 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01446/0.2888, allocations: 2.513 MB / 0.9114 GB, free: 51.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001725/0.2891, allocations: 195.1 kB / 0.9116 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/1.951, allocations: 6.875 kB / 0.9116 GB, free: 51.75 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)