Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,fileNamePrefix="Buildings_7_0_0_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.826/2.826, allocations: 248.5 MB / 261.1 MB, free: 5.996 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001511/0.001511, allocations: 184 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.945/1.945, allocations: 205.2 MB / 0.571 GB, free: 11.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00116/0.001159, allocations: 92.67 kB / 0.6754 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.856e-05/3.859e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2048, allocations: 106.2 MB / 0.8907 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.936/2.141, allocations: 441.2 MB / 1.322 GB, free: 252 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003545/2.142, allocations: 104.5 kB / 1.322 GB, free: 252 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.57/9.712, allocations: 1.447 GB / 2.769 GB, free: 85 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.705e-06/9.712, allocations: 0 / 2.769 GB, free: 85 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0006799/9.713, allocations: 92.48 kB / 2.769 GB, free: 84.99 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.0116/9.724, allocations: 3.264 MB / 2.772 GB, free: 83.43 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/9.725, allocations: 11.36 kB / 2.772 GB, free: 83.43 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001009/9.726, allocations: 272.5 kB / 2.772 GB, free: 83.38 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006564/9.732, allocations: 0.7926 MB / 2.773 GB, free: 83.19 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01281/9.745, allocations: 3.382 MB / 2.776 GB, free: 82.56 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002496/9.748, allocations: 425.8 kB / 2.777 GB, free: 82.55 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001036/9.749, allocations: 213.3 kB / 2.777 GB, free: 82.55 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007578/9.756, allocations: 2.316 MB / 2.779 GB, free: 82.24 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.965e-05/9.756, allocations: 6.062 kB / 2.779 GB, free: 82.24 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003878/9.757, allocations: 82.88 kB / 2.779 GB, free: 82.24 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.197e-05/9.757, allocations: 48.34 kB / 2.779 GB, free: 82.24 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005914/9.763, allocations: 1.919 MB / 2.781 GB, free: 82.21 MB / 0.9167 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.02776/9.791, allocations: 12.69 MB / 2.794 GB, free: 76.05 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003235/9.794, allocations: 1.33 MB / 2.795 GB, free: 75.83 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001847/9.796, allocations: 0.7221 MB / 2.796 GB, free: 75.81 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001836/9.798, allocations: 1.648 MB / 2.797 GB, free: 74.03 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002197/9.8, allocations: 0.7978 MB / 2.798 GB, free: 73.93 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002297/9.802, allocations: 204.7 kB / 2.798 GB, free: 73.86 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=127): time 7.675e-06/9.802, allocations: 0 / 2.798 GB, free: 73.86 MB / 0.9167 GB Notification: Performance of matching and sorting (n=127): time 0.005497/9.808, allocations: 1.665 MB / 2.8 GB, free: 73.57 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.594e-05/9.808, allocations: 223.2 kB / 2.8 GB, free: 73.32 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005993/9.814, allocations: 2.316 MB / 2.802 GB, free: 73.08 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0005577/9.815, allocations: 58.45 kB / 2.802 GB, free: 73.05 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001682/9.816, allocations: 1.344 MB / 2.804 GB, free: 72.68 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006711/9.817, allocations: 435.4 kB / 2.804 GB, free: 72.4 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001739/9.817, allocations: 31.53 kB / 2.804 GB, free: 72.4 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001229/9.817, allocations: 368.6 kB / 2.805 GB, free: 72.09 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001661/9.819, allocations: 0.6082 MB / 2.805 GB, free: 72.09 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001942/9.821, allocations: 1.066 MB / 2.806 GB, free: 71.6 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00178/9.823, allocations: 0.7441 MB / 2.807 GB, free: 71.54 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/9.823, allocations: 5.375 kB / 2.807 GB, free: 71.54 MB / 0.9167 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.005704/9.828, allocations: 2.098 MB / 2.809 GB, free: 71.21 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007683/9.829, allocations: 3.522 MB / 2.812 GB, free: 67.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.649e-05/9.829, allocations: 11.03 kB / 2.812 GB, free: 67.48 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004904/9.83, allocations: 113.8 kB / 2.813 GB, free: 67.45 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003591/9.833, allocations: 430.2 kB / 2.813 GB, free: 67.43 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009202/9.834, allocations: 1.195 MB / 2.814 GB, free: 66.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00507/9.839, allocations: 333.2 kB / 2.814 GB, free: 66.37 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004381/9.84, allocations: 85.16 kB / 2.815 GB, free: 66.37 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/9.84, allocations: 7.016 kB / 2.815 GB, free: 66.37 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005309/9.845, allocations: 1.814 MB / 2.816 GB, free: 66.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.87e-05/9.845, allocations: 10.69 kB / 2.816 GB, free: 66.23 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000484/9.846, allocations: 108.1 kB / 2.816 GB, free: 66.21 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003616/9.849, allocations: 431.2 kB / 2.817 GB, free: 66.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003869/9.853, allocations: 3.277 MB / 2.82 GB, free: 63.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005155/9.859, allocations: 314 kB / 2.82 GB, free: 63.36 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005848/9.859, allocations: 86.97 kB / 2.82 GB, free: 63.36 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,$PRE.TCon_in.nextEvent,TCon_in.nextEvent,TCon_in.nextEventScaled,hex1.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 174 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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 prepare postOptimizeDAE: time 0.0006669/9.86, allocations: 226.6 kB / 2.821 GB, free: 63.2 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001003/9.861, allocations: 303.9 kB / 2.821 GB, free: 63.04 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006798/9.868, allocations: 2.229 MB / 2.823 GB, free: 62.82 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.599e-05/9.868, allocations: 22.59 kB / 2.823 GB, free: 62.82 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/9.868, allocations: 3.938 kB / 2.823 GB, free: 62.82 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004488/9.872, allocations: 1.772 MB / 2.825 GB, free: 62.46 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0147/9.887, allocations: 5.042 MB / 2.83 GB, free: 61.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.786e-05/9.887, allocations: 9.062 kB / 2.83 GB, free: 61.66 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003068/9.89, allocations: 328 kB / 2.83 GB, free: 61.64 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004711/9.891, allocations: 107.1 kB / 2.83 GB, free: 61.62 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004047/9.891, allocations: 42.52 kB / 2.83 GB, free: 61.62 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008657/9.892, allocations: 1.179 MB / 2.831 GB, free: 60.58 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/9.892, allocations: 7.516 kB / 2.831 GB, free: 60.58 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008878/9.901, allocations: 3.326 MB / 2.835 GB, free: 59.73 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002789/9.904, allocations: 0.6762 MB / 2.835 GB, free: 59.46 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001273/9.905, allocations: 35.95 kB / 2.835 GB, free: 59.46 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005276/9.91, allocations: 267.3 kB / 2.836 GB, free: 59.43 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005442/9.911, allocations: 103.9 kB / 2.836 GB, free: 59.43 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003583/9.911, allocations: 78.52 kB / 2.836 GB, free: 59.43 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.005483/9.917, allocations: 1.791 MB / 2.837 GB, free: 59.27 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.042e-06/9.917, allocations: 0 / 2.837 GB, free: 59.27 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0115/9.929, allocations: 1.588 MB / 2.839 GB, free: 59.05 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 6 (hex1.thrWayVal.vol.dynBal.U,hex1.thrWayVal.filter.x[1],hex1.thrWayVal.filter.x[2],hex1.con.I.y,TSen1.T,TSen2.T) * Number of discrete variables: 6 ($whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled) * Number of discrete states: 6 (TCon_in.nextEvent,TCon_in.last,TCon_in.nextEventScaled,TCon_in.b,TCon_in.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 11 * 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.01324/9.942, allocations: 5.832 MB / 2.845 GB, free: 55.64 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.008597/9.95, allocations: 3.11 MB / 2.848 GB, free: 54.15 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/9.951, allocations: 2.469 kB / 2.848 GB, free: 54.15 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002667/9.953, allocations: 0.9205 MB / 2.849 GB, free: 53.75 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01306/9.966, allocations: 1.461 MB / 2.85 GB, free: 53.43 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01791/9.984, allocations: 4.731 MB / 2.855 GB, free: 51.43 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001718/9.986, allocations: 1.861 MB / 2.857 GB, free: 50.62 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.007819/9.994, allocations: 0.8384 MB / 2.857 GB, free: 50.46 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00295/9.997, allocations: 1.222 MB / 2.859 GB, free: 49.49 MB / 0.9167 GB Notification: Performance of SimCode: time 1.533e-06/9.997, allocations: 3.594 kB / 2.859 GB, free: 49.49 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2412/10.24, allocations: 102.1 MB / 2.958 GB, free: 6.438 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004014/10.24, allocations: 266 kB / 2.958 GB, free: 6.098 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.058/18.3, allocations: 0 / 2.958 GB, free: 6.098 MB / 0.948 GB