Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.821/3.821, allocations: 432.7 MB / 445.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.493e-05/4.513e-05, allocations: 5.938 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2635, allocations: 98.72 MB / 0.6347 GB, free: 1.926 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9751/1.239, allocations: 391.4 MB / 1.017 GB, free: 3.684 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/1.239, allocations: 90.64 kB / 1.017 GB, free: 3.641 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.357/3.596, allocations: 418 MB / 1.425 GB, free: 173.7 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.725e-06/3.596, allocations: 0 / 1.425 GB, free: 173.7 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001197/3.596, allocations: 34.09 kB / 1.425 GB, free: 173.7 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.002711/3.599, allocations: 1.243 MB / 1.426 GB, free: 173.3 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/3.599, allocations: 9.969 kB / 1.426 GB, free: 173.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005971/3.6, allocations: 133.3 kB / 1.427 GB, free: 173.2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0356/3.635, allocations: 12.22 MB / 1.439 GB, free: 172.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.986e-05/3.635, allocations: 60.72 kB / 1.439 GB, free: 172.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001772/3.635, allocations: 75.91 kB / 1.439 GB, free: 172.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/3.637, allocations: 0.7076 MB / 1.439 GB, free: 172.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.149e-05/3.637, allocations: 4.625 kB / 1.439 GB, free: 172.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.911e-05/3.637, allocations: 31.62 kB / 1.439 GB, free: 172.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.091e-05/3.637, allocations: 17.91 kB / 1.439 GB, free: 172.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/3.638, allocations: 490.3 kB / 1.44 GB, free: 172.4 MB / 0.823 GB Warning: The model contains alias variables with conflicting start and/or 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.00507/3.644, allocations: 3.503 MB / 1.443 GB, free: 170.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005416/3.644, allocations: 227.3 kB / 1.444 GB, free: 170.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002525/3.644, allocations: 139.9 kB / 1.444 GB, free: 170.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004477/3.645, allocations: 0.6732 MB / 1.444 GB, free: 169.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/3.645, allocations: 36.88 kB / 1.444 GB, free: 169.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=28): time 4.168e-06/3.645, allocations: 3.75 kB / 1.444 GB, free: 169.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=28): time 0.000826/3.646, allocations: 345.2 kB / 1.445 GB, free: 169.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/3.646, allocations: 58.95 kB / 1.445 GB, free: 169.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/3.647, allocations: 0.8227 MB / 1.446 GB, free: 169.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.492e-05/3.647, allocations: 35.86 kB / 1.446 GB, free: 169.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004138/3.648, allocations: 0.4944 MB / 1.446 GB, free: 169.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/3.648, allocations: 112 kB / 1.446 GB, free: 169.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.699e-05/3.648, allocations: 10.19 kB / 1.446 GB, free: 169.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.472e-05/3.648, allocations: 321.2 kB / 1.446 GB, free: 169 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002651/3.648, allocations: 124.6 kB / 1.447 GB, free: 169 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003711/3.649, allocations: 348 kB / 1.447 GB, free: 168.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003485/3.649, allocations: 184.5 kB / 1.447 GB, free: 168.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.426e-06/3.649, allocations: 3.969 kB / 1.447 GB, free: 168.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001087/3.65, allocations: 0.5191 MB / 1.448 GB, free: 168.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/3.65, allocations: 14.11 kB / 1.448 GB, free: 168.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/3.65, allocations: 3.906 kB / 1.448 GB, free: 168.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/3.65, allocations: 6.906 kB / 1.448 GB, free: 168.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005491/3.651, allocations: 120.2 kB / 1.448 GB, free: 168.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.597e-05/3.651, allocations: 8.375 kB / 1.448 GB, free: 168.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/3.652, allocations: 114.4 kB / 1.448 GB, free: 168.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.88e-05/3.652, allocations: 32.81 kB / 1.448 GB, free: 168.6 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 () * 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.0001304/3.652, allocations: 140.5 kB / 1.448 GB, free: 168.5 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001773/3.652, allocations: 97.31 kB / 1.448 GB, free: 168.4 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009333/3.653, allocations: 423.5 kB / 1.449 GB, free: 168.4 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/3.653, allocations: 3.938 kB / 1.449 GB, free: 168.4 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.953e-06/3.653, allocations: 3 kB / 1.449 GB, free: 168.4 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004981/3.654, allocations: 372.3 kB / 1.449 GB, free: 168.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002235/3.656, allocations: 1.226 MB / 1.45 GB, free: 167.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.816e-06/3.656, allocations: 3.938 kB / 1.45 GB, free: 167.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004509/3.657, allocations: 75.97 kB / 1.45 GB, free: 167.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/3.657, allocations: 3.844 kB / 1.45 GB, free: 167.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-05/3.657, allocations: 13.69 kB / 1.45 GB, free: 167.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.194e-06/3.657, allocations: 6.406 kB / 1.45 GB, free: 167.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.921e-06/3.657, allocations: 0 / 1.45 GB, free: 167.9 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001329/3.658, allocations: 0.6665 MB / 1.451 GB, free: 167.6 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008666/3.659, allocations: 234.4 kB / 1.451 GB, free: 167.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002983/3.659, allocations: 10.56 kB / 1.451 GB, free: 167.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/3.661, allocations: 53.84 kB / 1.451 GB, free: 167.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/3.661, allocations: 30.45 kB / 1.451 GB, free: 167.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.605e-05/3.661, allocations: 7.156 kB / 1.451 GB, free: 167.5 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002027/3.663, allocations: 0.663 MB / 1.452 GB, free: 167.3 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.291e-06/3.663, allocations: 2.156 kB / 1.452 GB, free: 167.3 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002384/3.665, allocations: 366.6 kB / 1.452 GB, free: 167.3 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 () * 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.001632/3.667, allocations: 0.5537 MB / 1.453 GB, free: 167.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001193/3.668, allocations: 337.8 kB / 1.453 GB, free: 167.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.906e-06/3.668, allocations: 0 / 1.453 GB, free: 167.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003539/3.669, allocations: 143.4 kB / 1.453 GB, free: 167.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003522/3.672, allocations: 0.6045 MB / 1.454 GB, free: 167.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002521/3.675, allocations: 1.174 MB / 1.455 GB, free: 166.8 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000573/3.675, allocations: 1.062 MB / 1.456 GB, free: 166.1 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001174/3.676, allocations: 196.9 kB / 1.456 GB, free: 166.1 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002472/3.677, allocations: 82.98 kB / 1.456 GB, free: 166.1 MB / 0.823 GB Notification: Performance of SimCode: time 1.666e-06/3.677, allocations: 0 / 1.456 GB, free: 166.1 MB / 0.823 GB Notification: Performance of Templates: time 0.04721/3.724, allocations: 22.42 MB / 1.478 GB, free: 165.7 MB / 0.823 GB