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: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",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.0152/0.0152, allocations: 107.7 kB / 15.05 MB, free: 5.984 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.001741/0.001741, allocations: 183.5 kB / 15.94 MB, free: 5.941 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.335/2.335, allocations: 194.5 MB / 211.3 MB, free: 11.08 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.479/2.479, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004985/0.0004983, allocations: 12 kB / 0.587 GB, free: 2.055 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8678/0.8684, allocations: 98.71 MB / 0.6834 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.381/2.25, allocations: 391.4 MB / 1.066 GB, free: 57.6 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003547/2.25, allocations: 95.02 kB / 1.066 GB, free: 57.55 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.156/4.407, allocations: 419.3 MB / 1.475 GB, free: 70.35 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.026e-06/4.407, allocations: 0 / 1.475 GB, free: 70.35 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001646/4.407, allocations: 24 kB / 1.475 GB, free: 70.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.005321/4.412, allocations: 1.465 MB / 1.477 GB, free: 68.81 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/4.412, allocations: 8.031 kB / 1.477 GB, free: 68.8 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004583/4.413, allocations: 114.5 kB / 1.477 GB, free: 68.68 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007572/4.414, allocations: 138.5 kB / 1.477 GB, free: 68.54 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0407/4.454, allocations: 12.3 MB / 1.489 GB, free: 56.07 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.965e-05/4.454, allocations: 58 kB / 1.489 GB, free: 56.01 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001823/4.455, allocations: 71.98 kB / 1.489 GB, free: 55.94 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002159/4.457, allocations: 0.7554 MB / 1.49 GB, free: 55.15 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.379e-05/4.457, allocations: 7.938 kB / 1.49 GB, free: 55.14 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.925e-05/4.457, allocations: 32 kB / 1.49 GB, free: 55.11 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-05/4.457, allocations: 19.95 kB / 1.49 GB, free: 55.09 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001984/4.459, allocations: 0.5633 MB / 1.49 GB, free: 54.53 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.006491/4.466, allocations: 3.501 MB / 1.494 GB, free: 50.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009593/4.467, allocations: 272 kB / 1.494 GB, free: 50.53 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005915/4.467, allocations: 0.6573 MB / 1.495 GB, free: 49.72 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/4.467, allocations: 38.78 kB / 1.495 GB, free: 49.68 MB / 0.823 GB Notification: Performance of pre-optimization done (n=28): time 3.446e-06/4.467, allocations: 0 / 1.495 GB, free: 49.68 MB / 0.823 GB Notification: Performance of matching and sorting (n=28): time 0.002066/4.469, allocations: 0.5377 MB / 1.495 GB, free: 49.14 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/4.469, allocations: 55.41 kB / 1.495 GB, free: 49.07 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001776/4.471, allocations: 0.8231 MB / 1.496 GB, free: 48.23 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001274/4.471, allocations: 33.7 kB / 1.496 GB, free: 48.19 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004767/4.472, allocations: 0.5112 MB / 1.497 GB, free: 47.67 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/4.472, allocations: 102.5 kB / 1.497 GB, free: 47.57 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.85e-05/4.472, allocations: 12 kB / 1.497 GB, free: 47.56 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.674e-05/4.472, allocations: 334 kB / 1.497 GB, free: 47.23 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006009/4.473, allocations: 153 kB / 1.497 GB, free: 47.08 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000742/4.474, allocations: 376.9 kB / 1.498 GB, free: 46.61 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00067/4.474, allocations: 227.6 kB / 1.498 GB, free: 46.39 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.605e-06/4.474, allocations: 4 kB / 1.498 GB, free: 46.38 MB / 0.823 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001937/4.476, allocations: 0.5945 MB / 1.498 GB, free: 45.78 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/4.476, allocations: 8 kB / 1.498 GB, free: 45.77 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/4.476, allocations: 4 kB / 1.498 GB, free: 45.77 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.731e-05/4.476, allocations: 8 kB / 1.498 GB, free: 45.76 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007768/4.477, allocations: 115.8 kB / 1.499 GB, free: 45.65 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.938e-05/4.477, allocations: 11.94 kB / 1.499 GB, free: 45.64 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/4.479, allocations: 115.2 kB / 1.499 GB, free: 45.52 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/4.479, allocations: 28 kB / 1.499 GB, free: 45.5 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.0007052/4.48, allocations: 277.6 kB / 1.499 GB, free: 45.21 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003357/4.48, allocations: 102.8 kB / 1.499 GB, free: 45.11 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001647/4.482, allocations: 497.2 kB / 1.5 GB, free: 44.62 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/4.482, allocations: 4 kB / 1.5 GB, free: 44.62 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/4.482, allocations: 0 / 1.5 GB, free: 44.62 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001084/4.483, allocations: 444.2 kB / 1.5 GB, free: 44.15 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003559/4.486, allocations: 1.302 MB / 1.501 GB, free: 42.79 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/4.486, allocations: 0 / 1.501 GB, free: 42.79 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006166/4.487, allocations: 75.94 kB / 1.501 GB, free: 42.71 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/4.487, allocations: 4 kB / 1.501 GB, free: 42.71 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.746e-05/4.487, allocations: 8 kB / 1.501 GB, free: 42.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.624e-06/4.487, allocations: 11.97 kB / 1.501 GB, free: 42.69 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/4.487, allocations: 0 / 1.501 GB, free: 42.69 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002135/4.489, allocations: 0.7686 MB / 1.502 GB, free: 41.88 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007947/4.49, allocations: 235.8 kB / 1.502 GB, free: 41.63 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002421/4.49, allocations: 4 kB / 1.502 GB, free: 41.62 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/4.492, allocations: 67.8 kB / 1.502 GB, free: 41.56 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/4.492, allocations: 19.91 kB / 1.502 GB, free: 41.54 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.791e-05/4.492, allocations: 20 kB / 1.502 GB, free: 41.52 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001468/4.493, allocations: 0.667 MB / 1.503 GB, free: 40.84 MB / 0.823 GB Notification: Performance of sort global known variables: time 6.11e-07/4.493, allocations: 0 / 1.503 GB, free: 40.84 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001891/4.495, allocations: 363.5 kB / 1.503 GB, free: 40.49 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.00426/4.499, allocations: 1.977 MB / 1.505 GB, free: 38.47 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001485/4.501, allocations: 392.2 kB / 1.506 GB, free: 38.09 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/4.501, allocations: 3.938 kB / 1.506 GB, free: 38.08 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006134/4.502, allocations: 176.8 kB / 1.506 GB, free: 37.91 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005463/4.507, allocations: 0.6137 MB / 1.507 GB, free: 37.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01509/4.522, allocations: 8.749 MB / 1.515 GB, free: 28.24 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006028/4.523, allocations: 1.056 MB / 1.516 GB, free: 27.16 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001395/4.524, allocations: 188.5 kB / 1.516 GB, free: 26.97 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008067/4.525, allocations: 375.3 kB / 1.517 GB, free: 26.6 MB / 0.823 GB Notification: Performance of SimCode: time 1.403e-06/4.525, allocations: 0 / 1.517 GB, free: 26.6 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8/5.325, allocations: 32.23 MB / 1.548 GB, free: 170.7 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000299/5.326, allocations: 242 kB / 1.548 GB, free: 170.5 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.88/9.205, allocations: 0 / 1.548 GB, free: 170.5 MB / 0.823 GB