Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01568/0.01568, allocations: 107.7 kB / 15.05 MB, free: 5.984 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.001898/0.001898, allocations: 183.5 kB / 15.94 MB, free: 5.941 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.026/2.026, allocations: 194.5 MB / 211.3 MB, free: 11.08 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.214/2.214, allocations: 236.1 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006756/0.0006758, allocations: 12 kB / 0.587 GB, free: 2.086 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7401/0.7408, allocations: 98.72 MB / 0.6834 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.989/7.73, allocations: 2.19 GB / 2.873 GB, free: 202.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003989/7.731, allocations: 98.88 kB / 2.873 GB, free: 202.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.263/12.99, allocations: 1.007 GB / 3.881 GB, free: 130.5 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.757e-06/12.99, allocations: 0 / 3.881 GB, free: 130.5 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0003492/12.99, allocations: 49.2 kB / 3.881 GB, free: 130.5 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.01152/13.01, allocations: 2.381 MB / 3.883 GB, free: 129 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.831e-05/13.01, allocations: 11.53 kB / 3.883 GB, free: 129 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001012/13.01, allocations: 181 kB / 3.883 GB, free: 128.9 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009514/13.02, allocations: 0.6189 MB / 3.884 GB, free: 128.7 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00778/13.02, allocations: 1.462 MB / 3.885 GB, free: 127.6 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009826/13.03, allocations: 161.4 kB / 3.886 GB, free: 127.5 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006941/13.03, allocations: 122.2 kB / 3.886 GB, free: 127.5 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006938/13.03, allocations: 1.457 MB / 3.887 GB, free: 126.6 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.006e-05/13.03, allocations: 3.938 kB / 3.887 GB, free: 126.6 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003087/13.03, allocations: 50.72 kB / 3.887 GB, free: 126.6 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.814e-05/13.03, allocations: 41.59 kB / 3.887 GB, free: 126.5 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007471/13.04, allocations: 1.258 MB / 3.888 GB, free: 125.9 MB / 0.8386 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.01999/13.06, allocations: 5.881 MB / 3.894 GB, free: 121.3 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005368/13.07, allocations: 1.17 MB / 3.895 GB, free: 120.6 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001126/13.07, allocations: 313.7 kB / 3.896 GB, free: 120.3 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003117/13.07, allocations: 0.6232 MB / 3.896 GB, free: 119.9 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=87): time 6.562e-06/13.07, allocations: 3.938 kB / 3.896 GB, free: 119.9 MB / 0.8386 GB Notification: Performance of matching and sorting (n=95): time 0.02889/13.1, allocations: 4.435 MB / 3.9 GB, free: 117.4 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/13.1, allocations: 200.7 kB / 3.901 GB, free: 117.1 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003694/13.1, allocations: 1.165 MB / 3.902 GB, free: 116.5 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0004397/13.1, allocations: 44.8 kB / 3.902 GB, free: 116.5 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001192/13.11, allocations: 0.7296 MB / 3.903 GB, free: 115.8 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006709/13.11, allocations: 323.4 kB / 3.903 GB, free: 115.6 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/13.11, allocations: 15.91 kB / 3.903 GB, free: 115.6 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001333/13.11, allocations: 345.8 kB / 3.903 GB, free: 115.2 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00271/13.11, allocations: 478 kB / 3.904 GB, free: 114.9 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002901/13.11, allocations: 0.7077 MB / 3.904 GB, free: 114.1 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02919/13.14, allocations: 2.519 MB / 3.907 GB, free: 111.6 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/13.14, allocations: 3.5 kB / 3.907 GB, free: 111.6 MB / 0.8386 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.01132/13.15, allocations: 1.777 MB / 3.909 GB, free: 109.8 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004712/13.15, allocations: 1.301 MB / 3.91 GB, free: 108.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/13.15, allocations: 4 kB / 3.91 GB, free: 108.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00299/13.16, allocations: 458.6 kB / 3.91 GB, free: 108 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002101/13.16, allocations: 167.8 kB / 3.91 GB, free: 107.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01934/13.18, allocations: 7.269 MB / 3.918 GB, free: 100.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004143/13.18, allocations: 159.6 kB / 3.918 GB, free: 99.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002984/13.18, allocations: 39.98 kB / 3.918 GB, free: 99.92 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/13.18, allocations: 4 kB / 3.918 GB, free: 99.92 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009502/13.19, allocations: 1.559 MB / 3.919 GB, free: 98.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/13.19, allocations: 4 kB / 3.919 GB, free: 98.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002906/13.2, allocations: 449.5 kB / 3.92 GB, free: 97.89 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001868/13.2, allocations: 155.8 kB / 3.92 GB, free: 97.74 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02113/13.22, allocations: 8.3 MB / 3.928 GB, free: 88.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003985/13.22, allocations: 139.7 kB / 3.928 GB, free: 88.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002286/13.22, allocations: 36 kB / 3.928 GB, free: 88.73 MB / 0.8386 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 11,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001787/13.22, allocations: 0.5091 MB / 3.929 GB, free: 88.21 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006586/13.23, allocations: 166 kB / 3.929 GB, free: 88.05 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009982/13.24, allocations: 1.632 MB / 3.93 GB, free: 86.39 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.589e-05/13.24, allocations: 12 kB / 3.93 GB, free: 86.38 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/13.24, allocations: 2.516 kB / 3.93 GB, free: 86.38 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009158/13.24, allocations: 1.476 MB / 3.932 GB, free: 84.86 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01837/13.26, allocations: 3.494 MB / 3.935 GB, free: 81.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.539e-05/13.26, allocations: 8.703 kB / 3.935 GB, free: 81.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002591/13.27, allocations: 195.7 kB / 3.935 GB, free: 81.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001599/13.27, allocations: 229 kB / 3.936 GB, free: 80.83 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003301/13.27, allocations: 35.98 kB / 3.936 GB, free: 80.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008236/13.28, allocations: 2.696 MB / 3.938 GB, free: 77.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.768e-06/13.28, allocations: 4 kB / 3.938 GB, free: 77.95 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01246/13.29, allocations: 2.65 MB / 3.941 GB, free: 75.12 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001455/13.29, allocations: 363.2 kB / 3.941 GB, free: 74.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003723/13.29, allocations: 35.98 kB / 3.941 GB, free: 74.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002352/13.29, allocations: 143.7 kB / 3.941 GB, free: 74.57 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002176/13.29, allocations: 72.47 kB / 3.941 GB, free: 74.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/13.29, allocations: 39.97 kB / 3.942 GB, free: 74.46 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.00197/13.3, allocations: 0.9101 MB / 3.942 GB, free: 73.55 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.21e-07/13.3, allocations: 4 kB / 3.942 GB, free: 73.55 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.005468/13.3, allocations: 0.992 MB / 3.943 GB, free: 72.55 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.Xi[1],heaDyn.vol.dynBal.medium.T,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01384/13.31, allocations: 6.467 MB / 3.95 GB, free: 66.13 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.009928/13.32, allocations: 3.095 MB / 3.953 GB, free: 62.94 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-05/13.32, allocations: 3.906 kB / 3.953 GB, free: 62.93 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.00241/13.33, allocations: 0.7992 MB / 3.954 GB, free: 62.11 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00777/13.33, allocations: 0.8735 MB / 3.954 GB, free: 61.25 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03489/13.37, allocations: 12.82 MB / 3.967 GB, free: 47.9 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/13.37, allocations: 1.395 MB / 3.968 GB, free: 46.48 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.002714/13.37, allocations: 326.2 kB / 3.969 GB, free: 46.17 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001533/13.38, allocations: 0.636 MB / 3.969 GB, free: 45.53 MB / 0.8386 GB Notification: Performance of SimCode: time 1.453e-06/13.38, allocations: 4 kB / 3.969 GB, free: 45.53 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8704/14.25, allocations: 83.99 MB / 4.051 GB, free: 149 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002782/14.25, allocations: 269.7 kB / 4.051 GB, free: 148.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.117/20.36, allocations: 1.25 kB / 4.051 GB, free: 148.6 MB / 0.8542 GB