Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.54/1.54, allocations: 297.8 MB / 313.7 MB, free: 136 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000891/0.000891, allocations: 183.5 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.234/1.234, allocations: 223.2 MB / 0.6626 GB, free: 4.25 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008201/0.0008201, allocations: 95.19 kB / 0.7808 GB, free: 50.45 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004035/0.0004037, allocations: 14.03 kB / 0.9088 GB, free: 2.867 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5772/0.5776, allocations: 120.3 MB / 1.026 GB, free: 55.8 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7688/1.346, allocations: 439.1 MB / 1.455 GB, free: 242.9 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003168/1.347, allocations: 103.9 kB / 1.455 GB, free: 242.9 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.511/5.858, allocations: 1.51 GB / 2.965 GB, free: 87.92 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.352e-06/5.858, allocations: 2.156 kB / 2.965 GB, free: 87.92 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.0005461/5.858, allocations: 82.12 kB / 2.965 GB, free: 87.91 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 493 * Number of variables: 493 Notification: Performance of Generate backend data structure: time 0.01149/5.87, allocations: 3.807 MB / 2.969 GB, free: 86.32 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/5.87, allocations: 10.56 kB / 2.969 GB, free: 86.32 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003959/5.874, allocations: 0.7923 MB / 2.969 GB, free: 86.12 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008695/5.883, allocations: 3.415 MB / 2.973 GB, free: 85.4 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001256/5.884, allocations: 430.1 kB / 2.973 GB, free: 85.39 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007694/5.885, allocations: 203.8 kB / 2.973 GB, free: 85.39 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005987/5.891, allocations: 2.553 MB / 2.976 GB, free: 85.12 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.281e-05/5.891, allocations: 0 / 2.976 GB, free: 85.12 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003156/5.891, allocations: 81.34 kB / 2.976 GB, free: 85.12 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.605e-05/5.891, allocations: 69.09 kB / 2.976 GB, free: 85.12 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005044/5.896, allocations: 2.39 MB / 2.978 GB, free: 85.11 MB / 1.026 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.0161/5.912, allocations: 12.61 MB / 2.991 GB, free: 79.1 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003368/5.916, allocations: 1.732 MB / 2.992 GB, free: 78.87 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001883/5.918, allocations: 0.9355 MB / 2.993 GB, free: 78.86 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001159/5.919, allocations: 1.643 MB / 2.995 GB, free: 77.08 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002118/5.921, allocations: 1.086 MB / 2.996 GB, free: 76.96 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001817/5.923, allocations: 199 kB / 2.996 GB, free: 76.89 MB / 1.026 GB Notification: Performance of pre-optimization done (n=131): time 9.538e-06/5.923, allocations: 0 / 2.996 GB, free: 76.89 MB / 1.026 GB Notification: Performance of matching and sorting (n=131): time 0.007247/5.93, allocations: 3.099 MB / 2.999 GB, free: 76.42 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.534e-05/5.93, allocations: 233.9 kB / 2.999 GB, free: 76.17 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005213/5.935, allocations: 2.643 MB / 3.002 GB, free: 75.92 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0001784/5.936, allocations: 54.98 kB / 3.002 GB, free: 75.89 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.001168/5.937, allocations: 1.318 MB / 3.003 GB, free: 75.53 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003332/5.937, allocations: 455.4 kB / 3.004 GB, free: 75.24 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/5.937, allocations: 29.34 kB / 3.004 GB, free: 75.24 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 8.63e-05/5.937, allocations: 363.3 kB / 3.004 GB, free: 74.93 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00179/5.939, allocations: 0.8311 MB / 3.005 GB, free: 74.93 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002029/5.941, allocations: 1.26 MB / 3.006 GB, free: 74.49 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003602/5.945, allocations: 1.948 MB / 3.008 GB, free: 74.15 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/5.945, allocations: 1.281 kB / 3.008 GB, free: 74.15 MB / 1.026 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.005543/5.95, allocations: 2.565 MB / 3.01 GB, free: 73.89 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001501/5.95, allocations: 344.5 kB / 3.011 GB, free: 73.5 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/5.95, allocations: 9.469 kB / 3.011 GB, free: 73.5 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006164/5.951, allocations: 150.6 kB / 3.011 GB, free: 73.48 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001757/5.953, allocations: 443.1 kB / 3.011 GB, free: 73.48 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006342/5.954, allocations: 1.2 MB / 3.012 GB, free: 72.45 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002747/5.956, allocations: 333.9 kB / 3.013 GB, free: 72.43 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001914/5.956, allocations: 86.12 kB / 3.013 GB, free: 72.43 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 8.085e-06/5.957, allocations: 5.219 kB / 3.013 GB, free: 72.43 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004239/5.961, allocations: 2.247 MB / 3.015 GB, free: 72.35 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/5.961, allocations: 5.969 kB / 3.015 GB, free: 72.35 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002757/5.961, allocations: 110.5 kB / 3.015 GB, free: 72.33 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001608/5.963, allocations: 446.2 kB / 3.016 GB, free: 72.33 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002386/5.965, allocations: 3.302 MB / 3.019 GB, free: 69.54 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0025/5.968, allocations: 308.7 kB / 3.019 GB, free: 69.52 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001743/5.968, allocations: 85.03 kB / 3.019 GB, free: 69.52 MB / 1.026 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 176 * 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 prepare postOptimizeDAE: time 0.001322/5.969, allocations: 0.7005 MB / 3.02 GB, free: 69.29 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000553/5.97, allocations: 298.6 kB / 3.02 GB, free: 69.14 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005033/5.975, allocations: 2.626 MB / 3.023 GB, free: 68.95 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.631e-05/5.975, allocations: 25.86 kB / 3.023 GB, free: 68.94 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/5.975, allocations: 6.094 kB / 3.023 GB, free: 68.94 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003568/5.978, allocations: 2.166 MB / 3.025 GB, free: 68.6 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009247/5.988, allocations: 5.751 MB / 3.031 GB, free: 67.59 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/5.988, allocations: 6.094 kB / 3.031 GB, free: 67.59 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001307/5.989, allocations: 339.2 kB / 3.031 GB, free: 67.59 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002338/5.989, allocations: 97.19 kB / 3.031 GB, free: 67.57 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001201/5.989, allocations: 54.38 kB / 3.031 GB, free: 67.57 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000516/5.99, allocations: 1.18 MB / 3.032 GB, free: 66.54 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/5.99, allocations: 6.25 kB / 3.032 GB, free: 66.54 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006113/5.996, allocations: 3.707 MB / 3.036 GB, free: 65.99 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001548/5.998, allocations: 0.6739 MB / 3.036 GB, free: 65.73 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006767/5.998, allocations: 35.22 kB / 3.036 GB, free: 65.73 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002361/6.001, allocations: 274.3 kB / 3.037 GB, free: 65.71 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/6.001, allocations: 106.4 kB / 3.037 GB, free: 65.71 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001536/6.001, allocations: 76.2 kB / 3.037 GB, free: 65.71 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.003086/6.004, allocations: 1.806 MB / 3.039 GB, free: 65.56 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.5e-07/6.004, allocations: 5.766 kB / 3.039 GB, free: 65.56 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.005216/6.009, allocations: 1.538 MB / 3.04 GB, free: 65.38 MB / 1.026 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.s[1],hex1.thrWayVal.filter.s[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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 134 * 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.002454/6.012, allocations: 1.503 MB / 3.042 GB, free: 64.95 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.006559/6.018, allocations: 3.58 MB / 3.045 GB, free: 64.52 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/6.018, allocations: 3.562 kB / 3.045 GB, free: 64.52 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.001906/6.02, allocations: 1.126 MB / 3.046 GB, free: 64.44 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008496/6.029, allocations: 1.442 MB / 3.048 GB, free: 64.37 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/6.039, allocations: 6.443 MB / 3.054 GB, free: 61.45 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001573/6.041, allocations: 1.783 MB / 3.056 GB, free: 60.67 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.003454/6.044, allocations: 0.6748 MB / 3.056 GB, free: 60.57 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000737/6.045, allocations: 239.1 kB / 3.057 GB, free: 60.56 MB / 1.026 GB Notification: Performance of SimCode: time 6.22e-07/6.045, allocations: 0 / 3.057 GB, free: 60.56 MB / 1.026 GB Notification: Performance of Templates: time 0.0922/6.137, allocations: 65.06 MB / 3.12 GB, free: 56.35 MB / 1.026 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe 2>&1)