Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.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.OBC.CDL.Continuous.Validation.NumberOfRequests,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_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.647/1.647, allocations: 252 MB / 267.3 MB, free: 10.85 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.0009799/0.00098, allocations: 178.8 kB / 327 MB, free: 2.09 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.939/1.939, allocations: 205.4 MB / 0.578 GB, free: 20.09 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.0009176/0.0009175, allocations: 86.34 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003702/0.0003705, allocations: 14.16 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2639, allocations: 106.4 MB / 0.9009 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests): time 0.001724/0.2656, allocations: 1.258 MB / 0.9022 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004242/0.2661, allocations: 188.3 kB / 0.9024 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.677e-05/0.2661, allocations: 0 / 0.9024 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.44e-05/0.2662, allocations: 3.938 kB / 0.9024 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.713e-05/0.2663, allocations: 23.84 kB / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001109/0.2664, allocations: 27.97 kB / 0.9024 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.2666, allocations: 123.7 kB / 0.9025 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.2667, allocations: 20 kB / 0.9025 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.226e-05/0.2668, allocations: 47.83 kB / 0.9026 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.331e-05/0.2669, allocations: 51.75 kB / 0.9026 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.693e-05/0.2669, allocations: 4 kB / 0.9026 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.521e-05/0.2669, allocations: 4 kB / 0.9026 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.683e-05/0.267, allocations: 23.91 kB / 0.9027 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.642e-05/0.2671, allocations: 73.42 kB / 0.9027 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.2672, allocations: 107.6 kB / 0.9028 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.2672, allocations: 0 / 0.9028 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.795e-06/0.2672, allocations: 4 kB / 0.9028 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.2672, allocations: 0 / 0.9028 GB, free: 61.38 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007346/0.268, allocations: 489 kB / 0.9033 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.268, allocations: 8.031 kB / 0.9033 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.838e-05/0.2681, allocations: 42.73 kB / 0.9034 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.416e-05/0.2681, allocations: 8.844 kB / 0.9034 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.2683, allocations: 213.9 kB / 0.9036 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.928e-06/0.2683, allocations: 4.375 kB / 0.9036 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.2684, allocations: 12.38 kB / 0.9036 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005221/0.2689, allocations: 210.1 kB / 0.9038 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.2689, allocations: 7.938 kB / 0.9038 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.2689, allocations: 0 / 0.9038 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.2689, allocations: 3.938 kB / 0.9038 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006809/0.2696, allocations: 263.7 kB / 0.904 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007082/0.2703, allocations: 428.5 kB / 0.9045 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004101/0.2708, allocations: 198.5 kB / 0.9046 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003764/0.2711, allocations: 184.9 kB / 0.9048 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.2712, allocations: 0 / 0.9048 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.2712, allocations: 34.56 kB / 0.9049 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 8.51e-07/0.2712, allocations: 0 / 0.9049 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.001251/0.2725, allocations: 0.5341 MB / 0.9054 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.2725, allocations: 89.09 kB / 0.9055 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.759e-05/0.2726, allocations: 142 kB / 0.9056 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.2726, allocations: 29.7 kB / 0.9056 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.825e-05/0.2727, allocations: 104 kB / 0.9057 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.2727, allocations: 27.73 kB / 0.9058 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.836e-06/0.2727, allocations: 0 / 0.9058 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.554e-05/0.2728, allocations: 322.8 kB / 0.9061 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003625/0.2732, allocations: 155.9 kB / 0.9062 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003563/0.2736, allocations: 151.9 kB / 0.9064 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006515/0.2742, allocations: 296.4 kB / 0.9066 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2742, allocations: 0 / 0.9066 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008006/0.275, allocations: 399 kB / 0.907 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.354e-05/0.2751, allocations: 41.7 kB / 0.9071 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2751, allocations: 3.984 kB / 0.9071 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.2751, allocations: 0 / 0.9071 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.2753, allocations: 43.95 kB / 0.9071 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.2754, allocations: 4 kB / 0.9071 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.2756, allocations: 55.94 kB / 0.9072 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.2756, allocations: 4 kB / 0.9072 GB, free: 56.68 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: 1 (numReq1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.665e-05/0.2757, allocations: 163.5 kB / 0.9073 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.2758, allocations: 15.92 kB / 0.9073 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.697e-05/0.2758, allocations: 12.66 kB / 0.9073 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.2758, allocations: 4 kB / 0.9074 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.2758, allocations: 0 / 0.9074 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2758, allocations: 0 / 0.9074 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.276, allocations: 217.4 kB / 0.9076 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.276, allocations: 3.938 kB / 0.9076 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.2762, allocations: 55.95 kB / 0.9076 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2762, allocations: 0 / 0.9076 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.2762, allocations: 0 / 0.9076 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.2762, allocations: 4 kB / 0.9076 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2762, allocations: 0 / 0.9076 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008325/0.2771, allocations: 492.9 kB / 0.9081 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.755e-05/0.2771, allocations: 92.94 kB / 0.9082 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.2772, allocations: 4 kB / 0.9082 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/0.2774, allocations: 55.95 kB / 0.9082 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002257/0.2776, allocations: 79.89 kB / 0.9083 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.2776, allocations: 4 kB / 0.9083 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.535e-05/0.2777, allocations: 107.2 kB / 0.9084 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.052e-06/0.2777, allocations: 4 kB / 0.9084 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002157/0.2779, allocations: 31.94 kB / 0.9085 GB, free: 55.25 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: 1 (numReq1.y) * Number of discrete states: 1 (numReq1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001082/0.279, allocations: 1.034 MB / 0.9095 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008196/0.2799, allocations: 407.1 kB / 0.9098 GB, free: 53.78 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.2799, allocations: 0 / 0.9098 GB, free: 53.78 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004266/0.2803, allocations: 247.3 kB / 0.9101 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.2806, allocations: 23.17 kB / 0.9101 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003029/0.2836, allocations: 2.402 MB / 0.9125 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.2838, allocations: 0.7005 MB / 0.9131 GB, free: 50.29 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.051e-05/0.2839, allocations: 19.72 kB / 0.9132 GB, free: 50.27 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.787e-05/0.2839, allocations: 19.44 kB / 0.9132 GB, free: 50.25 MB / 0.6042 GB Notification: Performance of SimCode: time 5.01e-07/0.2839, allocations: 0 / 0.9132 GB, free: 50.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01222/0.2962, allocations: 3.42 MB / 0.9165 GB, free: 47.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001511/0.2964, allocations: 222.6 kB / 0.9167 GB, free: 46.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.799/2.096, allocations: 0 / 0.9167 GB, free: 46.77 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_NumberOfRequests_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_NumberOfRequests.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe 2>&1)