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.406/1.406, allocations: 252 MB / 267 MB, free: 10.94 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.0009899/0.0009901, allocations: 182.5 kB / 326.6 MB, free: 2.203 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.736/1.736, allocations: 205.4 MB / 0.5777 GB, free: 20.19 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.0008844/0.0008844, allocations: 82.38 kB / 0.6823 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003072/0.0003073, allocations: 12.38 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1983, allocations: 106.3 MB / 0.9003 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests): time 0.001398/0.1998, allocations: 1.242 MB / 0.9015 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003208/0.2001, allocations: 184.4 kB / 0.9017 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.474e-05/0.2001, allocations: 0 / 0.9017 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 7.704e-05/0.2002, allocations: 3.938 kB / 0.9017 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.144e-05/0.2003, allocations: 15.86 kB / 0.9017 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 8.482e-05/0.2004, allocations: 23.97 kB / 0.9018 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.557e-05/0.2005, allocations: 115.7 kB / 0.9019 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.2006, allocations: 16 kB / 0.9019 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.549e-05/0.2007, allocations: 47.83 kB / 0.9019 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.012e-05/0.2007, allocations: 59.73 kB / 0.902 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.2008, allocations: 4 kB / 0.902 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.551e-05/0.2008, allocations: 4 kB / 0.902 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.626e-05/0.2008, allocations: 11.98 kB / 0.902 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.203e-05/0.2009, allocations: 45.64 kB / 0.902 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.161e-05/0.2009, allocations: 83.81 kB / 0.9021 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.201, allocations: 0 / 0.9021 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.653e-06/0.201, allocations: 0 / 0.9021 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.201, allocations: 3.938 kB / 0.9021 GB, free: 61.89 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.0006799/0.2017, allocations: 484.9 kB / 0.9026 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.2017, allocations: 12.03 kB / 0.9026 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.575e-05/0.2017, allocations: 42.55 kB / 0.9026 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.2018, allocations: 15.84 kB / 0.9027 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.2019, allocations: 208.6 kB / 0.9029 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-06/0.202, allocations: 8 kB / 0.9029 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.202, allocations: 7.984 kB / 0.9029 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005253/0.2025, allocations: 209.5 kB / 0.9031 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.2025, allocations: 0 / 0.9031 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.2026, allocations: 8 kB / 0.9031 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.2026, allocations: 0 / 0.9031 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007087/0.2033, allocations: 259.7 kB / 0.9033 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006607/0.2039, allocations: 432.6 kB / 0.9037 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004127/0.2044, allocations: 194.5 kB / 0.9039 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003941/0.2048, allocations: 180.9 kB / 0.9041 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.2048, allocations: 0 / 0.9041 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.417e-05/0.2048, allocations: 38.5 kB / 0.9041 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 9.21e-07/0.2048, allocations: 0 / 0.9041 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.001288/0.2061, allocations: 0.5343 MB / 0.9047 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.2062, allocations: 89.09 kB / 0.9047 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.932e-05/0.2062, allocations: 146 kB / 0.9049 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.2063, allocations: 29.7 kB / 0.9049 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.666e-05/0.2063, allocations: 104.1 kB / 0.905 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.2063, allocations: 23.69 kB / 0.905 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.856e-06/0.2064, allocations: 0 / 0.905 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.765e-05/0.2064, allocations: 322.8 kB / 0.9053 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003963/0.2068, allocations: 159.9 kB / 0.9055 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003659/0.2072, allocations: 155.9 kB / 0.9056 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003448/0.2075, allocations: 145.6 kB / 0.9058 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2076, allocations: 3.984 kB / 0.9058 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0007993/0.2084, allocations: 387.1 kB / 0.9062 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.512e-05/0.2084, allocations: 44.34 kB / 0.9062 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.2084, allocations: 0 / 0.9062 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.2084, allocations: 0 / 0.9062 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.2087, allocations: 51.95 kB / 0.9062 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2087, allocations: 3.953 kB / 0.9062 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.2089, allocations: 55.86 kB / 0.9063 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.2089, allocations: 8 kB / 0.9063 GB, free: 57.35 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 9.301e-05/0.209, allocations: 159.5 kB / 0.9065 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.231e-05/0.209, allocations: 7.906 kB / 0.9065 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.674e-05/0.2091, allocations: 16.7 kB / 0.9065 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.2091, allocations: 7.922 kB / 0.9065 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.2091, allocations: 0 / 0.9065 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.2091, allocations: 3.953 kB / 0.9065 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.2093, allocations: 209.6 kB / 0.9067 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2093, allocations: 4 kB / 0.9067 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/0.2095, allocations: 47.94 kB / 0.9067 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.2095, allocations: 0 / 0.9067 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.2095, allocations: 8 kB / 0.9068 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2095, allocations: 3.984 kB / 0.9068 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2095, allocations: 4 kB / 0.9068 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008318/0.2104, allocations: 492.9 kB / 0.9072 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.191e-05/0.2104, allocations: 88.95 kB / 0.9073 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.2104, allocations: 256 / 0.9073 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000258/0.2107, allocations: 63.94 kB / 0.9074 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000181/0.2109, allocations: 87.83 kB / 0.9075 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.2109, allocations: 0 / 0.9075 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.337e-05/0.2109, allocations: 111.3 kB / 0.9076 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.62e-07/0.2109, allocations: 0 / 0.9076 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002133/0.2112, allocations: 27.94 kB / 0.9076 GB, free: 55.93 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.001025/0.2122, allocations: 1.038 MB / 0.9086 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008089/0.213, allocations: 399.1 kB / 0.909 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.213, allocations: 0 / 0.909 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004247/0.2135, allocations: 255.3 kB / 0.9092 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.2137, allocations: 18.8 kB / 0.9092 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/0.2157, allocations: 1.206 MB / 0.9104 GB, free: 52.92 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001372/0.2159, allocations: 0.7004 MB / 0.9111 GB, free: 52.2 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.173e-05/0.2159, allocations: 15.92 kB / 0.9111 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.027e-05/0.216, allocations: 27.42 kB / 0.9112 GB, free: 52.15 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.216, allocations: 0 / 0.9112 GB, free: 52.15 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01303/0.229, allocations: 3.341 MB / 0.9144 GB, free: 49.01 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001436/0.2292, allocations: 212.6 kB / 0.9146 GB, free: 48.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.796/2.025, allocations: 4 kB / 0.9146 GB, free: 48.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)