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.367/2.367, allocations: 248.7 MB / 256.2 MB, free: 7.07 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.001459/0.001459, allocations: 174.5 kB / 315.4 MB, free: 3.98 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.098/2.098, allocations: 205.3 MB / 0.5662 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 92.38 kB / 0.6704 GB, free: 5.785 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.835e-05/2.854e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2378, allocations: 106.3 MB / 0.8841 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.001/2.239, allocations: 441.5 MB / 1.315 GB, free: 257.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003704/2.239, allocations: 108.6 kB / 1.315 GB, free: 257.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.551/9.79, allocations: 1.44 GB / 2.755 GB, free: 85.64 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.324e-06/9.79, allocations: 0 / 2.755 GB, free: 85.64 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.000612/9.791, allocations: 87.42 kB / 2.755 GB, free: 85.62 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.0119/9.803, allocations: 3.259 MB / 2.758 GB, free: 84.12 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/9.803, allocations: 10.03 kB / 2.758 GB, free: 84.12 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00648/9.809, allocations: 0.7933 MB / 2.759 GB, free: 83.93 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01214/9.822, allocations: 3.386 MB / 2.763 GB, free: 83.32 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002381/9.824, allocations: 344.8 kB / 2.763 GB, free: 83.31 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009661/9.825, allocations: 130.3 kB / 2.763 GB, free: 83.31 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005688/9.831, allocations: 1.823 MB / 2.765 GB, free: 83.3 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006139/9.837, allocations: 2.031 MB / 2.767 GB, free: 83 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.351e-05/9.837, allocations: 10.88 kB / 2.767 GB, free: 83 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003361/9.837, allocations: 5.031 kB / 2.767 GB, free: 83 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.429e-05/9.837, allocations: 46.59 kB / 2.767 GB, free: 83 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.02836/9.866, allocations: 12.25 MB / 2.779 GB, free: 77.06 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003056/9.869, allocations: 1.3 MB / 2.78 GB, free: 76.84 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001647/9.871, allocations: 0.6917 MB / 2.781 GB, free: 76.82 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001877/9.873, allocations: 1.643 MB / 2.782 GB, free: 75.04 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002058/9.875, allocations: 0.7625 MB / 2.783 GB, free: 74.95 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002143/9.877, allocations: 140.1 kB / 2.783 GB, free: 74.89 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=127): time 7.525e-06/9.877, allocations: 1.562 kB / 2.783 GB, free: 74.89 MB / 0.9167 GB Notification: Performance of matching and sorting (n=127): time 0.006785/9.884, allocations: 1.717 MB / 2.785 GB, free: 74.67 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.364e-05/9.884, allocations: 225.8 kB / 2.785 GB, free: 74.42 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004632/9.888, allocations: 1.892 MB / 2.787 GB, free: 74.2 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0006197/9.889, allocations: 29.8 kB / 2.787 GB, free: 74.16 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001691/9.891, allocations: 1.353 MB / 2.788 GB, free: 73.73 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007495/9.892, allocations: 425.6 kB / 2.789 GB, free: 73.45 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/9.892, allocations: 3.547 kB / 2.789 GB, free: 73.45 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001255/9.892, allocations: 363.5 kB / 2.789 GB, free: 73.14 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001459/9.893, allocations: 0.581 MB / 2.79 GB, free: 73.14 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001776/9.895, allocations: 1.032 MB / 2.791 GB, free: 72.65 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003582/9.899, allocations: 0.8469 MB / 2.791 GB, free: 72.64 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-05/9.899, allocations: 6.422 kB / 2.791 GB, free: 72.64 MB / 0.9167 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.008054/9.907, allocations: 2.118 MB / 2.794 GB, free: 72.42 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008619/9.908, allocations: 3.457 MB / 2.797 GB, free: 68.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.535e-05/9.908, allocations: 10.58 kB / 2.797 GB, free: 68.82 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004588/9.908, allocations: 103.8 kB / 2.797 GB, free: 68.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003733/9.912, allocations: 433.2 kB / 2.797 GB, free: 68.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001045/9.913, allocations: 1.224 MB / 2.799 GB, free: 67.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005098/9.918, allocations: 273.1 kB / 2.799 GB, free: 67.75 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006781/9.919, allocations: 80.11 kB / 2.799 GB, free: 67.75 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/9.919, allocations: 3.594 kB / 2.799 GB, free: 67.75 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007328/9.926, allocations: 1.789 MB / 2.801 GB, free: 67.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.045e-05/9.927, allocations: 12.66 kB / 2.801 GB, free: 67.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004821/9.927, allocations: 101.2 kB / 2.801 GB, free: 67.69 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003716/9.931, allocations: 429.2 kB / 2.801 GB, free: 67.68 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004016/9.935, allocations: 3.161 MB / 2.804 GB, free: 65 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005035/9.94, allocations: 261.3 kB / 2.805 GB, free: 64.98 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006635/9.941, allocations: 84.33 kB / 2.805 GB, free: 64.98 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.0006921/9.941, allocations: 176.8 kB / 2.805 GB, free: 64.82 MB / 0.9167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006226/9.948, allocations: 1.679 MB / 2.806 GB, free: 64.6 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001289/9.949, allocations: 280.8 kB / 2.807 GB, free: 64.45 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008067/9.957, allocations: 2.183 MB / 2.809 GB, free: 64.27 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.911e-05/9.957, allocations: 18.38 kB / 2.809 GB, free: 64.27 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/9.957, allocations: 0 / 2.809 GB, free: 64.27 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005935/9.963, allocations: 1.763 MB / 2.811 GB, free: 63.95 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01497/9.978, allocations: 4.727 MB / 2.815 GB, free: 63.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.405e-05/9.978, allocations: 3.875 kB / 2.815 GB, free: 63.25 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002852/9.981, allocations: 329.3 kB / 2.816 GB, free: 63.23 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002994/9.981, allocations: 83.17 kB / 2.816 GB, free: 63.22 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000241/9.982, allocations: 37.66 kB / 2.816 GB, free: 63.22 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008326/9.983, allocations: 1.181 MB / 2.817 GB, free: 62.18 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/9.983, allocations: 6.172 kB / 2.817 GB, free: 62.18 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008849/9.991, allocations: 3.201 MB / 2.82 GB, free: 61.42 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002521/9.994, allocations: 0.6324 MB / 2.821 GB, free: 61.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007737/9.995, allocations: 9.562 kB / 2.821 GB, free: 61.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004369/9.999, allocations: 255.7 kB / 2.821 GB, free: 61.16 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003055/10, allocations: 99.75 kB / 2.821 GB, free: 61.15 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002781/10, allocations: 71.34 kB / 2.821 GB, free: 61.15 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.003226/10, allocations: 1.418 MB / 2.822 GB, free: 61 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9.91e-07/10, allocations: 2.094 kB / 2.822 GB, free: 61 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.009335/10.01, allocations: 1.56 MB / 2.824 GB, free: 60.77 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.01302/10.03, allocations: 5.77 MB / 2.83 GB, free: 58.56 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.007212/10.03, allocations: 2.971 MB / 2.832 GB, free: 58.05 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/10.03, allocations: 3.938 kB / 2.832 GB, free: 58.05 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002135/10.04, allocations: 0.8751 MB / 2.833 GB, free: 57.95 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01039/10.05, allocations: 1.145 MB / 2.834 GB, free: 57.9 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01753/10.06, allocations: 4.553 MB / 2.839 GB, free: 56.5 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002152/10.07, allocations: 1.853 MB / 2.841 GB, free: 55.72 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.007678/10.07, allocations: 0.7615 MB / 2.841 GB, free: 55.58 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002921/10.08, allocations: 1.211 MB / 2.843 GB, free: 55.57 MB / 0.9167 GB Notification: Performance of SimCode: time 1.072e-06/10.08, allocations: 3.25 kB / 2.843 GB, free: 55.57 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.222/10.3, allocations: 81.51 MB / 2.922 GB, free: 17.58 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003015/10.3, allocations: 220.1 kB / 2.922 GB, free: 17.28 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.111/17.41, allocations: 0 / 2.922 GB, free: 17.28 MB / 0.9167 GB