Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.691/1.691, allocations: 285.6 MB / 293.1 MB, free: 10.18 MB / 234.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.4 kB / 361.4 MB, free: 6.816 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.795/1.795, allocations: 205.2 MB / 0.62 GB, free: 11.65 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000987/0.0009872, allocations: 87.81 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.74e-05/1.743e-05, allocations: 4 kB / 0.8518 GB, free: 2.727 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8035/0.8036, allocations: 115.3 MB / 0.9644 GB, free: 78.83 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.182/1.986, allocations: 448.6 MB / 1.402 GB, free: 119.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/1.986, allocations: 103.1 kB / 1.403 GB, free: 119.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.029/8.015, allocations: 1.482 GB / 2.884 GB, free: 98.23 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.504e-06/8.015, allocations: 1.062 kB / 2.884 GB, free: 98.23 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0008473/8.016, allocations: 86.05 kB / 2.885 GB, free: 98.22 MB / 0.9792 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.01337/8.03, allocations: 3.27 MB / 2.888 GB, free: 96.61 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/8.03, allocations: 10.88 kB / 2.888 GB, free: 96.61 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005103/8.035, allocations: 0.7878 MB / 2.888 GB, free: 96.42 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009086/8.044, allocations: 3.385 MB / 2.892 GB, free: 95.8 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001256/8.045, allocations: 351.5 kB / 2.892 GB, free: 95.8 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007251/8.046, allocations: 126.6 kB / 2.892 GB, free: 95.8 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003608/8.05, allocations: 1.83 MB / 2.894 GB, free: 95.79 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003614/8.053, allocations: 2.046 MB / 2.896 GB, free: 95.5 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.921e-05/8.053, allocations: 1.656 kB / 2.896 GB, free: 95.5 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001852/8.053, allocations: 3.75 kB / 2.896 GB, free: 95.5 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.909e-05/8.053, allocations: 52.44 kB / 2.896 GB, free: 95.5 MB / 0.9792 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.019/8.072, allocations: 12.26 MB / 2.908 GB, free: 89.59 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001862/8.074, allocations: 1.322 MB / 2.909 GB, free: 89.36 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009905/8.075, allocations: 0.7153 MB / 2.91 GB, free: 89.34 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001294/8.077, allocations: 1.644 MB / 2.912 GB, free: 87.56 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001225/8.078, allocations: 0.859 MB / 2.913 GB, free: 87.43 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001974/8.08, allocations: 147.6 kB / 2.913 GB, free: 87.38 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=130): time 4.519e-06/8.08, allocations: 1.781 kB / 2.913 GB, free: 87.38 MB / 0.9792 GB Notification: Performance of matching and sorting (n=130): time 0.004625/8.085, allocations: 1.743 MB / 2.914 GB, free: 87.13 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/8.085, allocations: 306.9 kB / 2.915 GB, free: 86.79 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003383/8.088, allocations: 1.91 MB / 2.917 GB, free: 86.56 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002738/8.088, allocations: 30.3 kB / 2.917 GB, free: 86.53 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001278/8.09, allocations: 1.343 MB / 2.918 GB, free: 86.1 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003886/8.09, allocations: 436.8 kB / 2.918 GB, free: 85.82 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.106e-05/8.09, allocations: 3.938 kB / 2.918 GB, free: 85.81 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001187/8.09, allocations: 365.2 kB / 2.919 GB, free: 85.51 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009601/8.091, allocations: 0.6049 MB / 2.919 GB, free: 85.5 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/8.092, allocations: 1.036 MB / 2.92 GB, free: 85.04 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002238/8.095, allocations: 0.8617 MB / 2.921 GB, free: 85.01 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/8.095, allocations: 5.875 kB / 2.921 GB, free: 85.01 MB / 0.9792 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004842/8.1, allocations: 2.131 MB / 2.923 GB, free: 84.75 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006909/8.1, allocations: 3.087 MB / 2.926 GB, free: 81.54 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.72e-05/8.1, allocations: 10.88 kB / 2.926 GB, free: 81.54 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000268/8.101, allocations: 98.14 kB / 2.926 GB, free: 81.52 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00175/8.102, allocations: 437 kB / 2.927 GB, free: 81.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007681/8.103, allocations: 1.229 MB / 2.928 GB, free: 80.45 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003319/8.106, allocations: 280 kB / 2.928 GB, free: 80.44 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002063/8.107, allocations: 87.66 kB / 2.928 GB, free: 80.44 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/8.107, allocations: 6.625 kB / 2.928 GB, free: 80.44 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003968/8.111, allocations: 1.801 MB / 2.93 GB, free: 80.35 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.101e-05/8.111, allocations: 10.19 kB / 2.93 GB, free: 80.35 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003584/8.111, allocations: 100.5 kB / 2.93 GB, free: 80.34 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001676/8.113, allocations: 433.6 kB / 2.931 GB, free: 80.32 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002624/8.115, allocations: 3.174 MB / 2.934 GB, free: 77.63 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003104/8.118, allocations: 265.9 kB / 2.934 GB, free: 77.61 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002049/8.119, allocations: 84.92 kB / 2.934 GB, free: 77.61 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (180): * Single equations (assignments): 175 * 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.0006116/8.119, allocations: 179.2 kB / 2.934 GB, free: 77.45 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005897/8.12, allocations: 273.8 kB / 2.934 GB, free: 77.31 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005022/8.125, allocations: 2.194 MB / 2.937 GB, free: 77.11 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.468e-05/8.125, allocations: 22.22 kB / 2.937 GB, free: 77.11 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/8.125, allocations: 3.625 kB / 2.937 GB, free: 77.11 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00303/8.128, allocations: 1.777 MB / 2.938 GB, free: 76.77 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009686/8.138, allocations: 5.085 MB / 2.943 GB, free: 75.81 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/8.138, allocations: 6.438 kB / 2.943 GB, free: 75.81 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00145/8.139, allocations: 337.4 kB / 2.944 GB, free: 75.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001877/8.139, allocations: 82.8 kB / 2.944 GB, free: 75.78 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/8.14, allocations: 36.72 kB / 2.944 GB, free: 75.78 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006414/8.14, allocations: 1.187 MB / 2.945 GB, free: 74.74 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/8.14, allocations: 3.75 kB / 2.945 GB, free: 74.74 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005963/8.146, allocations: 3.35 MB / 2.948 GB, free: 73.14 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002513/8.149, allocations: 0.6455 MB / 2.949 GB, free: 72.71 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007583/8.15, allocations: 10.98 kB / 2.949 GB, free: 72.71 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002865/8.152, allocations: 244.5 kB / 2.949 GB, free: 72.71 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002602/8.153, allocations: 105.6 kB / 2.949 GB, free: 72.68 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002271/8.153, allocations: 72.33 kB / 2.949 GB, free: 72.67 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.003771/8.157, allocations: 1.432 MB / 2.951 GB, free: 72.04 MB / 0.9792 GB Notification: Performance of sort global known variables: time 3.91e-07/8.157, allocations: 2.688 kB / 2.951 GB, free: 72.04 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01043/8.167, allocations: 1.578 MB / 2.952 GB, free: 71.7 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (147): * Single equations (assignments): 133 * 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.003486/8.171, allocations: 1.592 MB / 2.954 GB, free: 71.06 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.005089/8.176, allocations: 3.003 MB / 2.957 GB, free: 69.6 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.221e-05/8.176, allocations: 8.125 kB / 2.957 GB, free: 69.59 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.00126/8.177, allocations: 0.8927 MB / 2.957 GB, free: 69.21 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006827/8.184, allocations: 1.15 MB / 2.959 GB, free: 68.96 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009431/8.193, allocations: 4.074 MB / 2.963 GB, free: 67.19 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001491/8.195, allocations: 1.858 MB / 2.964 GB, free: 66.38 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.004621/8.2, allocations: 0.7738 MB / 2.965 GB, free: 66.23 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005169/8.2, allocations: 175.9 kB / 2.965 GB, free: 66.21 MB / 0.9792 GB Notification: Performance of SimCode: time 2.414e-06/8.2, allocations: 0 / 2.965 GB, free: 66.21 MB / 0.9792 GB Notification: Performance of Templates: time 0.09935/8.299, allocations: 56.94 MB / 3.021 GB, free: 35.82 MB / 0.9792 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.makefile (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.sim & ./Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe 2>&1)