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.445/1.445, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001065/0.001065, allocations: 179.3 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.16/2.16, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.001027/0.001026, allocations: 94.31 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003877/0.0003877, allocations: 17.19 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2621, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests): time 0.001718/0.2639, allocations: 1.229 MB / 0.9014 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003602/0.2643, allocations: 177.7 kB / 0.9015 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.019e-05/0.2643, allocations: 3.938 kB / 0.9016 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.804e-05/0.2644, allocations: 3.938 kB / 0.9016 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.694e-05/0.2645, allocations: 27.89 kB / 0.9016 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 9.836e-05/0.2646, allocations: 23.97 kB / 0.9016 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.2647, allocations: 75.89 kB / 0.9017 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.2648, allocations: 23.94 kB / 0.9017 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.222e-05/0.2649, allocations: 39.89 kB / 0.9017 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.428e-05/0.265, allocations: 47.81 kB / 0.9018 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.265, allocations: 8 kB / 0.9018 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.372e-05/0.265, allocations: 4 kB / 0.9018 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.97e-05/0.2651, allocations: 15.92 kB / 0.9018 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.41e-05/0.2651, allocations: 41.64 kB / 0.9018 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.2652, allocations: 83.8 kB / 0.9019 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.2652, allocations: 0 / 0.9019 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2652, allocations: 0 / 0.9019 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.2653, allocations: 0 / 0.9019 GB, free: 62.04 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.00072/0.266, allocations: 492.9 kB / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.266, allocations: 11.97 kB / 0.9024 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.075e-05/0.2661, allocations: 42.55 kB / 0.9025 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.807e-05/0.2661, allocations: 11.91 kB / 0.9025 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.2663, allocations: 209.6 kB / 0.9027 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.2663, allocations: 4 kB / 0.9027 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.2663, allocations: 8 kB / 0.9027 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005044/0.2669, allocations: 213.5 kB / 0.9029 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.2669, allocations: 0 / 0.9029 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.2669, allocations: 4 kB / 0.9029 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.2669, allocations: 4 kB / 0.9029 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007007/0.2676, allocations: 255.8 kB / 0.9031 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007446/0.2684, allocations: 436.5 kB / 0.9035 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004189/0.2688, allocations: 198.5 kB / 0.9037 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.2688, allocations: 4 kB / 0.9037 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.2689, allocations: 30.56 kB / 0.9038 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 2.304e-06/0.2689, allocations: 0 / 0.9038 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.001315/0.2702, allocations: 0.5381 MB / 0.9043 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.2702, allocations: 85.06 kB / 0.9044 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.2704, allocations: 146.6 kB / 0.9045 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.2704, allocations: 29.64 kB / 0.9045 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.815e-05/0.2704, allocations: 108 kB / 0.9046 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.2705, allocations: 15.75 kB / 0.9047 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.171e-05/0.2705, allocations: 4 kB / 0.9047 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.796e-05/0.2706, allocations: 322.8 kB / 0.905 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003825/0.271, allocations: 151.9 kB / 0.9051 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000365/0.2714, allocations: 159.8 kB / 0.9053 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003447/0.2717, allocations: 142 kB / 0.9054 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2717, allocations: 0 / 0.9054 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008154/0.2726, allocations: 403 kB / 0.9058 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.123e-05/0.2726, allocations: 33.7 kB / 0.9058 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.2726, allocations: 0 / 0.9058 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.2727, allocations: 0 / 0.9058 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/0.2729, allocations: 55.95 kB / 0.9059 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.2729, allocations: 3.953 kB / 0.9059 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.2732, allocations: 59.84 kB / 0.9059 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.2732, allocations: 4 kB / 0.9059 GB, free: 57.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001131/0.2733, allocations: 155.5 kB / 0.9061 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.795e-05/0.2733, allocations: 7.906 kB / 0.9061 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.638e-05/0.2734, allocations: 16.72 kB / 0.9061 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2734, allocations: 0 / 0.9061 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2734, allocations: 0 / 0.9061 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2734, allocations: 7.953 kB / 0.9061 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.2736, allocations: 209.6 kB / 0.9063 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.2736, allocations: 4 kB / 0.9063 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001925/0.2738, allocations: 47.89 kB / 0.9064 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2738, allocations: 4 kB / 0.9064 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.2738, allocations: 4 kB / 0.9064 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2738, allocations: 0 / 0.9064 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2739, allocations: 0 / 0.9064 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008748/0.2747, allocations: 496.9 kB / 0.9068 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.501e-05/0.2748, allocations: 92.94 kB / 0.9069 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.2748, allocations: 4 kB / 0.9069 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.275, allocations: 55.95 kB / 0.907 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002147/0.2753, allocations: 75.89 kB / 0.9071 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.2753, allocations: 8 kB / 0.9071 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.987e-05/0.2753, allocations: 114.2 kB / 0.9072 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2753, allocations: 0 / 0.9072 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002324/0.2756, allocations: 24 kB / 0.9072 GB, free: 56.27 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 (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.001045/0.2766, allocations: 1.042 MB / 0.9082 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008228/0.2775, allocations: 399.2 kB / 0.9086 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.2775, allocations: 4 kB / 0.9086 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004119/0.2779, allocations: 251.2 kB / 0.9088 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.2781, allocations: 19.92 kB / 0.9089 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.2802, allocations: 1.202 MB / 0.91 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/0.2803, allocations: 0.7087 MB / 0.9107 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.597e-05/0.2804, allocations: 15.92 kB / 0.9107 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.117e-05/0.2805, allocations: 31.42 kB / 0.9108 GB, free: 52.47 MB / 0.6042 GB Notification: Performance of SimCode: time 5.11e-07/0.2805, allocations: 0 / 0.9108 GB, free: 52.47 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01775/0.2982, allocations: 3.32 MB / 0.914 GB, free: 49.35 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002709/0.2986, allocations: 200.9 kB / 0.9142 GB, free: 49.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.578/1.877, allocations: 0 / 0.9142 GB, free: 49.11 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)