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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.115/4.115, allocations: 432.6 MB / 445.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.495e-05/4.51e-05, allocations: 5.047 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2107, allocations: 98.73 MB / 0.6347 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.769/7.98, allocations: 2.454 GB / 3.088 GB, free: 149.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00037/7.98, allocations: 98.75 kB / 3.089 GB, free: 149 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.398/13.38, allocations: 1.078 GB / 4.167 GB, free: 16.74 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.974e-06/13.38, allocations: 0 / 4.167 GB, free: 16.74 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0002535/13.38, allocations: 51.98 kB / 4.167 GB, free: 16.69 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.006832/13.39, allocations: 2.11 MB / 4.169 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/13.39, allocations: 11.97 kB / 4.169 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005599/13.39, allocations: 206.8 kB / 4.169 GB, free: 14.31 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002659/13.39, allocations: 365.2 kB / 4.17 GB, free: 13.95 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005894/13.4, allocations: 1.655 MB / 4.171 GB, free: 12.25 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/13.4, allocations: 102.7 kB / 4.171 GB, free: 12.14 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004474/13.4, allocations: 148 kB / 4.171 GB, free: 12 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003887/13.4, allocations: 1.414 MB / 4.173 GB, free: 10.52 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.446e-05/13.4, allocations: 3.938 kB / 4.173 GB, free: 10.52 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001981/13.4, allocations: 56 kB / 4.173 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.039e-05/13.4, allocations: 62.58 kB / 4.173 GB, free: 10.4 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003033/13.4, allocations: 1.037 MB / 4.174 GB, free: 9.355 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.01296/13.42, allocations: 7.141 MB / 4.181 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002037/13.42, allocations: 0.8273 MB / 4.182 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008234/13.42, allocations: 383.7 kB / 4.182 GB, free: 444 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001176/13.42, allocations: 0.7163 MB / 4.183 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.686e-05/13.42, allocations: 51.34 kB / 4.183 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=73): time 4.127e-06/13.42, allocations: 4 kB / 4.183 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of matching and sorting (n=73): time 0.004973/13.43, allocations: 1.094 MB / 4.184 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/13.43, allocations: 60.19 kB / 4.184 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003088/13.43, allocations: 1.133 MB / 4.185 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002812/13.43, allocations: 45.7 kB / 4.185 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001097/13.43, allocations: 0.8137 MB / 4.186 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004959/13.43, allocations: 260.2 kB / 4.186 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.706e-05/13.43, allocations: 16 kB / 4.186 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001788/13.43, allocations: 334 kB / 4.186 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008615/13.43, allocations: 281.9 kB / 4.187 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/13.43, allocations: 0.5479 MB / 4.187 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001/13.43, allocations: 371.3 kB / 4.188 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/13.43, allocations: 0 / 4.188 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003922/13.44, allocations: 1.153 MB / 4.189 GB, free: 9.23 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007944/13.44, allocations: 1.811 MB / 4.19 GB, free: 7.254 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/13.44, allocations: 4 kB / 4.19 GB, free: 7.25 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003024/13.44, allocations: 396.1 kB / 4.191 GB, free: 6.855 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/13.44, allocations: 151.7 kB / 4.191 GB, free: 6.707 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00266/13.45, allocations: 2.073 MB / 4.193 GB, free: 4.559 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002604/13.45, allocations: 187 kB / 4.193 GB, free: 4.375 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002322/13.45, allocations: 36 kB / 4.193 GB, free: 4.34 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/13.45, allocations: 4 kB / 4.193 GB, free: 4.336 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003302/13.45, allocations: 0.9809 MB / 4.194 GB, free: 3.344 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/13.45, allocations: 7.938 kB / 4.194 GB, free: 3.336 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00284/13.45, allocations: 386.7 kB / 4.195 GB, free: 2.949 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/13.46, allocations: 147.8 kB / 4.195 GB, free: 2.805 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6962/14.15, allocations: 3.86 MB / 4.198 GB, free: 106.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002451/14.16, allocations: 174.6 kB / 4.199 GB, free: 106.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/14.16, allocations: 40.95 kB / 4.199 GB, free: 106.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 {2 22,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003467/14.16, allocations: 157.4 kB / 4.199 GB, free: 106 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004853/14.16, allocations: 155.1 kB / 4.199 GB, free: 106 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004828/14.16, allocations: 1.212 MB / 4.2 GB, free: 105.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-05/14.16, allocations: 7.359 kB / 4.2 GB, free: 105.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/14.16, allocations: 0.5 kB / 4.2 GB, free: 105.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003915/14.16, allocations: 1.263 MB / 4.201 GB, free: 105.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007881/14.17, allocations: 2.587 MB / 4.204 GB, free: 105 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/14.17, allocations: 2.844 kB / 4.204 GB, free: 105 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009101/14.17, allocations: 104.9 kB / 4.204 GB, free: 105 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002794/14.18, allocations: 382.8 kB / 4.204 GB, free: 105 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001448/14.18, allocations: 15.88 kB / 4.204 GB, free: 105 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002188/14.18, allocations: 2.066 MB / 4.206 GB, free: 103.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.735e-06/14.18, allocations: 5.062 kB / 4.206 GB, free: 103.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003239/14.18, allocations: 1.265 MB / 4.208 GB, free: 103 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001364/14.18, allocations: 339 kB / 4.208 GB, free: 102.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003707/14.18, allocations: 15.38 kB / 4.208 GB, free: 102.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00217/14.19, allocations: 127.2 kB / 4.208 GB, free: 102.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001911/14.19, allocations: 44.27 kB / 4.208 GB, free: 102.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/14.19, allocations: 28.91 kB / 4.208 GB, free: 102.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002249/14.19, allocations: 0.9086 MB / 4.209 GB, free: 102.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.072e-06/14.19, allocations: 0 / 4.209 GB, free: 102.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.006361/14.2, allocations: 1.117 MB / 4.21 GB, free: 102.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 40 * 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 {2 22,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.009278/14.2, allocations: 4.51 MB / 4.215 GB, free: 100.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005284/14.21, allocations: 1.541 MB / 4.216 GB, free: 100.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/14.21, allocations: 1.25 kB / 4.216 GB, free: 100.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001967/14.21, allocations: 433 kB / 4.217 GB, free: 100.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007791/14.22, allocations: 0.7943 MB / 4.217 GB, free: 100.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009468/14.23, allocations: 2.329 MB / 4.22 GB, free: 99.51 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001639/14.23, allocations: 1.386 MB / 4.221 GB, free: 98.79 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003941/14.24, allocations: 424.9 kB / 4.221 GB, free: 98.78 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001347/14.24, allocations: 0.6189 MB / 4.222 GB, free: 98.77 MB / 0.8542 GB Notification: Performance of SimCode: time 1.463e-06/14.24, allocations: 2.969 kB / 4.222 GB, free: 98.77 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2446/14.48, allocations: 83 MB / 4.303 GB, free: 96.54 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001745/14.48, allocations: 249.8 kB / 4.303 GB, free: 96.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.535/21.02, allocations: 3.938 kB / 4.303 GB, free: 96.2 MB / 0.8542 GB