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.005969/0.005969, allocations: 231.6 kB / 15.82 MB, free: 6.293 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.001635/0.001635, allocations: 175.9 kB / 16.7 MB, free: 5.453 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 3.461/3.461, allocations: 389.1 MB / 406.5 MB, free: 6.805 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.399/4.399, allocations: 472.3 MB / 0.9024 GB, free: 10.78 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004691/0.0004694, allocations: 12 kB / 1.008 GB, free: 6.734 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2023, allocations: 98.7 MB / 1.105 GB, free: 3.871 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.625/1.827, allocations: 391.4 MB / 1.487 GB, free: 234.4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003589/1.828, allocations: 98.48 kB / 1.487 GB, free: 234.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.844/3.672, allocations: 416.4 MB / 1.894 GB, free: 168.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.265e-06/3.672, allocations: 0 / 1.894 GB, free: 168.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001412/3.672, allocations: 30 kB / 1.894 GB, free: 168.9 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.00481/3.677, allocations: 1.45 MB / 1.895 GB, free: 168.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 7.755e-05/3.677, allocations: 11.81 kB / 1.895 GB, free: 168.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008501/3.678, allocations: 136.2 kB / 1.895 GB, free: 168 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03531/3.713, allocations: 11.31 MB / 1.906 GB, free: 164 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.018e-05/3.713, allocations: 58.75 kB / 1.906 GB, free: 163.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002033/3.713, allocations: 70.47 kB / 1.906 GB, free: 163.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002202/3.716, allocations: 0.7647 MB / 1.907 GB, free: 163.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.175e-05/3.716, allocations: 7.844 kB / 1.907 GB, free: 163.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.796e-05/3.716, allocations: 38.61 kB / 1.907 GB, free: 163.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-05/3.716, allocations: 20.22 kB / 1.907 GB, free: 163.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001954/3.718, allocations: 0.5549 MB / 1.908 GB, free: 163.1 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.006406/3.724, allocations: 3.485 MB / 1.911 GB, free: 160.1 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/3.725, allocations: 272.8 kB / 1.911 GB, free: 160 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005599/3.726, allocations: 169.9 kB / 1.912 GB, free: 159.9 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005564/3.727, allocations: 0.6703 MB / 1.912 GB, free: 159.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/3.727, allocations: 36.12 kB / 1.912 GB, free: 159.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=28): time 3.967e-06/3.727, allocations: 2.344 kB / 1.912 GB, free: 159.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=28): time 0.00207/3.729, allocations: 0.5266 MB / 1.913 GB, free: 158.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/3.729, allocations: 58.28 kB / 1.913 GB, free: 158.8 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0018/3.731, allocations: 0.92 MB / 1.914 GB, free: 158.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001137/3.731, allocations: 35.67 kB / 1.914 GB, free: 158.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004576/3.731, allocations: 0.5089 MB / 1.914 GB, free: 157.8 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/3.731, allocations: 105 kB / 1.914 GB, free: 157.7 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/3.731, allocations: 8 kB / 1.914 GB, free: 157.7 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.097e-05/3.731, allocations: 325 kB / 1.915 GB, free: 157.4 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000572/3.732, allocations: 156.8 kB / 1.915 GB, free: 157.3 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006988/3.733, allocations: 386 kB / 1.915 GB, free: 156.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000667/3.733, allocations: 215.6 kB / 1.915 GB, free: 156.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/3.733, allocations: 0 / 1.915 GB, free: 156.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001801/3.735, allocations: 0.5999 MB / 1.916 GB, free: 156.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/3.735, allocations: 7.188 kB / 1.916 GB, free: 156.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/3.735, allocations: 3.938 kB / 1.916 GB, free: 156.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.692e-05/3.735, allocations: 12 kB / 1.916 GB, free: 156.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007491/3.736, allocations: 117 kB / 1.916 GB, free: 156.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.877e-05/3.736, allocations: 11.62 kB / 1.916 GB, free: 156.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/3.738, allocations: 113.8 kB / 1.916 GB, free: 156.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/3.738, allocations: 27.72 kB / 1.916 GB, free: 156.4 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.0006992/3.739, allocations: 277.7 kB / 1.916 GB, free: 156.2 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003215/3.739, allocations: 100.1 kB / 1.917 GB, free: 156.2 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001566/3.74, allocations: 496.1 kB / 1.917 GB, free: 155.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/3.741, allocations: 10.38 kB / 1.917 GB, free: 155.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/3.741, allocations: 0 / 1.917 GB, free: 155.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001086/3.742, allocations: 437.8 kB / 1.917 GB, free: 155.6 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00329/3.745, allocations: 1.292 MB / 1.919 GB, free: 154.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/3.745, allocations: 0 / 1.919 GB, free: 154.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005976/3.746, allocations: 75.23 kB / 1.919 GB, free: 154.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.657e-06/3.746, allocations: 3.531 kB / 1.919 GB, free: 154.7 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.519e-05/3.746, allocations: 11.05 kB / 1.919 GB, free: 154.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/3.746, allocations: 1.719 kB / 1.919 GB, free: 154.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/3.746, allocations: 3.906 kB / 1.919 GB, free: 154.6 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001994/3.748, allocations: 0.7357 MB / 1.92 GB, free: 154.2 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006306/3.748, allocations: 229.8 kB / 1.92 GB, free: 154 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002221/3.749, allocations: 7.984 kB / 1.92 GB, free: 154 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009662/3.75, allocations: 60.08 kB / 1.92 GB, free: 154 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.408e-05/3.75, allocations: 18.53 kB / 1.92 GB, free: 154 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.414e-05/3.75, allocations: 14.09 kB / 1.92 GB, free: 154 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001338/3.751, allocations: 0.6538 MB / 1.92 GB, free: 153.6 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.61e-07/3.751, allocations: 0 / 1.92 GB, free: 153.6 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00174/3.753, allocations: 348.6 kB / 1.921 GB, free: 153.5 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.001261/3.754, allocations: 0.5638 MB / 1.921 GB, free: 153.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0014/3.756, allocations: 401.2 kB / 1.922 GB, free: 153.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/3.756, allocations: 2.562 kB / 1.922 GB, free: 153.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006039/3.756, allocations: 172.7 kB / 1.922 GB, free: 153 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005459/3.762, allocations: 0.6155 MB / 1.923 GB, free: 152.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004255/3.766, allocations: 1.927 MB / 1.924 GB, free: 151.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005902/3.767, allocations: 1.055 MB / 1.925 GB, free: 150.7 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001313/3.768, allocations: 193.4 kB / 1.926 GB, free: 150.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002909/3.768, allocations: 81.36 kB / 1.926 GB, free: 150.6 MB / 0.823 GB Notification: Performance of SimCode: time 1.522e-06/3.768, allocations: 2.719 kB / 1.926 GB, free: 150.6 MB / 0.823 GB Notification: Performance of Templates: time 0.05646/3.825, allocations: 21.63 MB / 1.947 GB, free: 135.7 MB / 0.823 GB