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.HexElementLatent.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.238/4.238, allocations: 433.2 MB / 440.8 MB, free: 10.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.612e-05/3.64e-05, allocations: 8 kB / 0.5325 GB, free: 1.852 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7077/0.7077, allocations: 98.71 MB / 0.6289 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.567/8.275, allocations: 2.453 GB / 3.082 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003315/8.275, allocations: 95 kB / 3.082 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.389/13.66, allocations: 1.068 GB / 4.15 GB, free: 112.3 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.043e-06/13.66, allocations: 0 / 4.15 GB, free: 112.3 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0003071/13.67, allocations: 51.53 kB / 4.151 GB, free: 112.3 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.007958/13.67, allocations: 2.103 MB / 4.153 GB, free: 110.2 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/13.67, allocations: 11.78 kB / 4.153 GB, free: 110.2 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00337/13.68, allocations: 369.1 kB / 4.153 GB, free: 109.8 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007/13.68, allocations: 1.661 MB / 4.155 GB, free: 108.1 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.74e-05/13.68, allocations: 44 kB / 4.155 GB, free: 108.1 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004007/13.68, allocations: 87.94 kB / 4.155 GB, free: 108 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003544/13.69, allocations: 0.9353 MB / 4.156 GB, free: 107.1 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003939/13.69, allocations: 1.215 MB / 4.157 GB, free: 105.8 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.067e-05/13.69, allocations: 11.73 kB / 4.157 GB, free: 105.8 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001643/13.69, allocations: 3.953 kB / 4.157 GB, free: 105.8 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.655e-05/13.69, allocations: 58.64 kB / 4.157 GB, free: 105.7 MB / 0.8386 GB Warning: The model contains alias variables with conflicting start and/or 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.01281/13.7, allocations: 7.015 MB / 4.164 GB, free: 98.27 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001887/13.71, allocations: 0.8079 MB / 4.165 GB, free: 97.45 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007004/13.71, allocations: 363.7 kB / 4.165 GB, free: 97.09 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009028/13.71, allocations: 0.5569 MB / 4.165 GB, free: 96.43 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/13.71, allocations: 43.3 kB / 4.165 GB, free: 96.38 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=71): time 4.097e-06/13.71, allocations: 0 / 4.165 GB, free: 96.38 MB / 0.8386 GB Notification: Performance of matching and sorting (n=71): time 0.004991/13.71, allocations: 1.119 MB / 4.167 GB, free: 95.25 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/13.71, allocations: 60.19 kB / 4.167 GB, free: 95.18 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001986/13.72, allocations: 0.9509 MB / 4.168 GB, free: 94.22 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002219/13.72, allocations: 29.7 kB / 4.168 GB, free: 94.19 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007234/13.72, allocations: 0.8313 MB / 4.168 GB, free: 93.35 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003351/13.72, allocations: 236.5 kB / 4.169 GB, free: 93.12 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.743e-05/13.72, allocations: 0 / 4.169 GB, free: 93.12 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001002/13.72, allocations: 337.9 kB / 4.169 GB, free: 92.78 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006383/13.72, allocations: 258.6 kB / 4.169 GB, free: 92.53 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007875/13.72, allocations: 0.5543 MB / 4.17 GB, free: 91.86 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/13.72, allocations: 424.2 kB / 4.17 GB, free: 91.45 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/13.72, allocations: 4 kB / 4.17 GB, free: 91.44 MB / 0.8386 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004716/13.72, allocations: 1.235 MB / 4.171 GB, free: 90.19 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004444/13.73, allocations: 1.965 MB / 4.173 GB, free: 88.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/13.73, allocations: 8 kB / 4.173 GB, free: 88.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002558/13.73, allocations: 373.2 kB / 4.174 GB, free: 87.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/13.73, allocations: 147.8 kB / 4.174 GB, free: 87.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00218/13.73, allocations: 2.111 MB / 4.176 GB, free: 85.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002417/13.73, allocations: 151.1 kB / 4.176 GB, free: 85.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/13.73, allocations: 39.98 kB / 4.176 GB, free: 85.21 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/13.73, allocations: 4 kB / 4.176 GB, free: 85.2 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003993/13.74, allocations: 1.02 MB / 4.177 GB, free: 84.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/13.74, allocations: 4 kB / 4.177 GB, free: 84.17 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002474/13.74, allocations: 374.5 kB / 4.177 GB, free: 83.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/13.74, allocations: 147.8 kB / 4.177 GB, free: 83.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004/13.75, allocations: 3.773 MB / 4.181 GB, free: 79.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002332/13.75, allocations: 142.3 kB / 4.181 GB, free: 79.49 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/13.75, allocations: 39.98 kB / 4.181 GB, free: 79.45 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {3 21,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003119/13.75, allocations: 130.1 kB / 4.181 GB, free: 79.32 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004208/13.75, allocations: 1.063 MB / 4.182 GB, free: 78.24 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006522/13.75, allocations: 142.3 kB / 4.183 GB, free: 78.1 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004476/13.76, allocations: 1.148 MB / 4.184 GB, free: 76.93 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-05/13.76, allocations: 8 kB / 4.184 GB, free: 76.93 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/13.76, allocations: 3.984 kB / 4.184 GB, free: 76.92 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003775/13.76, allocations: 1.27 MB / 4.185 GB, free: 75.56 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006495/13.77, allocations: 2.389 MB / 4.187 GB, free: 73.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/13.77, allocations: 4 kB / 4.187 GB, free: 73.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008279/13.77, allocations: 100.1 kB / 4.187 GB, free: 73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00238/13.77, allocations: 354.2 kB / 4.188 GB, free: 72.65 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.276e-05/13.77, allocations: 4 kB / 4.188 GB, free: 72.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002015/13.77, allocations: 2.097 MB / 4.19 GB, free: 70.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/13.77, allocations: 0 / 4.19 GB, free: 70.48 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00296/13.78, allocations: 1.242 MB / 4.191 GB, free: 69.13 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/13.78, allocations: 315.2 kB / 4.191 GB, free: 68.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002427/13.78, allocations: 11.95 kB / 4.191 GB, free: 68.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001806/13.78, allocations: 107.7 kB / 4.191 GB, free: 68.69 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001826/13.78, allocations: 52 kB / 4.192 GB, free: 68.64 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.361e-05/13.78, allocations: 27.61 kB / 4.192 GB, free: 68.62 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001449/13.78, allocations: 0.7185 MB / 4.192 GB, free: 67.9 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.21e-07/13.78, allocations: 0 / 4.192 GB, free: 67.9 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.004475/13.79, allocations: 1.044 MB / 4.193 GB, free: 66.85 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {3 21,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.007052/13.79, allocations: 4.637 MB / 4.198 GB, free: 62.32 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.003616/13.8, allocations: 1.416 MB / 4.199 GB, free: 60.88 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/13.8, allocations: 0.5 kB / 4.199 GB, free: 60.88 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.00108/13.8, allocations: 399.7 kB / 4.2 GB, free: 60.49 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00614/13.8, allocations: 0.7092 MB / 4.2 GB, free: 59.8 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006062/13.81, allocations: 2.233 MB / 4.202 GB, free: 57.5 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/13.81, allocations: 1.382 MB / 4.204 GB, free: 56.09 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.002902/13.81, allocations: 395.5 kB / 4.204 GB, free: 55.72 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009851/13.82, allocations: 0.6086 MB / 4.205 GB, free: 55.11 MB / 0.8386 GB Notification: Performance of SimCode: time 1.162e-06/13.82, allocations: 0 / 4.205 GB, free: 55.11 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1479/13.96, allocations: 57.89 MB / 4.261 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003941/13.96, allocations: 198.3 kB / 4.261 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.641/19.6, allocations: 0 / 4.261 GB, free: 13.64 MB / 0.8542 GB