Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01237/0.01237, allocations: 106.2 kB / 15.05 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001277/0.001277, allocations: 186.3 kB / 15.95 MB, free: 5.898 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.025/2.025, allocations: 194.6 MB / 211.3 MB, free: 11.04 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.238/2.238, allocations: 236.1 MB / 492.6 MB, free: 11.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006786/0.0006787, allocations: 15.98 kB / 0.587 GB, free: 2.094 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.718/0.7188, allocations: 98.71 MB / 0.6834 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.225/7.944, allocations: 2.189 GB / 2.872 GB, free: 204.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003297/7.945, allocations: 94.88 kB / 2.873 GB, free: 204.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.322/11.27, allocations: 0.5745 GB / 3.447 GB, free: 166.6 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.485e-06/11.27, allocations: 2.953 kB / 3.447 GB, free: 166.6 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001109/11.27, allocations: 24.67 kB / 3.447 GB, free: 166.6 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.004445/11.27, allocations: 1.24 MB / 3.448 GB, free: 166.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/11.27, allocations: 7.719 kB / 3.448 GB, free: 166.1 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005053/11.27, allocations: 123.2 kB / 3.448 GB, free: 166.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00207/11.27, allocations: 206.9 kB / 3.449 GB, free: 166 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00222/11.28, allocations: 0.653 MB / 3.449 GB, free: 165.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.291e-05/11.28, allocations: 57.81 kB / 3.449 GB, free: 165.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000195/11.28, allocations: 81.16 kB / 3.449 GB, free: 165.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/11.28, allocations: 0.8653 MB / 3.45 GB, free: 165.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.926e-05/11.28, allocations: 3.656 kB / 3.45 GB, free: 165.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/11.28, allocations: 29.81 kB / 3.45 GB, free: 165.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.733e-05/11.28, allocations: 29.56 kB / 3.45 GB, free: 165.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001666/11.28, allocations: 0.5831 MB / 3.451 GB, free: 165.6 MB / 0.823 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006593/11.29, allocations: 3.997 MB / 3.455 GB, free: 163 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009982/11.29, allocations: 423 kB / 3.455 GB, free: 163 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002652/11.29, allocations: 101.4 kB / 3.455 GB, free: 162.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/11.29, allocations: 38.34 kB / 3.455 GB, free: 162.9 MB / 0.823 GB Notification: Performance of pre-optimization done (n=43): time 3.677e-06/11.29, allocations: 0 / 3.455 GB, free: 162.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=45): time 0.004137/11.29, allocations: 1.319 MB / 3.457 GB, free: 162.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/11.29, allocations: 57.78 kB / 3.457 GB, free: 162.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/11.29, allocations: 0.6068 MB / 3.457 GB, free: 162.3 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001613/11.29, allocations: 36.83 kB / 3.457 GB, free: 162.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003376/11.29, allocations: 404 kB / 3.458 GB, free: 162.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002094/11.29, allocations: 162 kB / 3.458 GB, free: 162 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/11.29, allocations: 15.7 kB / 3.458 GB, free: 162 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001432/11.3, allocations: 382.4 kB / 3.458 GB, free: 161.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004582/11.3, allocations: 176.5 kB / 3.458 GB, free: 161.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005996/11.3, allocations: 384 kB / 3.459 GB, free: 161.5 MB / 0.823 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002578/11.3, allocations: 0.636 MB / 3.459 GB, free: 161.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/11.3, allocations: 2.75 kB / 3.459 GB, free: 161.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001587/11.3, allocations: 0.6317 MB / 3.46 GB, free: 161.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/11.3, allocations: 9.188 kB / 3.46 GB, free: 161.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/11.3, allocations: 3.719 kB / 3.46 GB, free: 161.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.726e-05/11.3, allocations: 10.09 kB / 3.46 GB, free: 161.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008975/11.3, allocations: 122.2 kB / 3.46 GB, free: 161.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.018e-05/11.3, allocations: 15.47 kB / 3.46 GB, free: 161.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/11.3, allocations: 50.52 kB / 3.46 GB, free: 161.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.124e-05/11.3, allocations: 27.69 kB / 3.46 GB, free: 161.3 MB / 0.823 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * 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.0006731/11.3, allocations: 267.4 kB / 3.46 GB, free: 161.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002391/11.3, allocations: 81.3 kB / 3.461 GB, free: 161.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002256/11.3, allocations: 91.56 kB / 3.461 GB, free: 161.1 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/11.3, allocations: 3.719 kB / 3.461 GB, free: 161.1 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/11.3, allocations: 3.812 kB / 3.461 GB, free: 161.1 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001018/11.31, allocations: 0.6931 MB / 3.461 GB, free: 160.6 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003634/11.31, allocations: 1.46 MB / 3.463 GB, free: 160.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/11.31, allocations: 7.078 kB / 3.463 GB, free: 160.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008989/11.31, allocations: 99.33 kB / 3.463 GB, free: 160.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.275e-05/11.31, allocations: 3.156 kB / 3.463 GB, free: 160.2 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.643e-05/11.31, allocations: 20.67 kB / 3.463 GB, free: 160.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.109e-05/11.31, allocations: 9.281 kB / 3.463 GB, free: 160.2 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/11.31, allocations: 7.344 kB / 3.463 GB, free: 160.2 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/11.31, allocations: 1.038 MB / 3.464 GB, free: 159.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006306/11.31, allocations: 203.4 kB / 3.464 GB, free: 159.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/11.31, allocations: 21.73 kB / 3.464 GB, free: 159.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009654/11.31, allocations: 47.77 kB / 3.464 GB, free: 159.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.854e-05/11.31, allocations: 39.03 kB / 3.464 GB, free: 159.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-05/11.31, allocations: 22.97 kB / 3.464 GB, free: 159.5 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0009488/11.31, allocations: 0.4897 MB / 3.465 GB, free: 159.4 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.91e-07/11.31, allocations: 3.969 kB / 3.465 GB, free: 159.4 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002021/11.32, allocations: 361.2 kB / 3.465 GB, free: 159.4 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * 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.005274/11.32, allocations: 4.179 MB / 3.469 GB, free: 156.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001357/11.32, allocations: 449.7 kB / 3.47 GB, free: 156.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/11.32, allocations: 6.969 kB / 3.47 GB, free: 156.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004606/11.32, allocations: 198.4 kB / 3.47 GB, free: 156.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003868/11.33, allocations: 458.7 kB / 3.47 GB, free: 156.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01194/11.34, allocations: 8.275 MB / 3.478 GB, free: 151.8 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006573/11.34, allocations: 1.041 MB / 3.479 GB, free: 151.1 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001325/11.34, allocations: 191.8 kB / 3.479 GB, free: 151.1 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006943/11.34, allocations: 289.9 kB / 3.48 GB, free: 151.1 MB / 0.823 GB Notification: Performance of SimCode: time 1.723e-06/11.34, allocations: 0 / 3.48 GB, free: 151.1 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1292/11.47, allocations: 46.9 MB / 3.526 GB, free: 149.4 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002796/11.47, allocations: 261.5 kB / 3.526 GB, free: 149 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.558/16.03, allocations: 0 / 3.526 GB, free: 149 MB / 0.823 GB