Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.145/4.145, allocations: 433.2 MB / 440.7 MB, free: 4.559 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.541e-05/2.553e-05, allocations: 4.094 kB / 0.5325 GB, free: 12.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2094, allocations: 98.72 MB / 0.6289 GB, free: 9.09 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2337/0.4432, allocations: 126.3 MB / 0.7523 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/0.4435, allocations: 91.94 kB / 0.7524 GB, free: 10.51 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getDerTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 3.765/4.209, allocations: 380.4 MB / 1.124 GB, free: 191.2 MB / 0.7918 GB Notification: Performance of FrontEnd: time 2.625e-06/4.209, allocations: 0 / 1.124 GB, free: 191.2 MB / 0.7918 GB Notification: Performance of Transformations before backend: time 0.005231/4.214, allocations: 421.2 kB / 1.124 GB, free: 191.2 MB / 0.7918 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.05772/4.272, allocations: 21.65 MB / 1.145 GB, free: 179.7 MB / 0.7918 GB Notification: Performance of prepare preOptimizeDAE: time 6.765e-05/4.272, allocations: 14 kB / 1.145 GB, free: 179.7 MB / 0.7918 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01111/4.283, allocations: 3.728 MB / 1.149 GB, free: 177.6 MB / 0.7918 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07541/4.358, allocations: 23.96 MB / 1.172 GB, free: 172.4 MB / 0.7918 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.316e-05/4.359, allocations: 7.312 kB / 1.172 GB, free: 172.4 MB / 0.7918 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.652e-05/4.359, allocations: 7.922 kB / 1.172 GB, free: 172.4 MB / 0.7918 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004883/4.359, allocations: 194.7 kB / 1.173 GB, free: 172.4 MB / 0.7918 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002425/4.359, allocations: 120.2 kB / 1.173 GB, free: 172.3 MB / 0.7918 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/4.359, allocations: 0 / 1.173 GB, free: 172.3 MB / 0.7918 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/4.359, allocations: 0 / 1.173 GB, free: 172.3 MB / 0.7918 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/4.359, allocations: 3.312 kB / 1.173 GB, free: 172.3 MB / 0.7918 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04269/4.402, allocations: 19.38 MB / 1.192 GB, free: 161 MB / 0.7918 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008028/4.403, allocations: 198.2 kB / 1.192 GB, free: 160.9 MB / 0.7918 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/4.403, allocations: 60.8 kB / 1.192 GB, free: 160.8 MB / 0.7918 GB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/4.403, allocations: 2.656 kB / 1.192 GB, free: 160.8 MB / 0.7918 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000279/4.403, allocations: 127.1 kB / 1.192 GB, free: 160.7 MB / 0.7918 GB Notification: Performance of pre-optimization done (n=13): time 2.816e-06/4.403, allocations: 3.938 kB / 1.192 GB, free: 160.7 MB / 0.7918 GB Notification: Performance of matching and sorting (n=13): time 0.009385/4.413, allocations: 3.906 MB / 1.196 GB, free: 156.7 MB / 0.7918 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/4.413, allocations: 55.34 kB / 1.196 GB, free: 156.7 MB / 0.7918 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.63/7.043, allocations: 70.57 MB / 1.265 GB, free: 94.49 MB / 0.7918 GB Notification: Performance of collectPreVariables (initialization): time 7.985e-05/7.043, allocations: 25.7 kB / 1.265 GB, free: 94.46 MB / 0.7918 GB Notification: Performance of collectInitialEqns (initialization): time 0.03768/7.08, allocations: 19.71 MB / 1.284 GB, free: 74.78 MB / 0.7918 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/7.081, allocations: 43.45 kB / 1.284 GB, free: 74.73 MB / 0.7918 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.6e-05/7.081, allocations: 0 / 1.284 GB, free: 74.73 MB / 0.7918 GB Notification: Performance of setup shared object (initialization): time 7.103e-05/7.081, allocations: 318 kB / 1.284 GB, free: 74.42 MB / 0.7918 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/7.081, allocations: 67.98 kB / 1.285 GB, free: 74.35 MB / 0.7918 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/7.081, allocations: 98.38 kB / 1.285 GB, free: 74.25 MB / 0.7918 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002394/7.081, allocations: 80.73 kB / 1.285 GB, free: 74.17 MB / 0.7918 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/7.081, allocations: 0 / 1.285 GB, free: 74.17 MB / 0.7918 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0114/7.093, allocations: 3.973 MB / 1.289 GB, free: 70.14 MB / 0.7918 GB Notification: Performance of prepare postOptimizeDAE: time 5.954e-05/7.093, allocations: 37.66 kB / 1.289 GB, free: 70.1 MB / 0.7918 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/7.093, allocations: 368 / 1.289 GB, free: 70.1 MB / 0.7918 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/7.093, allocations: 11.98 kB / 1.289 GB, free: 70.09 MB / 0.7918 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002544/7.093, allocations: 23.98 kB / 1.289 GB, free: 70.07 MB / 0.7918 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/7.093, allocations: 3.938 kB / 1.289 GB, free: 70.06 MB / 0.7918 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008425/7.102, allocations: 39.78 kB / 1.289 GB, free: 70.02 MB / 0.7918 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.545e-05/7.102, allocations: 12 kB / 1.289 GB, free: 70.01 MB / 0.7918 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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.0001335/7.102, allocations: 107 kB / 1.289 GB, free: 69.9 MB / 0.7918 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01124/7.113, allocations: 3.926 MB / 1.293 GB, free: 65.92 MB / 0.7918 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01064/7.124, allocations: 3.747 MB / 1.296 GB, free: 62.12 MB / 0.7918 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01632/7.14, allocations: 4.979 MB / 1.301 GB, free: 57.13 MB / 0.7918 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/7.14, allocations: 4 kB / 1.301 GB, free: 57.13 MB / 0.7918 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/7.14, allocations: 0 / 1.301 GB, free: 57.13 MB / 0.7918 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/7.141, allocations: 0 / 1.301 GB, free: 57.13 MB / 0.7918 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04591/7.186, allocations: 17.35 MB / 1.318 GB, free: 39.72 MB / 0.7918 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/7.186, allocations: 0 / 1.318 GB, free: 39.72 MB / 0.7918 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003092/7.187, allocations: 31.98 kB / 1.318 GB, free: 39.69 MB / 0.7918 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.141e-05/7.187, allocations: 3.953 kB / 1.318 GB, free: 39.69 MB / 0.7918 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.333e-05/7.187, allocations: 8 kB / 1.318 GB, free: 39.68 MB / 0.7918 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/7.187, allocations: 3.938 kB / 1.318 GB, free: 39.68 MB / 0.7918 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/7.187, allocations: 0 / 1.318 GB, free: 39.68 MB / 0.7918 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01102/7.198, allocations: 4.232 MB / 1.322 GB, free: 35.38 MB / 0.7918 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02352/7.222, allocations: 7.937 MB / 1.33 GB, free: 27.37 MB / 0.7918 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007347/7.229, allocations: 27.95 kB / 1.33 GB, free: 27.34 MB / 0.7918 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008202/7.237, allocations: 23.98 kB / 1.33 GB, free: 27.32 MB / 0.7918 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/7.237, allocations: 15.98 kB / 1.33 GB, free: 27.3 MB / 0.7918 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.806e-05/7.237, allocations: 12 kB / 1.33 GB, free: 27.29 MB / 0.7918 GB Notification: Performance of sorting global known variables: time 1.376/8.614, allocations: 55.56 MB / 1.384 GB, free: 195.5 MB / 0.8232 GB Notification: Performance of sort global known variables: time 1.212e-06/8.614, allocations: 0 / 1.384 GB, free: 195.5 MB / 0.8232 GB Notification: Performance of remove unused functions: time 0.017/8.631, allocations: 3.37 MB / 1.388 GB, free: 195.5 MB / 0.8232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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.01777/8.649, allocations: 5.262 MB / 1.393 GB, free: 192.7 MB / 0.8232 GB Notification: Performance of simCode: created initialization part: time 0.000606/8.649, allocations: 247 kB / 1.393 GB, free: 192.6 MB / 0.8232 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/8.649, allocations: 3.25 kB / 1.393 GB, free: 192.6 MB / 0.8232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002477/8.649, allocations: 95.91 kB / 1.393 GB, free: 192.6 MB / 0.8232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02049/8.67, allocations: 1.848 MB / 1.395 GB, free: 192.5 MB / 0.8232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2071/8.877, allocations: 76.23 MB / 1.469 GB, free: 179.9 MB / 0.8232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04272/8.92, allocations: 16.38 MB / 1.485 GB, free: 174.8 MB / 0.8232 GB Notification: Performance of simCode: alias equations: time 0.01817/8.938, allocations: 5.271 MB / 1.491 GB, free: 170.2 MB / 0.8232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0353/8.974, allocations: 16.12 MB / 1.506 GB, free: 155 MB / 0.8232 GB Notification: Performance of SimCode: time 1.843e-06/8.974, allocations: 4 kB / 1.506 GB, free: 155 MB / 0.8232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.857/13.83, allocations: 458.5 MB / 1.954 GB, free: 2.309 MB / 0.8544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002985/13.83, allocations: 212.6 kB / 1.954 GB, free: 2.02 MB / 0.8544 GB Notification: Performance of buildModelFMU: Generate platform static: time 131.7/145.5, allocations: 1.969 kB / 1.954 GB, free: 2.02 MB / 0.8544 GB