Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01487/0.01487, allocations: 109.4 kB / 15.05 MB, free: 5.918 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.002074/0.002074, allocations: 179.7 kB / 15.94 MB, free: 5.879 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.869/1.869, allocations: 194.6 MB / 211.3 MB, free: 11.26 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.352/2.352, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008157/0.0008161, allocations: 12 kB / 0.5869 GB, free: 2.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5476/0.5484, allocations: 98.71 MB / 0.6833 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.04/1.589, allocations: 391.4 MB / 1.066 GB, free: 60.46 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/1.589, allocations: 95.03 kB / 1.066 GB, free: 60.41 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.702/3.291, allocations: 419.3 MB / 1.475 GB, free: 73.36 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.383e-06/3.291, allocations: 0 / 1.475 GB, free: 73.36 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001034/3.291, allocations: 35.88 kB / 1.475 GB, free: 73.32 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002914/3.294, allocations: 1.449 MB / 1.477 GB, free: 71.82 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/3.294, allocations: 12.03 kB / 1.477 GB, free: 71.81 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005332/3.295, allocations: 134.5 kB / 1.477 GB, free: 71.68 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03825/3.333, allocations: 12.3 MB / 1.489 GB, free: 59.21 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.423e-05/3.333, allocations: 54 kB / 1.489 GB, free: 59.16 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/3.333, allocations: 72 kB / 1.489 GB, free: 59.09 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/3.335, allocations: 0.7593 MB / 1.49 GB, free: 58.29 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/3.335, allocations: 0 / 1.49 GB, free: 58.29 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-05/3.335, allocations: 32 kB / 1.49 GB, free: 58.26 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-05/3.335, allocations: 23.94 kB / 1.49 GB, free: 58.24 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/3.336, allocations: 0.5594 MB / 1.49 GB, free: 57.68 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.004463/3.341, allocations: 3.514 MB / 1.494 GB, free: 53.94 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006807/3.342, allocations: 273 kB / 1.494 GB, free: 53.66 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004335/3.342, allocations: 0.6534 MB / 1.495 GB, free: 52.86 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/3.342, allocations: 50.78 kB / 1.495 GB, free: 52.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=28): time 3.453e-06/3.342, allocations: 0 / 1.495 GB, free: 52.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=28): time 0.001386/3.344, allocations: 0.5338 MB / 1.495 GB, free: 52.27 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/3.344, allocations: 55.41 kB / 1.495 GB, free: 52.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/3.345, allocations: 0.827 MB / 1.496 GB, free: 51.36 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 4.622e-05/3.345, allocations: 33.7 kB / 1.496 GB, free: 51.32 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004054/3.345, allocations: 0.5073 MB / 1.497 GB, free: 50.8 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 9.896e-05/3.346, allocations: 98.5 kB / 1.497 GB, free: 50.71 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/3.346, allocations: 12 kB / 1.497 GB, free: 50.7 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.277e-05/3.346, allocations: 326 kB / 1.497 GB, free: 50.37 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004002/3.346, allocations: 157 kB / 1.497 GB, free: 50.22 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004975/3.347, allocations: 380.9 kB / 1.497 GB, free: 49.75 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00047/3.347, allocations: 219.7 kB / 1.498 GB, free: 49.53 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.876e-06/3.347, allocations: 4 kB / 1.498 GB, free: 49.53 MB / 0.823 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001281/3.348, allocations: 0.5942 MB / 1.498 GB, free: 48.93 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/3.348, allocations: 9.562 kB / 1.498 GB, free: 48.92 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/3.348, allocations: 4 kB / 1.498 GB, free: 48.91 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-05/3.348, allocations: 12.31 kB / 1.498 GB, free: 48.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005009/3.349, allocations: 115.9 kB / 1.498 GB, free: 48.79 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/3.349, allocations: 15.92 kB / 1.498 GB, free: 48.77 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009752/3.35, allocations: 111.1 kB / 1.499 GB, free: 48.66 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.198e-05/3.35, allocations: 27.98 kB / 1.499 GB, free: 48.64 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 57 * 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.0005187/3.351, allocations: 277.6 kB / 1.499 GB, free: 48.36 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/3.351, allocations: 98.83 kB / 1.499 GB, free: 48.26 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001125/3.352, allocations: 499.7 kB / 1.499 GB, free: 47.76 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/3.352, allocations: 4 kB / 1.499 GB, free: 47.76 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.966e-06/3.352, allocations: 0 / 1.499 GB, free: 47.76 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008156/3.353, allocations: 441.8 kB / 1.5 GB, free: 47.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002496/3.355, allocations: 1.302 MB / 1.501 GB, free: 45.93 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.624e-06/3.355, allocations: 4.094 kB / 1.501 GB, free: 45.93 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004671/3.356, allocations: 75.88 kB / 1.501 GB, free: 45.85 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.211e-06/3.356, allocations: 7.938 kB / 1.501 GB, free: 45.84 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.063e-05/3.356, allocations: 4 kB / 1.501 GB, free: 45.84 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/3.356, allocations: 4 kB / 1.501 GB, free: 45.84 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.441e-06/3.356, allocations: 0 / 1.501 GB, free: 45.84 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/3.357, allocations: 0.7741 MB / 1.502 GB, free: 45.02 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004837/3.358, allocations: 231.8 kB / 1.502 GB, free: 44.77 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/3.358, allocations: 11.94 kB / 1.502 GB, free: 44.76 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000784/3.359, allocations: 63.84 kB / 1.502 GB, free: 44.7 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.595e-05/3.359, allocations: 23.86 kB / 1.502 GB, free: 44.68 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.573e-05/3.359, allocations: 12 kB / 1.502 GB, free: 44.66 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001116/3.36, allocations: 0.6709 MB / 1.503 GB, free: 43.98 MB / 0.823 GB Notification: Performance of sort global known variables: time 8e-07/3.36, allocations: 0 / 1.503 GB, free: 43.98 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001366/3.362, allocations: 359.5 kB / 1.503 GB, free: 43.63 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0009714/3.363, allocations: 0.5655 MB / 1.504 GB, free: 43.07 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001024/3.364, allocations: 396.7 kB / 1.504 GB, free: 42.68 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.482e-06/3.364, allocations: 4.188 kB / 1.504 GB, free: 42.68 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004139/3.364, allocations: 175.8 kB / 1.504 GB, free: 42.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003313/3.367, allocations: 0.6097 MB / 1.505 GB, free: 41.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002933/3.37, allocations: 1.926 MB / 1.507 GB, free: 39.93 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005438/3.371, allocations: 1.052 MB / 1.508 GB, free: 38.85 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001077/3.372, allocations: 192.5 kB / 1.508 GB, free: 38.66 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002079/3.372, allocations: 79.41 kB / 1.508 GB, free: 38.58 MB / 0.823 GB Notification: Performance of SimCode: time 1.572e-06/3.372, allocations: 0 / 1.508 GB, free: 38.58 MB / 0.823 GB Notification: Performance of Templates: time 0.0473/3.42, allocations: 21.9 MB / 1.529 GB, free: 17.02 MB / 0.823 GB