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.008935/0.00894, allocations: 107.3 kB / 15.06 MB, free: 5.559 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.001107/0.001107, allocations: 180.9 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.068/2.068, allocations: 194.6 MB / 211.3 MB, free: 11.09 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.476/2.476, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004703/0.0004705, allocations: 12 kB / 0.5869 GB, free: 2.191 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5921/0.5926, allocations: 98.71 MB / 0.6833 GB, free: 16.7 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04389/0.6365, allocations: 34.45 MB / 0.717 GB, free: 7.602 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01801/0.6546, allocations: 8.829 MB / 0.7256 GB, free: 0.5039 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002146/0.6567, allocations: 43.91 kB / 0.7256 GB, free: 496 kB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.002625/0.6594, allocations: 0.6145 MB / 0.7262 GB, free: 15.95 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 0.007483/0.6669, allocations: 1.781 MB / 0.728 GB, free: 14.45 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.005187/0.6721, allocations: 1.197 MB / 0.7291 GB, free: 13.61 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.004737/0.6769, allocations: 1.985 MB / 0.7311 GB, free: 12.31 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001678/0.6786, allocations: 0.7528 MB / 0.7318 GB, free: 11.86 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002826/0.6815, allocations: 0.8882 MB / 0.7327 GB, free: 11.31 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001469/0.683, allocations: 0.5464 MB / 0.7332 GB, free: 10.99 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.0002113/0.6833, allocations: 37.22 kB / 0.7333 GB, free: 10.99 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002476/0.6857, allocations: 0.5377 MB / 0.7338 GB, free: 10.55 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.0003496/0.6861, allocations: 187.2 kB / 0.734 GB, free: 10.37 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.0005635/0.6867, allocations: 265.1 kB / 0.7342 GB, free: 10.1 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.002692/0.6894, allocations: 1.33 MB / 0.7355 GB, free: 8.77 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.6894, allocations: 0 / 0.7355 GB, free: 8.77 MB / 0.5574 GB Notification: Performance of FrontEnd: time 2.77e-06/0.6895, allocations: 0 / 0.7355 GB, free: 8.77 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 1.615e-05/0.6895, allocations: 0 / 0.7355 GB, free: 8.77 MB / 0.5574 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.002824/0.6923, allocations: 1.304 MB / 0.7368 GB, free: 7.406 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.6924, allocations: 12.03 kB / 0.7368 GB, free: 7.395 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004867/0.6929, allocations: 134.5 kB / 0.7369 GB, free: 7.262 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00239/0.6953, allocations: 0.9631 MB / 0.7379 GB, free: 6.258 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.926e-05/0.6954, allocations: 61.88 kB / 0.7379 GB, free: 6.195 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.6956, allocations: 72 kB / 0.738 GB, free: 6.125 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/0.6975, allocations: 0.771 MB / 0.7387 GB, free: 5.32 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.017e-05/0.6976, allocations: 4 kB / 0.7388 GB, free: 5.316 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.406e-05/0.6977, allocations: 24 kB / 0.7388 GB, free: 5.293 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.317e-05/0.6977, allocations: 24 kB / 0.7388 GB, free: 5.27 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001719/0.6995, allocations: 0.5867 MB / 0.7394 GB, free: 4.68 MB / 0.5574 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.006401/0.7059, allocations: 3.544 MB / 0.7428 GB, free: 0.9062 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008976/0.7068, allocations: 239.2 kB / 0.7431 GB, free: 0.6641 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007393/0.7076, allocations: 0.6689 MB / 0.7437 GB, free: 15.85 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/0.7077, allocations: 38.8 kB / 0.7437 GB, free: 15.8 MB / 0.573 GB Notification: Performance of pre-optimization done (n=28): time 3.964e-06/0.7077, allocations: 0 / 0.7437 GB, free: 15.8 MB / 0.573 GB Notification: Performance of matching and sorting (n=28): time 0.001603/0.7093, allocations: 0.5063 MB / 0.7442 GB, free: 15.29 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.7094, allocations: 63.39 kB / 0.7443 GB, free: 15.21 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001869/0.7112, allocations: 0.9689 MB / 0.7453 GB, free: 14.23 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 8.277e-05/0.7114, allocations: 37.7 kB / 0.7453 GB, free: 14.18 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005752/0.7119, allocations: 0.4955 MB / 0.7458 GB, free: 13.68 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/0.7121, allocations: 106.6 kB / 0.7459 GB, free: 13.57 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.7121, allocations: 8 kB / 0.7459 GB, free: 13.57 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.7123, allocations: 330 kB / 0.7462 GB, free: 13.24 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005312/0.7129, allocations: 169 kB / 0.7464 GB, free: 13.07 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006841/0.7136, allocations: 354.9 kB / 0.7467 GB, free: 12.65 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006006/0.7142, allocations: 231.8 kB / 0.7469 GB, free: 12.42 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.546e-06/0.7142, allocations: 0 / 0.7469 GB, free: 12.42 MB / 0.573 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001699/0.7159, allocations: 0.6327 MB / 0.7475 GB, free: 11.78 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.716, allocations: 4 kB / 0.7475 GB, free: 11.78 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.716, allocations: 8 kB / 0.7475 GB, free: 11.77 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/0.716, allocations: 8 kB / 0.7476 GB, free: 11.76 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005867/0.7166, allocations: 132.2 kB / 0.7477 GB, free: 11.63 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.794e-05/0.7167, allocations: 12 kB / 0.7477 GB, free: 11.62 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/0.7177, allocations: 119.2 kB / 0.7478 GB, free: 11.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.678e-05/0.7178, allocations: 27.95 kB / 0.7478 GB, free: 11.48 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.0005819/0.7184, allocations: 273.6 kB / 0.7481 GB, free: 11.2 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002168/0.7186, allocations: 102.7 kB / 0.7482 GB, free: 11.1 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001367/0.72, allocations: 477.2 kB / 0.7486 GB, free: 10.62 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/0.7201, allocations: 7.984 kB / 0.7487 GB, free: 10.62 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.493e-06/0.7201, allocations: 0 / 0.7487 GB, free: 10.62 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000974/0.721, allocations: 444.5 kB / 0.7491 GB, free: 10.15 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003107/0.7242, allocations: 1.301 MB / 0.7503 GB, free: 8.789 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.2e-06/0.7242, allocations: 0 / 0.7503 GB, free: 8.789 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004538/0.7247, allocations: 79.95 kB / 0.7504 GB, free: 8.711 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.47e-05/0.7247, allocations: 4 kB / 0.7504 GB, free: 8.707 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.02e-05/0.7248, allocations: 11.94 kB / 0.7504 GB, free: 8.695 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.123e-06/0.7248, allocations: 0 / 0.7504 GB, free: 8.695 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.804e-06/0.7248, allocations: 3.953 kB / 0.7504 GB, free: 8.691 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001919/0.7267, allocations: 0.7498 MB / 0.7512 GB, free: 7.91 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005797/0.7273, allocations: 251.6 kB / 0.7514 GB, free: 7.645 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/0.7275, allocations: 8 kB / 0.7514 GB, free: 7.637 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007624/0.7283, allocations: 55.89 kB / 0.7515 GB, free: 7.582 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.894e-05/0.7284, allocations: 28.03 kB / 0.7515 GB, free: 7.555 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-05/0.7285, allocations: 23.92 kB / 0.7515 GB, free: 7.531 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001329/0.7298, allocations: 0.6745 MB / 0.7522 GB, free: 6.848 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.8e-07/0.7298, allocations: 0 / 0.7522 GB, free: 6.848 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001417/0.7312, allocations: 339.4 kB / 0.7525 GB, free: 6.516 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.0009414/0.7322, allocations: 384 kB / 0.7529 GB, free: 6.141 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001266/0.7335, allocations: 425.9 kB / 0.7533 GB, free: 5.727 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.404e-06/0.7335, allocations: 0 / 0.7533 GB, free: 5.727 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005166/0.734, allocations: 184.4 kB / 0.7535 GB, free: 5.547 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003511/0.7376, allocations: 0.5842 MB / 0.754 GB, free: 4.961 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004279/0.7419, allocations: 1.918 MB / 0.7559 GB, free: 3.004 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009495/0.7429, allocations: 1.056 MB / 0.7569 GB, free: 1.918 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001194/0.7441, allocations: 180.5 kB / 0.7571 GB, free: 1.738 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002492/0.7444, allocations: 79.36 kB / 0.7572 GB, free: 1.66 MB / 0.573 GB Notification: Performance of SimCode: time 1.642e-06/0.7444, allocations: 0 / 0.7572 GB, free: 1.66 MB / 0.573 GB Notification: Performance of Templates: time 0.05067/0.7951, allocations: 19.99 MB / 0.7767 GB, free: 14 MB / 0.6042 GB