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.0115/0.0115, allocations: 107.5 kB / 15.06 MB, free: 6.031 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.001205/0.001205, allocations: 179.2 kB / 15.95 MB, free: 5.957 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.219/2.219, allocations: 194.5 MB / 211.2 MB, free: 11.07 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.473/2.473, allocations: 236.1 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006649/0.0006652, allocations: 12 kB / 0.587 GB, free: 2.09 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.707/0.7078, allocations: 98.71 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.289/0.9968, allocations: 155.7 MB / 0.8354 GB, free: 2.391 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02294/1.02, allocations: 10.93 MB / 0.8461 GB, free: 7.445 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001267/1.021, allocations: 23.81 kB / 0.8461 GB, free: 7.422 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001937/1.023, allocations: 437.9 kB / 0.8465 GB, free: 6.992 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.004591/1.028, allocations: 1.059 MB / 0.8476 GB, free: 5.93 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.00375/1.031, allocations: 0.8459 MB / 0.8484 GB, free: 5.082 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.0029/1.034, allocations: 1.2 MB / 0.8496 GB, free: 3.879 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001371/1.036, allocations: 0.6311 MB / 0.8502 GB, free: 3.227 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004264/1.04, allocations: 1.238 MB / 0.8514 GB, free: 1.984 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009703/1.041, allocations: 438.2 kB / 0.8518 GB, free: 1.555 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001401/1.041, allocations: 36 kB / 0.8519 GB, free: 1.52 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001661/1.043, allocations: 419.3 kB / 0.8523 GB, free: 1.109 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0005161/1.043, allocations: 315.1 kB / 0.8526 GB, free: 0.8008 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0003496/1.044, allocations: 201.3 kB / 0.8527 GB, free: 0.5977 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.001852/1.046, allocations: 1.002 MB / 0.8537 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/1.046, allocations: 0 / 0.8537 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.804e-06/1.046, allocations: 0 / 0.8537 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.322e-05/1.046, allocations: 0 / 0.8537 GB, free: 15.59 MB / 0.6823 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.002454/1.048, allocations: 1.044 MB / 0.8547 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/1.048, allocations: 8.031 kB / 0.8547 GB, free: 14.49 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002239/1.048, allocations: 122.5 kB / 0.8549 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001675/1.05, allocations: 214.6 kB / 0.8551 GB, free: 14.15 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/1.052, allocations: 0.6057 MB / 0.8557 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.063e-05/1.052, allocations: 58 kB / 0.8557 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001896/1.052, allocations: 79.91 kB / 0.8558 GB, free: 13.37 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00212/1.054, allocations: 0.8799 MB / 0.8567 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.623e-05/1.054, allocations: 3.938 kB / 0.8567 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/1.054, allocations: 32 kB / 0.8567 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.96e-05/1.054, allocations: 25.31 kB / 0.8567 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/1.056, allocations: 0.61 MB / 0.8573 GB, free: 11.75 MB / 0.6823 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.006523/1.063, allocations: 4.014 MB / 0.8612 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/1.064, allocations: 0.5146 MB / 0.8617 GB, free: 6.938 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.716e-05/1.064, allocations: 12 kB / 0.8617 GB, free: 6.926 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.548e-05/1.064, allocations: 42.56 kB / 0.8618 GB, free: 6.875 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=43): time 5.431e-06/1.064, allocations: 3.984 kB / 0.8618 GB, free: 6.871 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45): time 0.003928/1.068, allocations: 1.336 MB / 0.8631 GB, free: 5.484 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/1.068, allocations: 55.41 kB / 0.8631 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/1.069, allocations: 0.6958 MB / 0.8638 GB, free: 4.715 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.304e-05/1.069, allocations: 37.7 kB / 0.8639 GB, free: 4.672 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000441/1.07, allocations: 403.8 kB / 0.8642 GB, free: 4.273 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/1.07, allocations: 157.7 kB / 0.8644 GB, free: 4.117 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/1.07, allocations: 16 kB / 0.8644 GB, free: 4.102 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002304/1.07, allocations: 382.8 kB / 0.8648 GB, free: 3.719 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005188/1.071, allocations: 177.1 kB / 0.8649 GB, free: 3.543 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007493/1.072, allocations: 381 kB / 0.8653 GB, free: 3.09 MB / 0.6823 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.002736/1.074, allocations: 0.65 MB / 0.8659 GB, free: 2.422 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/1.074, allocations: 0 / 0.8659 GB, free: 2.422 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001762/1.076, allocations: 0.6332 MB / 0.8666 GB, free: 1.781 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.09e-05/1.076, allocations: 7.938 kB / 0.8666 GB, free: 1.773 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/1.076, allocations: 8 kB / 0.8666 GB, free: 1.766 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.977e-05/1.076, allocations: 8 kB / 0.8666 GB, free: 1.758 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009184/1.077, allocations: 123.8 kB / 0.8667 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.177e-05/1.077, allocations: 11.94 kB / 0.8667 GB, free: 1.625 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/1.079, allocations: 58.36 kB / 0.8668 GB, free: 1.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-05/1.079, allocations: 31.98 kB / 0.8668 GB, free: 1.539 MB / 0.6823 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.0006596/1.079, allocations: 273.5 kB / 0.8671 GB, free: 1.262 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002309/1.08, allocations: 75.06 kB / 0.8671 GB, free: 1.188 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002227/1.08, allocations: 91.41 kB / 0.8672 GB, free: 1.094 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/1.08, allocations: 8 kB / 0.8672 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/1.08, allocations: 0 / 0.8672 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001227/1.081, allocations: 0.7023 MB / 0.8679 GB, free: 304 kB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004151/1.085, allocations: 1.489 MB / 0.8694 GB, free: 14.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/1.085, allocations: 4 kB / 0.8694 GB, free: 14.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009431/1.086, allocations: 99.81 kB / 0.8695 GB, free: 14.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.958e-05/1.086, allocations: 11.95 kB / 0.8695 GB, free: 14.59 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.817e-05/1.086, allocations: 16 kB / 0.8695 GB, free: 14.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-05/1.086, allocations: 4 kB / 0.8695 GB, free: 14.57 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.157e-06/1.086, allocations: 7.938 kB / 0.8695 GB, free: 14.56 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002283/1.089, allocations: 1.07 MB / 0.8705 GB, free: 13.33 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006254/1.089, allocations: 204.2 kB / 0.8707 GB, free: 13.11 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001613/1.09, allocations: 15.98 kB / 0.8708 GB, free: 13.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009638/1.091, allocations: 47.81 kB / 0.8708 GB, free: 13.05 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/1.091, allocations: 35.86 kB / 0.8708 GB, free: 13.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.113e-05/1.091, allocations: 23.98 kB / 0.8709 GB, free: 12.99 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001077/1.092, allocations: 0.4912 MB / 0.8713 GB, free: 12.51 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.01e-07/1.092, allocations: 4 kB / 0.8713 GB, free: 12.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001281/1.093, allocations: 200 kB / 0.8715 GB, free: 12.31 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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.003667/1.097, allocations: 2.804 MB / 0.8743 GB, free: 9.387 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001473/1.098, allocations: 457.2 kB / 0.8747 GB, free: 8.941 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/1.098, allocations: 0 / 0.8747 GB, free: 8.941 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006019/1.099, allocations: 212.5 kB / 0.8749 GB, free: 8.734 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004095/1.103, allocations: 450.5 kB / 0.8753 GB, free: 8.293 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01441/1.118, allocations: 8.279 MB / 0.8834 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009157/1.119, allocations: 1.043 MB / 0.8844 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001332/1.12, allocations: 202.7 kB / 0.8846 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007535/1.121, allocations: 287.3 kB / 0.8849 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of SimCode: time 1.492e-06/1.121, allocations: 0 / 0.8849 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09306/1.214, allocations: 21.45 MB / 0.9059 GB, free: 9.211 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004298/1.214, allocations: 258.5 kB / 0.9061 GB, free: 8.852 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.645/4.86, allocations: 0 / 0.9061 GB, free: 8.852 MB / 0.7292 GB