Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.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.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004313/0.004312, allocations: 231.2 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.001216/0.001216, allocations: 175.3 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.988/3.988, allocations: 389.1 MB / 406.5 MB, free: 11.83 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.914/3.914, allocations: 472.3 MB / 0.9024 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006379/0.0006382, allocations: 12.22 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.193, allocations: 98.72 MB / 1.105 GB, free: 42.06 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.561/7.754, allocations: 2.485 GB / 3.589 GB, free: 86.66 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003595/7.754, allocations: 114.5 kB / 3.589 GB, free: 86.6 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 8.339/16.09, allocations: 1.6 GB / 5.19 GB, free: 88.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.775e-06/16.09, allocations: 0 / 5.19 GB, free: 88.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004262/16.09, allocations: 73.08 kB / 5.19 GB, free: 88.09 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 0.01809/16.11, allocations: 3.424 MB / 5.193 GB, free: 86.41 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/16.11, allocations: 7.25 kB / 5.193 GB, free: 86.41 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007897/16.12, allocations: 0.6751 MB / 5.194 GB, free: 86.25 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009784/16.13, allocations: 2.732 MB / 5.196 GB, free: 84.99 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001318/16.13, allocations: 144.9 kB / 5.197 GB, free: 84.93 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000547/16.13, allocations: 198.4 kB / 5.197 GB, free: 84.86 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006096/16.14, allocations: 2.222 MB / 5.199 GB, free: 83.92 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.952e-05/16.14, allocations: 0 / 5.199 GB, free: 83.92 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003143/16.14, allocations: 78.53 kB / 5.199 GB, free: 83.86 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000103/16.14, allocations: 72.62 kB / 5.199 GB, free: 83.86 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005745/16.14, allocations: 1.921 MB / 5.201 GB, free: 83.13 MB / 0.8855 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.01907/16.16, allocations: 9.085 MB / 5.21 GB, free: 77.11 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002456/16.16, allocations: 0.9485 MB / 5.211 GB, free: 76.71 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001297/16.17, allocations: 0.5704 MB / 5.211 GB, free: 76.48 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005673/16.17, allocations: 2.292 MB / 5.214 GB, free: 74.85 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.153e-05/16.17, allocations: 51.22 kB / 5.214 GB, free: 74.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001887/16.17, allocations: 161.4 kB / 5.214 GB, free: 74.72 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=101): time 4.669e-06/16.17, allocations: 3.875 kB / 5.214 GB, free: 74.72 MB / 0.8855 GB Notification: Performance of matching and sorting (n=103): time 0.02085/16.19, allocations: 4.139 MB / 5.218 GB, free: 72.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/16.19, allocations: 66.38 kB / 5.218 GB, free: 72.83 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00391/16.2, allocations: 2.031 MB / 5.22 GB, free: 72.06 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003429/16.2, allocations: 51.64 kB / 5.22 GB, free: 72.01 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001123/16.2, allocations: 1.202 MB / 5.221 GB, free: 71.07 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004956/16.2, allocations: 359.2 kB / 5.221 GB, free: 70.79 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/16.2, allocations: 31.19 kB / 5.221 GB, free: 70.77 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001134/16.2, allocations: 364.5 kB / 5.222 GB, free: 70.44 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001267/16.2, allocations: 464.1 kB / 5.222 GB, free: 70.27 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001593/16.2, allocations: 1.042 MB / 5.223 GB, free: 69.35 MB / 0.8855 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start (sin_2.p = fan.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01591/16.22, allocations: 2.128 MB / 5.225 GB, free: 68.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.816e-05/16.22, allocations: 7.719 kB / 5.225 GB, free: 68.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.00473/16.22, allocations: 1.764 MB / 5.227 GB, free: 67.77 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002778/16.22, allocations: 0.5049 MB / 5.228 GB, free: 67.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.242e-05/16.22, allocations: 16 kB / 5.228 GB, free: 67.05 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002348/16.23, allocations: 336.8 kB / 5.228 GB, free: 66.79 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002269/16.23, allocations: 294.6 kB / 5.228 GB, free: 66.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/16.23, allocations: 0.9792 MB / 5.229 GB, free: 65.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003947/16.23, allocations: 164.9 kB / 5.229 GB, free: 65.45 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004562/16.24, allocations: 74.8 kB / 5.229 GB, free: 65.39 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/16.24, allocations: 7.938 kB / 5.229 GB, free: 65.38 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004165/16.24, allocations: 1.518 MB / 5.231 GB, free: 64.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-05/16.24, allocations: 16 kB / 5.231 GB, free: 64 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002276/16.24, allocations: 336.8 kB / 5.231 GB, free: 63.73 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002246/16.24, allocations: 293 kB / 5.232 GB, free: 63.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001392/16.25, allocations: 0.9759 MB / 5.232 GB, free: 62.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003619/16.25, allocations: 143.4 kB / 5.233 GB, free: 62.42 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003567/16.25, allocations: 75.73 kB / 5.233 GB, free: 62.36 MB / 0.8855 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * 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 (153): * Single equations (assignments): 151 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 22} Notification: Performance of prepare postOptimizeDAE: time 0.002304/16.25, allocations: 0.659 MB / 5.233 GB, free: 61.72 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009961/16.25, allocations: 233.1 kB / 5.234 GB, free: 61.49 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004533/16.26, allocations: 1.457 MB / 5.235 GB, free: 60.23 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.938e-05/16.26, allocations: 11.95 kB / 5.235 GB, free: 60.22 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/16.26, allocations: 8 kB / 5.235 GB, free: 60.21 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002465/16.26, allocations: 1.029 MB / 5.236 GB, free: 59.27 MB / 0.8855 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 postOpt removeSimpleEquations (simulation): time 0.0102/16.27, allocations: 3.802 MB / 5.24 GB, free: 55.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/16.27, allocations: 16.06 kB / 5.24 GB, free: 55.62 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001515/16.27, allocations: 167.8 kB / 5.24 GB, free: 55.46 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002231/16.27, allocations: 312.5 kB / 5.24 GB, free: 55.15 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002073/16.27, allocations: 27.98 kB / 5.24 GB, free: 55.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00124/16.28, allocations: 0.9308 MB / 5.241 GB, free: 54.17 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/16.28, allocations: 8 kB / 5.241 GB, free: 54.16 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0046/16.28, allocations: 2.084 MB / 5.243 GB, free: 51.99 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001752/16.28, allocations: 433.9 kB / 5.244 GB, free: 51.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007367/16.28, allocations: 23.98 kB / 5.244 GB, free: 51.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002744/16.29, allocations: 115.8 kB / 5.244 GB, free: 51.41 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001919/16.29, allocations: 72.47 kB / 5.244 GB, free: 51.33 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/16.29, allocations: 47.97 kB / 5.244 GB, free: 51.29 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002978/16.29, allocations: 1.381 MB / 5.245 GB, free: 49.89 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.62e-07/16.29, allocations: 0 / 5.245 GB, free: 49.89 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006615/16.3, allocations: 1.396 MB / 5.247 GB, free: 48.5 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 2 (fan.vol.dynBal.U,fan.vol.dynBal.mXi[1]) * 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 (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.006765/16.3, allocations: 3.744 MB / 5.25 GB, free: 44.67 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005935/16.31, allocations: 1.968 MB / 5.252 GB, free: 42.71 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.297e-05/16.31, allocations: 8.188 kB / 5.252 GB, free: 42.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001653/16.31, allocations: 0.5308 MB / 5.253 GB, free: 42.17 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01131/16.32, allocations: 1.325 MB / 5.254 GB, free: 40.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/16.33, allocations: 4.88 MB / 5.259 GB, free: 35.93 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00156/16.33, allocations: 1.737 MB / 5.26 GB, free: 34.16 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004441/16.34, allocations: 0.5554 MB / 5.261 GB, free: 33.63 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007978/16.34, allocations: 171.4 kB / 5.261 GB, free: 33.46 MB / 0.8855 GB Notification: Performance of SimCode: time 1.112e-06/16.34, allocations: 0 / 5.261 GB, free: 33.46 MB / 0.8855 GB Notification: Performance of Templates: time 0.9023/17.24, allocations: 80.44 MB / 5.34 GB, free: 111.9 MB / 0.9011 GB