Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.653/1.653, allocations: 289.9 MB / 297.4 MB, free: 6.367 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.001243/0.001243, allocations: 180.8 kB / 366.7 MB, free: 1.652 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.842/1.842, allocations: 205.3 MB / 0.626 GB, free: 7.18 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.0009365/0.0009364, allocations: 100.6 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.508e-05/2.503e-05, allocations: 0 / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7389/0.739, allocations: 116.3 MB / 0.9733 GB, free: 76.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.209/1.948, allocations: 449.6 MB / 1.412 GB, free: 108.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/1.948, allocations: 112.5 kB / 1.412 GB, free: 108.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.545/7.493, allocations: 1.482 GB / 2.894 GB, free: 93.71 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.914e-06/7.493, allocations: 0 / 2.894 GB, free: 93.71 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0006444/7.494, allocations: 94.62 kB / 2.894 GB, free: 93.7 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.01064/7.504, allocations: 3.26 MB / 2.898 GB, free: 92.15 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/7.505, allocations: 13.11 kB / 2.898 GB, free: 92.15 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004225/7.509, allocations: 0.7978 MB / 2.898 GB, free: 91.96 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01019/7.519, allocations: 3.381 MB / 2.902 GB, free: 91.35 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001374/7.52, allocations: 344.4 kB / 2.902 GB, free: 91.34 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001112/7.522, allocations: 123.2 kB / 2.902 GB, free: 91.34 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005207/7.527, allocations: 1.832 MB / 2.904 GB, free: 91.34 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005815/7.533, allocations: 2.04 MB / 2.906 GB, free: 91.05 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.046e-05/7.533, allocations: 12.67 kB / 2.906 GB, free: 91.04 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003974/7.533, allocations: 2.844 kB / 2.906 GB, free: 91.04 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.245e-05/7.533, allocations: 49.81 kB / 2.906 GB, free: 91.04 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.02258/7.556, allocations: 12.28 MB / 2.918 GB, free: 85.13 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002209/7.558, allocations: 1.324 MB / 2.919 GB, free: 84.91 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001113/7.559, allocations: 0.711 MB / 2.92 GB, free: 84.9 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001337/7.561, allocations: 1.649 MB / 2.922 GB, free: 83.12 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001494/7.562, allocations: 0.8589 MB / 2.922 GB, free: 82.98 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002158/7.564, allocations: 149.7 kB / 2.922 GB, free: 82.93 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=130): time 8.175e-06/7.564, allocations: 0 / 2.922 GB, free: 82.93 MB / 0.9792 GB Notification: Performance of matching and sorting (n=130): time 0.005335/7.57, allocations: 1.741 MB / 2.924 GB, free: 82.7 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/7.57, allocations: 307.8 kB / 2.924 GB, free: 82.36 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005405/7.575, allocations: 1.913 MB / 2.926 GB, free: 82.13 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0005197/7.576, allocations: 28.61 kB / 2.926 GB, free: 82.1 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001685/7.577, allocations: 1.346 MB / 2.928 GB, free: 81.67 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006141/7.578, allocations: 435.1 kB / 2.928 GB, free: 81.39 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002015/7.578, allocations: 5.281 kB / 2.928 GB, free: 81.39 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001315/7.578, allocations: 364.2 kB / 2.928 GB, free: 81.08 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/7.58, allocations: 0.6053 MB / 2.929 GB, free: 81.08 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001455/7.581, allocations: 1.032 MB / 2.93 GB, free: 80.62 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002548/7.584, allocations: 0.8648 MB / 2.931 GB, free: 80.61 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/7.584, allocations: 3.031 kB / 2.931 GB, free: 80.61 MB / 0.9792 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005769/7.589, allocations: 2.135 MB / 2.933 GB, free: 80.38 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008156/7.59, allocations: 3.085 MB / 2.936 GB, free: 77.17 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.569e-05/7.59, allocations: 10.44 kB / 2.936 GB, free: 77.17 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003158/7.591, allocations: 99.2 kB / 2.936 GB, free: 77.16 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001897/7.592, allocations: 436.4 kB / 2.937 GB, free: 77.14 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007987/7.593, allocations: 1.23 MB / 2.938 GB, free: 76.09 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003465/7.597, allocations: 283.1 kB / 2.938 GB, free: 76.08 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002976/7.597, allocations: 82.92 kB / 2.938 GB, free: 76.08 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/7.597, allocations: 8.656 kB / 2.938 GB, free: 76.07 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004276/7.601, allocations: 1.803 MB / 2.94 GB, free: 75.98 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.87e-05/7.601, allocations: 6.812 kB / 2.94 GB, free: 75.98 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003396/7.602, allocations: 102.6 kB / 2.94 GB, free: 75.97 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0017/7.603, allocations: 435.5 kB / 2.94 GB, free: 75.95 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002622/7.606, allocations: 3.178 MB / 2.943 GB, free: 73.26 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003268/7.609, allocations: 260 kB / 2.944 GB, free: 73.25 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003307/7.61, allocations: 83.58 kB / 2.944 GB, free: 73.25 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.0006696/7.61, allocations: 186.5 kB / 2.944 GB, free: 73.09 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009736/7.611, allocations: 275.6 kB / 2.944 GB, free: 72.94 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005855/7.617, allocations: 2.177 MB / 2.946 GB, free: 72.74 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.897e-05/7.617, allocations: 22.23 kB / 2.946 GB, free: 72.74 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/7.617, allocations: 3.438 kB / 2.946 GB, free: 72.74 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003411/7.621, allocations: 1.778 MB / 2.948 GB, free: 72.41 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01319/7.634, allocations: 5.089 MB / 2.953 GB, free: 71.46 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/7.634, allocations: 6.062 kB / 2.953 GB, free: 71.46 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001441/7.635, allocations: 337.5 kB / 2.953 GB, free: 71.44 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001983/7.636, allocations: 81.72 kB / 2.954 GB, free: 71.43 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001303/7.636, allocations: 35.58 kB / 2.954 GB, free: 71.43 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006191/7.636, allocations: 1.188 MB / 2.955 GB, free: 70.38 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/7.636, allocations: 6.547 kB / 2.955 GB, free: 70.38 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005928/7.642, allocations: 3.344 MB / 2.958 GB, free: 69.5 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002061/7.644, allocations: 0.6421 MB / 2.959 GB, free: 69.26 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009073/7.645, allocations: 13.12 kB / 2.959 GB, free: 69.26 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002972/7.648, allocations: 247.3 kB / 2.959 GB, free: 69.25 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001847/7.649, allocations: 103.1 kB / 2.959 GB, free: 69.24 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002152/7.649, allocations: 81.88 kB / 2.959 GB, free: 69.24 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.003798/7.653, allocations: 1.429 MB / 2.96 GB, free: 69.09 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.71e-07/7.653, allocations: 0 / 2.96 GB, free: 69.09 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.008034/7.661, allocations: 1.575 MB / 2.962 GB, free: 68.85 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.003678/7.664, allocations: 1.588 MB / 2.964 GB, free: 68.3 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.005366/7.67, allocations: 3 MB / 2.966 GB, free: 67.8 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/7.67, allocations: 3.703 kB / 2.966 GB, free: 67.8 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.00143/7.671, allocations: 0.8972 MB / 2.967 GB, free: 67.7 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007213/7.678, allocations: 1.153 MB / 2.968 GB, free: 67.63 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01195/7.69, allocations: 4.076 MB / 2.972 GB, free: 66.36 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002409/7.693, allocations: 1.861 MB / 2.974 GB, free: 65.58 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.006042/7.699, allocations: 0.7729 MB / 2.975 GB, free: 65.43 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007533/7.7, allocations: 172.7 kB / 2.975 GB, free: 65.42 MB / 0.9792 GB Notification: Performance of SimCode: time 1.703e-06/7.7, allocations: 0 / 2.975 GB, free: 65.42 MB / 0.9792 GB Notification: Performance of Templates: time 0.09228/7.792, allocations: 56.94 MB / 3.031 GB, free: 49.13 MB / 0.9792 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.makefile (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.sim & ./Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe 2>&1)