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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009127/0.009127, allocations: 109.4 kB / 15.06 MB, free: 5.562 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.001154/0.001154, allocations: 177.9 kB / 15.95 MB, free: 5.523 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 1.932/1.932, allocations: 194.6 MB / 211.3 MB, free: 11.03 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.396/2.396, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004689/0.0004691, allocations: 12 kB / 0.5869 GB, free: 2.164 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5468/0.5473, allocations: 98.71 MB / 0.6833 GB, free: 16.72 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2846/0.8319, allocations: 158.2 MB / 0.8379 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01988/0.8519, allocations: 5.703 MB / 0.8434 GB, free: 10.09 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001844/0.8538, allocations: 31.75 kB / 0.8435 GB, free: 10.06 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003703/0.8575, allocations: 0.5871 MB / 0.844 GB, free: 9.469 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.006319/0.8639, allocations: 1.698 MB / 0.8457 GB, free: 7.766 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004711/0.8686, allocations: 1.242 MB / 0.8469 GB, free: 6.523 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.003737/0.8724, allocations: 1.79 MB / 0.8486 GB, free: 4.727 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001623/0.874, allocations: 0.8605 MB / 0.8495 GB, free: 3.855 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001937/0.876, allocations: 0.8409 MB / 0.8503 GB, free: 3.012 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/0.8771, allocations: 0.6227 MB / 0.8509 GB, free: 2.387 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001934/0.8773, allocations: 48 kB / 0.851 GB, free: 2.34 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002137/0.8794, allocations: 0.624 MB / 0.8516 GB, free: 1.715 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.000684/0.8801, allocations: 478.8 kB / 0.852 GB, free: 1.246 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0004739/0.8806, allocations: 293 kB / 0.8523 GB, free: 0.9531 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002583/0.8832, allocations: 1.611 MB / 0.8539 GB, free: 15.34 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 3.331e-06/0.8833, allocations: 0 / 0.8539 GB, free: 15.34 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.144e-06/0.8833, allocations: 4 kB / 0.8539 GB, free: 15.34 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 1.99e-05/0.8833, allocations: 0 / 0.8539 GB, free: 15.34 MB / 0.6824 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.002962/0.8863, allocations: 1.367 MB / 0.8552 GB, free: 13.91 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.8863, allocations: 8.031 kB / 0.8552 GB, free: 13.91 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002682/0.889, allocations: 338.1 kB / 0.8556 GB, free: 13.57 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002095/0.8911, allocations: 0.8635 MB / 0.8564 GB, free: 12.67 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.74e-05/0.8913, allocations: 78.02 kB / 0.8565 GB, free: 12.59 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002093/0.8915, allocations: 103.9 kB / 0.8566 GB, free: 12.49 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002789/0.8943, allocations: 1.097 MB / 0.8576 GB, free: 11.36 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.443e-05/0.8943, allocations: 0 / 0.8576 GB, free: 11.36 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001542/0.8945, allocations: 51.94 kB / 0.8577 GB, free: 11.31 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.935e-05/0.8946, allocations: 46 kB / 0.8577 GB, free: 11.26 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002538/0.8971, allocations: 0.9954 MB / 0.8587 GB, free: 10.26 MB / 0.6824 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.008761/0.9059, allocations: 4.394 MB / 0.863 GB, free: 5.523 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/0.9072, allocations: 0.575 MB / 0.8636 GB, free: 4.938 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 7.468e-05/0.9073, allocations: 20.41 kB / 0.8636 GB, free: 4.918 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/0.9074, allocations: 43 kB / 0.8636 GB, free: 4.867 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=53): time 3.993e-06/0.9074, allocations: 0 / 0.8636 GB, free: 4.867 MB / 0.6824 GB Notification: Performance of matching and sorting (n=55): time 0.005874/0.9133, allocations: 2.139 MB / 0.8657 GB, free: 2.609 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.9134, allocations: 63.91 kB / 0.8658 GB, free: 2.535 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/0.9148, allocations: 0.7903 MB / 0.8665 GB, free: 1.738 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 0.0001059/0.9149, allocations: 41.64 kB / 0.8666 GB, free: 1.691 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005491/0.9155, allocations: 0.5377 MB / 0.8671 GB, free: 1.145 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002749/0.9158, allocations: 201.1 kB / 0.8673 GB, free: 0.9453 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.651e-05/0.9158, allocations: 12 kB / 0.8673 GB, free: 0.9336 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001904/0.916, allocations: 337.9 kB / 0.8676 GB, free: 0.5977 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006789/0.9167, allocations: 261.8 kB / 0.8679 GB, free: 352 kB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009462/0.9177, allocations: 0.5281 MB / 0.8684 GB, free: 15.7 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.003472/0.9212, allocations: 0.9589 MB / 0.8693 GB, free: 14.71 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/0.9212, allocations: 7.953 kB / 0.8693 GB, free: 14.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002406/0.9236, allocations: 0.942 MB / 0.8703 GB, free: 13.75 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/0.9237, allocations: 8 kB / 0.8703 GB, free: 13.74 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.881e-05/0.9237, allocations: 11.94 kB / 0.8703 GB, free: 13.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003064/0.9241, allocations: 102.5 kB / 0.8704 GB, free: 13.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.9251, allocations: 195.9 kB / 0.8706 GB, free: 13.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005011/0.9301, allocations: 4.293 MB / 0.8748 GB, free: 8.734 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.9314, allocations: 75.95 kB / 0.8748 GB, free: 8.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.892e-05/0.9315, allocations: 36 kB / 0.8749 GB, free: 8.625 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.001055/0.9326, allocations: 381.3 kB / 0.8752 GB, free: 8.242 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003866/0.933, allocations: 94.88 kB / 0.8753 GB, free: 8.148 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000387/0.9334, allocations: 108.9 kB / 0.8754 GB, free: 8.039 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/0.9335, allocations: 4 kB / 0.8754 GB, free: 8.035 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.549e-06/0.9335, allocations: 0 / 0.8754 GB, free: 8.035 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00278/0.9363, allocations: 0.7379 MB / 0.8761 GB, free: 7.246 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007464/0.9438, allocations: 1.927 MB / 0.878 GB, free: 5.219 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.977e-05/0.9439, allocations: 4 kB / 0.878 GB, free: 5.215 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001587/0.9455, allocations: 164.2 kB / 0.8782 GB, free: 5.055 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002364/0.9457, allocations: 36.83 kB / 0.8782 GB, free: 5.016 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.881e-05/0.9459, allocations: 19.98 kB / 0.8782 GB, free: 4.996 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0028/0.9487, allocations: 1.491 MB / 0.8797 GB, free: 3.371 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.35e-05/0.9487, allocations: 7.969 kB / 0.8797 GB, free: 3.363 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004607/0.9534, allocations: 1.326 MB / 0.881 GB, free: 1.898 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/0.9546, allocations: 247.9 kB / 0.8812 GB, free: 1.637 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002753/0.9549, allocations: 16 kB / 0.8813 GB, free: 1.621 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002028/0.9569, allocations: 73.42 kB / 0.8813 GB, free: 1.551 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002561/0.9572, allocations: 47.91 kB / 0.8814 GB, free: 1.504 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001554/0.9574, allocations: 31.92 kB / 0.8814 GB, free: 1.473 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001749/0.9592, allocations: 0.5419 MB / 0.8819 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.462e-06/0.9592, allocations: 0 / 0.8819 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00257/0.9618, allocations: 296 kB / 0.8822 GB, free: 0.6484 MB / 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.0007848/0.9626, allocations: 194.4 kB / 0.8824 GB, free: 464 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003636/0.9663, allocations: 0.9924 MB / 0.8834 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.436e-05/0.9663, allocations: 4.438 kB / 0.8834 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001608/0.968, allocations: 442.1 kB / 0.8838 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006213/0.9742, allocations: 0.5643 MB / 0.8843 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00828/0.9825, allocations: 2.543 MB / 0.8868 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001826/0.9844, allocations: 1.201 MB / 0.888 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002529/0.987, allocations: 240.2 kB / 0.8882 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000472/0.9875, allocations: 71.44 kB / 0.8883 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of SimCode: time 2.24e-06/0.9875, allocations: 0 / 0.8883 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of Templates: time 0.07711/1.065, allocations: 18.88 MB / 0.9067 GB, free: 7.75 MB / 0.7292 GB