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.MixingVolumeTraceSubstanceReverseFlow.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.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",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.01196/0.01196, allocations: 106.4 kB / 15.06 MB, free: 6.023 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.001445/0.001444, allocations: 181.8 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.164/2.164, allocations: 194.6 MB / 211.3 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.698/2.698, allocations: 236.1 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006652/0.0006654, allocations: 12 kB / 0.587 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7106/0.7113, allocations: 98.71 MB / 0.6834 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.3615/1.073, allocations: 158.2 MB / 0.838 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01423/1.087, allocations: 5.691 MB / 0.8435 GB, free: 10.1 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001573/1.089, allocations: 35.75 kB / 0.8435 GB, free: 10.06 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002965/1.092, allocations: 0.5871 MB / 0.8441 GB, free: 9.473 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.00813/1.1, allocations: 1.687 MB / 0.8458 GB, free: 7.781 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.00602/1.106, allocations: 1.242 MB / 0.847 GB, free: 6.539 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005184/1.111, allocations: 1.794 MB / 0.8487 GB, free: 4.738 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002179/1.113, allocations: 0.8643 MB / 0.8496 GB, free: 3.863 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002884/1.116, allocations: 0.8409 MB / 0.8504 GB, free: 3.02 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001914/1.118, allocations: 0.6227 MB / 0.851 GB, free: 2.395 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0004422/1.119, allocations: 48 kB / 0.8511 GB, free: 2.348 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003285/1.122, allocations: 0.624 MB / 0.8517 GB, free: 1.723 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.001198/1.123, allocations: 474.7 kB / 0.8521 GB, free: 1.258 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0008131/1.124, allocations: 293.1 kB / 0.8524 GB, free: 0.9648 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003981/1.128, allocations: 1.615 MB / 0.854 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/1.128, allocations: 0 / 0.854 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.086e-06/1.128, allocations: 0 / 0.854 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.939e-05/1.128, allocations: 0 / 0.854 GB, free: 15.35 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: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.004479/1.133, allocations: 1.371 MB / 0.8553 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/1.133, allocations: 16.03 kB / 0.8553 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005988/1.134, allocations: 168.3 kB / 0.8555 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003233/1.137, allocations: 338.1 kB / 0.8558 GB, free: 13.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00291/1.14, allocations: 0.8518 MB / 0.8566 GB, free: 12.51 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/1.14, allocations: 78.02 kB / 0.8567 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003659/1.14, allocations: 115.8 kB / 0.8568 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003774/1.144, allocations: 1.101 MB / 0.8579 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.705e-05/1.144, allocations: 0 / 0.8579 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001956/1.144, allocations: 44 kB / 0.8579 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.535e-05/1.145, allocations: 42 kB / 0.858 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003428/1.148, allocations: 0.9955 MB / 0.859 GB, free: 10.09 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.01189/1.16, allocations: 4.395 MB / 0.8632 GB, free: 5.359 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/1.162, allocations: 0.5702 MB / 0.8638 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/1.162, allocations: 20.41 kB / 0.8638 GB, free: 4.762 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.258e-05/1.162, allocations: 39 kB / 0.8639 GB, free: 4.715 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=53): time 5.831e-06/1.162, allocations: 7.984 kB / 0.8639 GB, free: 4.707 MB / 0.6823 GB Notification: Performance of matching and sorting (n=55): time 0.007197/1.169, allocations: 2.143 MB / 0.866 GB, free: 2.445 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/1.169, allocations: 55.97 kB / 0.866 GB, free: 2.379 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00168/1.171, allocations: 0.7942 MB / 0.8668 GB, free: 1.578 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001742/1.171, allocations: 41.7 kB / 0.8668 GB, free: 1.531 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005935/1.172, allocations: 0.5338 MB / 0.8674 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003182/1.172, allocations: 197.1 kB / 0.8675 GB, free: 0.793 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.836e-05/1.172, allocations: 16 kB / 0.8676 GB, free: 0.7773 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001723/1.172, allocations: 337.9 kB / 0.8679 GB, free: 452 kB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008349/1.173, allocations: 261.8 kB / 0.8681 GB, free: 192 kB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00108/1.174, allocations: 0.5282 MB / 0.8686 GB, free: 15.54 MB / 0.698 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004505/1.179, allocations: 0.9603 MB / 0.8696 GB, free: 14.55 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/1.179, allocations: 7.938 kB / 0.8696 GB, free: 14.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002897/1.182, allocations: 0.9455 MB / 0.8705 GB, free: 13.59 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/1.182, allocations: 12 kB / 0.8705 GB, free: 13.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.015e-05/1.182, allocations: 8 kB / 0.8705 GB, free: 13.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003439/1.182, allocations: 94.52 kB / 0.8706 GB, free: 13.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/1.184, allocations: 200.2 kB / 0.8708 GB, free: 13.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007596/1.191, allocations: 4.301 MB / 0.875 GB, free: 8.566 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00303/1.194, allocations: 83.95 kB / 0.8751 GB, free: 8.484 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002181/1.195, allocations: 32 kB / 0.8751 GB, free: 8.453 MB / 0.698 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (88): * Single equations (assignments): 85 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001543/1.196, allocations: 371.9 kB / 0.8755 GB, free: 8.082 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004586/1.197, allocations: 98.81 kB / 0.8756 GB, free: 7.984 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005423/1.197, allocations: 108.9 kB / 0.8757 GB, free: 7.875 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-05/1.197, allocations: 4 kB / 0.8757 GB, free: 7.871 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/1.197, allocations: 0 / 0.8757 GB, free: 7.871 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00309/1.2, allocations: 0.7341 MB / 0.8764 GB, free: 7.086 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00838/1.209, allocations: 1.935 MB / 0.8783 GB, free: 5.055 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.597e-05/1.209, allocations: 4.406 kB / 0.8783 GB, free: 5.051 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00219/1.211, allocations: 159.8 kB / 0.8784 GB, free: 4.895 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002516/1.211, allocations: 40.84 kB / 0.8785 GB, free: 4.852 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-05/1.212, allocations: 15.98 kB / 0.8785 GB, free: 4.836 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002903/1.214, allocations: 1.499 MB / 0.88 GB, free: 3.203 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-05/1.215, allocations: 4 kB / 0.88 GB, free: 3.199 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004811/1.219, allocations: 1.322 MB / 0.8813 GB, free: 1.738 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001196/1.221, allocations: 251.9 kB / 0.8815 GB, free: 1.473 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003068/1.221, allocations: 12 kB / 0.8815 GB, free: 1.461 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002209/1.223, allocations: 73.42 kB / 0.8816 GB, free: 1.391 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002717/1.224, allocations: 47.84 kB / 0.8816 GB, free: 1.344 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001465/1.224, allocations: 27.98 kB / 0.8816 GB, free: 1.316 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001776/1.225, allocations: 0.5419 MB / 0.8822 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.42e-07/1.226, allocations: 0 / 0.8822 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002513/1.228, allocations: 300 kB / 0.8825 GB, free: 500 kB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * 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 (53): * Single equations (assignments): 52 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.006476/1.235, allocations: 2.859 MB / 0.8853 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004114/1.239, allocations: 0.9924 MB / 0.8862 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.945e-05/1.239, allocations: 4.312 kB / 0.8862 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001864/1.241, allocations: 434.2 kB / 0.8866 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007705/1.248, allocations: 0.5564 MB / 0.8872 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03997/1.289, allocations: 11.44 MB / 0.8984 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005887/1.294, allocations: 1.205 MB / 0.8995 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00255/1.297, allocations: 240.2 kB / 0.8998 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001398/1.299, allocations: 383.3 kB / 0.9001 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of SimCode: time 2.204e-06/1.299, allocations: 3.938 kB / 0.9001 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7747/2.073, allocations: 27.93 MB / 0.9274 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.001456/2.075, allocations: 290.6 kB / 0.9277 GB, free: 210 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.532/5.607, allocations: 5.406 kB / 0.9277 GB, free: 210 MB / 0.7292 GB