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.01611/0.01611, allocations: 106.5 kB / 15.06 MB, free: 5.555 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.001901/0.001901, allocations: 184.7 kB / 15.95 MB, free: 5.52 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.05/2.05, allocations: 194.5 MB / 211.3 MB, free: 10.91 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.523/2.523, allocations: 236.1 MB / 492.6 MB, free: 11.23 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007787/0.0007789, allocations: 16 kB / 0.587 GB, free: 1.945 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.788/0.7888, allocations: 98.71 MB / 0.6834 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.05657/0.8455, allocations: 34.45 MB / 0.7171 GB, free: 7.66 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0203/0.8658, allocations: 8.834 MB / 0.7257 GB, free: 0.5586 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002308/0.8682, allocations: 44.59 kB / 0.7257 GB, free: 0.5391 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.003226/0.8715, allocations: 0.6066 MB / 0.7263 GB, free: 12 kB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.009051/0.8806, allocations: 1.785 MB / 0.7281 GB, free: 14.51 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00662/0.8873, allocations: 1.191 MB / 0.7292 GB, free: 13.67 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.006047/0.8933, allocations: 1.99 MB / 0.7312 GB, free: 12.37 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002007/0.8954, allocations: 0.7517 MB / 0.7319 GB, free: 11.92 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003488/0.8989, allocations: 0.889 MB / 0.7328 GB, free: 11.37 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002061/0.9011, allocations: 0.5466 MB / 0.7333 GB, free: 11.05 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002943/0.9014, allocations: 40.47 kB / 0.7334 GB, free: 11.05 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003155/0.9046, allocations: 0.5421 MB / 0.7339 GB, free: 10.51 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0004533/0.9051, allocations: 183.2 kB / 0.7341 GB, free: 10.33 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.000714/0.9058, allocations: 257.1 kB / 0.7343 GB, free: 10.07 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.003584/0.9094, allocations: 1.33 MB / 0.7356 GB, free: 8.742 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.9094, allocations: 0 / 0.7356 GB, free: 8.742 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.056e-06/0.9095, allocations: 0 / 0.7356 GB, free: 8.742 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.45e-05/0.9095, allocations: 0 / 0.7356 GB, free: 8.742 MB / 0.5573 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.003911/0.9134, allocations: 1.312 MB / 0.7369 GB, free: 7.371 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.321e-05/0.9135, allocations: 12.03 kB / 0.7369 GB, free: 7.359 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004439/0.914, allocations: 114.5 kB / 0.737 GB, free: 7.238 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006905/0.9147, allocations: 134.6 kB / 0.7371 GB, free: 7.105 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002946/0.9176, allocations: 0.9669 MB / 0.7381 GB, free: 6.098 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-05/0.9178, allocations: 57.95 kB / 0.7381 GB, free: 6.039 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001795/0.918, allocations: 68 kB / 0.7382 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002284/0.9203, allocations: 0.7749 MB / 0.739 GB, free: 5.164 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.907e-05/0.9204, allocations: 4 kB / 0.739 GB, free: 5.16 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.9205, allocations: 32 kB / 0.739 GB, free: 5.129 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.984e-05/0.9205, allocations: 23.94 kB / 0.739 GB, free: 5.105 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002083/0.9226, allocations: 0.5828 MB / 0.7396 GB, free: 4.52 MB / 0.5573 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.006799/0.9295, allocations: 3.536 MB / 0.743 GB, free: 0.7539 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009439/0.9305, allocations: 243.2 kB / 0.7433 GB, free: 0.5078 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007069/0.9312, allocations: 0.6612 MB / 0.7439 GB, free: 15.7 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.9312, allocations: 38.8 kB / 0.7439 GB, free: 15.65 MB / 0.573 GB Notification: Performance of pre-optimization done (n=28): time 2.645e-06/0.9313, allocations: 0 / 0.7439 GB, free: 15.65 MB / 0.573 GB Notification: Performance of matching and sorting (n=28): time 0.002118/0.9334, allocations: 0.5142 MB / 0.7444 GB, free: 15.13 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.9335, allocations: 55.41 kB / 0.7445 GB, free: 15.07 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002022/0.9355, allocations: 0.9767 MB / 0.7455 GB, free: 14.07 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 9.354e-05/0.9356, allocations: 33.7 kB / 0.7455 GB, free: 14.03 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006356/0.9363, allocations: 0.4955 MB / 0.746 GB, free: 13.53 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001791/0.9365, allocations: 110.6 kB / 0.7461 GB, free: 13.42 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.9365, allocations: 8 kB / 0.7461 GB, free: 13.41 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.9367, allocations: 326 kB / 0.7464 GB, free: 13.09 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006696/0.9374, allocations: 165 kB / 0.7466 GB, free: 12.93 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008117/0.9382, allocations: 358.9 kB / 0.7469 GB, free: 12.5 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000747/0.939, allocations: 227.8 kB / 0.7471 GB, free: 12.27 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.939, allocations: 0 / 0.7471 GB, free: 12.27 MB / 0.573 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002026/0.941, allocations: 0.6327 MB / 0.7477 GB, free: 11.63 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.9411, allocations: 9.562 kB / 0.7477 GB, free: 11.62 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/0.9411, allocations: 8.438 kB / 0.7477 GB, free: 11.62 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.035e-05/0.9412, allocations: 15.94 kB / 0.7478 GB, free: 11.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000836/0.942, allocations: 127.8 kB / 0.7479 GB, free: 11.48 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.471e-05/0.942, allocations: 11.98 kB / 0.7479 GB, free: 11.46 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/0.9433, allocations: 123 kB / 0.748 GB, free: 11.34 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.177e-05/0.9434, allocations: 27.98 kB / 0.748 GB, free: 11.32 MB / 0.573 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 (65): * Single equations (assignments): 65 * 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.0005933/0.944, allocations: 273.6 kB / 0.7483 GB, free: 11.04 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000241/0.9443, allocations: 94.88 kB / 0.7484 GB, free: 10.95 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001599/0.9459, allocations: 477.1 kB / 0.7488 GB, free: 10.47 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/0.9459, allocations: 4 kB / 0.7489 GB, free: 10.47 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.84e-06/0.946, allocations: 0 / 0.7489 GB, free: 10.47 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001195/0.9472, allocations: 456.1 kB / 0.7493 GB, free: 9.992 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003302/0.9505, allocations: 1.299 MB / 0.7506 GB, free: 8.633 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/0.9505, allocations: 0 / 0.7506 GB, free: 8.633 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000623/0.9512, allocations: 79.81 kB / 0.7506 GB, free: 8.555 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.017e-05/0.9512, allocations: 4.062 kB / 0.7506 GB, free: 8.551 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.799e-05/0.9512, allocations: 12 kB / 0.7506 GB, free: 8.539 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.834e-06/0.9513, allocations: 3.953 kB / 0.7506 GB, free: 8.535 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.9513, allocations: 0 / 0.7506 GB, free: 8.535 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002193/0.9535, allocations: 0.7614 MB / 0.7514 GB, free: 7.742 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005922/0.9541, allocations: 243.7 kB / 0.7516 GB, free: 7.484 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001942/0.9543, allocations: 8 kB / 0.7516 GB, free: 7.477 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.9553, allocations: 61.66 kB / 0.7517 GB, free: 7.418 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.773e-05/0.9554, allocations: 19.97 kB / 0.7517 GB, free: 7.398 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.971e-05/0.9555, allocations: 15.98 kB / 0.7517 GB, free: 7.383 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001484/0.957, allocations: 0.6745 MB / 0.7524 GB, free: 6.699 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.313e-06/0.957, allocations: 0 / 0.7524 GB, free: 6.699 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001522/0.9586, allocations: 339.4 kB / 0.7527 GB, free: 6.367 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (31): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.003501/0.9621, allocations: 1.72 MB / 0.7544 GB, free: 4.613 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001543/0.9637, allocations: 416.8 kB / 0.7548 GB, free: 4.207 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.9637, allocations: 4.062 kB / 0.7548 GB, free: 4.203 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006971/0.9644, allocations: 179.8 kB / 0.755 GB, free: 4.027 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005208/0.9696, allocations: 0.5902 MB / 0.7555 GB, free: 3.438 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007271/0.977, allocations: 5.922 MB / 0.7613 GB, free: 13.35 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008476/0.9779, allocations: 1.063 MB / 0.7624 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001319/0.9792, allocations: 188.5 kB / 0.7625 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007676/0.98, allocations: 371.3 kB / 0.7629 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of SimCode: time 1.804e-06/0.98, allocations: 0 / 0.7629 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09639/1.076, allocations: 28.82 MB / 0.791 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003652/1.077, allocations: 242.1 kB / 0.7913 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.795/4.872, allocations: 0 / 0.7913 GB, free: 15.05 MB / 0.6198 GB