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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.949/3.949, allocations: 433.4 MB / 440.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.459e-05/2.472e-05, allocations: 8 kB / 0.5325 GB, free: 1.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5032/0.5033, allocations: 98.72 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9697/1.473, allocations: 390.7 MB / 1.01 GB, free: 7.086 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/1.473, allocations: 92.53 kB / 1.011 GB, free: 7.043 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.122/3.596, allocations: 415.6 MB / 1.416 GB, free: 166.8 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.216e-06/3.596, allocations: 0 / 1.416 GB, free: 166.8 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001202/3.596, allocations: 30.16 kB / 1.416 GB, free: 166.8 MB / 0.8073 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.00253/3.599, allocations: 1.24 MB / 1.418 GB, free: 166.4 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/3.599, allocations: 10.23 kB / 1.418 GB, free: 166.4 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005685/3.599, allocations: 138.1 kB / 1.418 GB, free: 166.3 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03581/3.635, allocations: 12.18 MB / 1.43 GB, free: 165.7 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.798e-05/3.635, allocations: 22.41 kB / 1.43 GB, free: 165.7 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/3.635, allocations: 48.66 kB / 1.43 GB, free: 165.7 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001146/3.636, allocations: 441.4 kB / 1.43 GB, free: 165.7 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/3.638, allocations: 0.6137 MB / 1.431 GB, free: 165.6 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.238e-05/3.638, allocations: 0.8438 kB / 1.431 GB, free: 165.6 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.448e-05/3.638, allocations: 3.781 kB / 1.431 GB, free: 165.6 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.733e-05/3.638, allocations: 19.72 kB / 1.431 GB, free: 165.6 MB / 0.8073 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.00505/3.643, allocations: 3.512 MB / 1.434 GB, free: 163.6 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004859/3.643, allocations: 207.1 kB / 1.434 GB, free: 163.6 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002178/3.644, allocations: 124 kB / 1.435 GB, free: 163.6 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003507/3.644, allocations: 0.504 MB / 1.435 GB, free: 163 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/3.644, allocations: 37.86 kB / 1.435 GB, free: 163 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=27): time 3.255e-06/3.644, allocations: 0 / 1.435 GB, free: 163 MB / 0.8073 GB Notification: Performance of matching and sorting (n=27): time 0.0009415/3.645, allocations: 325 kB / 1.435 GB, free: 162.9 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.048e-05/3.645, allocations: 55.28 kB / 1.435 GB, free: 162.9 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/3.646, allocations: 0.6537 MB / 1.436 GB, free: 162.7 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.87e-05/3.646, allocations: 25.7 kB / 1.436 GB, free: 162.7 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003975/3.647, allocations: 0.5184 MB / 1.437 GB, free: 162.5 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/3.647, allocations: 97.12 kB / 1.437 GB, free: 162.5 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-05/3.647, allocations: 0 / 1.437 GB, free: 162.5 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.684e-05/3.647, allocations: 324.7 kB / 1.437 GB, free: 162.2 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/3.647, allocations: 117.2 kB / 1.437 GB, free: 162.2 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003533/3.648, allocations: 322.5 kB / 1.437 GB, free: 161.9 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005887/3.648, allocations: 187.1 kB / 1.438 GB, free: 161.9 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.707e-06/3.648, allocations: 0 / 1.438 GB, free: 161.9 MB / 0.8073 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001263/3.649, allocations: 494 kB / 1.438 GB, free: 161.8 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/3.649, allocations: 8.656 kB / 1.438 GB, free: 161.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/3.65, allocations: 7.922 kB / 1.438 GB, free: 161.8 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.691e-05/3.65, allocations: 11.12 kB / 1.438 GB, free: 161.8 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005232/3.65, allocations: 115.3 kB / 1.438 GB, free: 161.8 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/3.65, allocations: 17.61 kB / 1.438 GB, free: 161.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009955/3.651, allocations: 77.25 kB / 1.438 GB, free: 161.8 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.181e-05/3.651, allocations: 32.67 kB / 1.438 GB, free: 161.8 MB / 0.8073 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.0001274/3.651, allocations: 114.5 kB / 1.438 GB, free: 161.7 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001773/3.652, allocations: 85.34 kB / 1.439 GB, free: 161.7 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/3.653, allocations: 373.5 kB / 1.439 GB, free: 161.6 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/3.653, allocations: 7.141 kB / 1.439 GB, free: 161.6 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.228e-06/3.653, allocations: 3 kB / 1.439 GB, free: 161.6 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006318/3.653, allocations: 356.9 kB / 1.439 GB, free: 161.5 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002418/3.656, allocations: 1.104 MB / 1.44 GB, free: 161.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.638e-06/3.656, allocations: 3.906 kB / 1.44 GB, free: 161.2 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004768/3.656, allocations: 77.81 kB / 1.44 GB, free: 161.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.758e-06/3.656, allocations: 9.766 kB / 1.44 GB, free: 161.2 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.164e-05/3.656, allocations: 3.406 kB / 1.44 GB, free: 161.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.056e-06/3.656, allocations: 0 / 1.44 GB, free: 161.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.44e-06/3.656, allocations: 6.641 kB / 1.44 GB, free: 161.2 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/3.658, allocations: 0.6322 MB / 1.441 GB, free: 160.9 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004926/3.658, allocations: 216.9 kB / 1.441 GB, free: 160.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/3.658, allocations: 2.625 kB / 1.441 GB, free: 160.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006491/3.659, allocations: 56.25 kB / 1.441 GB, free: 160.8 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.644e-05/3.659, allocations: 20.47 kB / 1.441 GB, free: 160.8 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.025e-05/3.659, allocations: 13.58 kB / 1.441 GB, free: 160.8 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0008161/3.66, allocations: 0.4969 MB / 1.442 GB, free: 160.7 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.111e-06/3.66, allocations: 0 / 1.442 GB, free: 160.7 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001516/3.661, allocations: 360.3 kB / 1.442 GB, free: 160.6 MB / 0.8073 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.001118/3.663, allocations: 0.5635 MB / 1.443 GB, free: 160.5 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0006942/3.663, allocations: 308.9 kB / 1.443 GB, free: 160.5 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.65e-06/3.663, allocations: 0 / 1.443 GB, free: 160.5 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002666/3.664, allocations: 135.3 kB / 1.443 GB, free: 160.5 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00294/3.666, allocations: 468.9 kB / 1.444 GB, free: 160.5 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00259/3.669, allocations: 1.132 MB / 1.445 GB, free: 160.1 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005995/3.67, allocations: 1.053 MB / 1.446 GB, free: 159.4 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001058/3.671, allocations: 165.8 kB / 1.446 GB, free: 159.4 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002152/3.671, allocations: 75.2 kB / 1.446 GB, free: 159.4 MB / 0.8073 GB Notification: Performance of SimCode: time 1.764e-06/3.671, allocations: 0 / 1.446 GB, free: 159.4 MB / 0.8073 GB Notification: Performance of Templates: time 0.04778/3.719, allocations: 16.5 MB / 1.462 GB, free: 159.1 MB / 0.8073 GB