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.45/1.45, allocations: 249.5 MB / 257 MB, free: 6.988 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.001041/0.001041, allocations: 192.2 kB / 316.3 MB, free: 3.234 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.576/1.576, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0008361/0.0008359, allocations: 94.52 kB / 0.6714 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.532e-05/2.535e-05, allocations: 12 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2414, allocations: 106.3 MB / 0.8853 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7797/1.021, allocations: 131.8 MB / 1.014 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/1.021, allocations: 69.52 kB / 1.014 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005131/1.027, allocations: 1.661 MB / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.673e-06/1.027, allocations: 0 / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.045e-05/1.027, allocations: 4 kB / 1.016 GB, free: 4.031 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007865/1.027, allocations: 481 kB / 1.016 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/1.027, allocations: 8.031 kB / 1.016 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.061e-05/1.028, allocations: 11.91 kB / 1.016 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/1.028, allocations: 198.9 kB / 1.016 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/1.028, allocations: 4 kB / 1.016 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/1.028, allocations: 4 kB / 1.016 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001963/1.028, allocations: 82.86 kB / 1.016 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/1.028, allocations: 129.8 kB / 1.017 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/1.028, allocations: 0 / 1.017 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/1.028, allocations: 0 / 1.017 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/1.028, allocations: 7.938 kB / 1.017 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008755/1.029, allocations: 414.3 kB / 1.017 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/1.029, allocations: 100.1 kB / 1.017 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/1.03, allocations: 105.5 kB / 1.017 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/1.03, allocations: 0 / 1.017 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/1.03, allocations: 30.56 kB / 1.017 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/1.03, allocations: 0 / 1.017 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0003608/1.03, allocations: 182.9 kB / 1.017 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/1.03, allocations: 85.11 kB / 1.017 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/1.03, allocations: 128.4 kB / 1.018 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/1.03, allocations: 25.7 kB / 1.018 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.539e-05/1.03, allocations: 101.5 kB / 1.018 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/1.03, allocations: 26.89 kB / 1.018 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.084e-05/1.03, allocations: 4 kB / 1.018 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001284/1.03, allocations: 320.2 kB / 1.018 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/1.031, allocations: 72.12 kB / 1.018 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.563e-05/1.031, allocations: 72.55 kB / 1.018 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.908e-05/1.031, allocations: 22.92 kB / 1.018 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/1.031, allocations: 0 / 1.018 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002594/1.031, allocations: 188.5 kB / 1.018 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.384e-05/1.031, allocations: 37.14 kB / 1.018 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/1.031, allocations: 0 / 1.018 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/1.031, allocations: 0 / 1.018 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/1.031, allocations: 51.94 kB / 1.018 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/1.031, allocations: 4 kB / 1.018 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002341/1.032, allocations: 51.95 kB / 1.019 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/1.032, allocations: 10.81 kB / 1.019 GB, free: 1.246 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: 1 (numReq1.y) * Number of discrete 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.000129/1.032, allocations: 141.6 kB / 1.019 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002912/1.032, allocations: 188.1 kB / 1.019 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.695e-05/1.032, allocations: 15.7 kB / 1.019 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.413e-05/1.032, allocations: 12.25 kB / 1.019 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-06/1.032, allocations: 0 / 1.019 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/1.032, allocations: 8 kB / 1.019 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/1.032, allocations: 7.938 kB / 1.019 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002039/1.032, allocations: 176.8 kB / 1.019 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/1.032, allocations: 0 / 1.019 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/1.033, allocations: 47.95 kB / 1.019 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/1.033, allocations: 4 kB / 1.019 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/1.033, allocations: 4 kB / 1.019 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/1.033, allocations: 0 / 1.019 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.033, allocations: 0 / 1.019 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000324/1.033, allocations: 291.2 kB / 1.019 GB, free: 416 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.475e-05/1.033, allocations: 92.45 kB / 1.019 GB, free: 308 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/1.033, allocations: 0 / 1.019 GB, free: 308 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002803/1.033, allocations: 55.94 kB / 1.02 GB, free: 252 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001911/1.034, allocations: 82.08 kB / 1.02 GB, free: 188 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/1.034, allocations: 3.625 kB / 1.02 GB, free: 188 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.197e-05/1.034, allocations: 103.4 kB / 1.02 GB, free: 92 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/1.034, allocations: 0 / 1.02 GB, free: 92 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002352/1.034, allocations: 24 kB / 1.02 GB, free: 68 kB / 0.6355 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) * 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.0006952/1.035, allocations: 0.8299 MB / 1.021 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003184/1.035, allocations: 226.7 kB / 1.021 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/1.035, allocations: 4 kB / 1.021 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000174/1.035, allocations: 164 kB / 1.021 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/1.035, allocations: 11 kB / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000635/1.036, allocations: 306.5 kB / 1.021 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/1.036, allocations: 0.7079 MB / 1.022 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.722e-05/1.036, allocations: 16.16 kB / 1.022 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.926e-05/1.037, allocations: 26.61 kB / 1.022 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/1.037, allocations: 0 / 1.022 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.023/1.06, allocations: 2.864 MB / 1.025 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002634/1.06, allocations: 164.9 kB / 1.025 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.512/2.571, allocations: 4 kB / 1.025 GB, free: 10.84 MB / 0.6511 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)