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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000807/0.000807, allocations: 92.31 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009649/0.000965, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.728/1.728, allocations: 292.7 MB / 0.5499 GB, free: 14.58 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005385/0.0005385, allocations: 10.78 kB / 0.6737 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2635, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger): time 0.6257/0.8892, allocations: 149.5 MB / 0.9333 GB, free: 20.73 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.04331/0.9326, allocations: 30.31 MB / 0.9629 GB, free: 20.12 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00826/0.9409, allocations: 169.2 kB / 0.9631 GB, free: 20.12 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005684/0.9466, allocations: 1.237 MB / 0.9643 GB, free: 20.1 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01343/0.9601, allocations: 3.412 MB / 0.9676 GB, free: 19.33 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01253/0.9727, allocations: 3.22 MB / 0.9708 GB, free: 19.07 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01399/0.9867, allocations: 9.25 MB / 0.9798 GB, free: 16.11 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004889/0.9916, allocations: 2.201 MB / 0.9819 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007915/0.9996, allocations: 2.965 MB / 0.9848 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005263/1.005, allocations: 2.183 MB / 0.987 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001062/1.006, allocations: 119 kB / 0.9871 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006905/1.013, allocations: 1.902 MB / 0.9889 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001339/1.014, allocations: 0.5462 MB / 0.9895 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001892/1.016, allocations: 0.7228 MB / 0.9902 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006868/1.023, allocations: 4.684 MB / 0.9948 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/1.023, allocations: 0 / 0.9948 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.655e-06/1.023, allocations: 0 / 0.9948 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001513/1.023, allocations: 0 / 0.9948 GB, free: 8.477 MB / 0.7169 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.006913/1.03, allocations: 3.369 MB / 0.998 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/1.03, allocations: 9.688 kB / 0.9981 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003513/1.034, allocations: 0.8586 MB / 0.9989 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005392/1.039, allocations: 2.798 MB / 1.002 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001098/1.04, allocations: 419.6 kB / 1.002 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005631/1.041, allocations: 209.5 kB / 1.002 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005881/1.047, allocations: 2.528 MB / 1.005 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.525e-05/1.047, allocations: 6.812 kB / 1.005 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003447/1.047, allocations: 82.41 kB / 1.005 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.585e-05/1.047, allocations: 49.77 kB / 1.005 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005326/1.053, allocations: 2.367 MB / 1.007 GB, free: 0.6406 MB / 0.7169 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.02085/1.074, allocations: 12.66 MB / 1.019 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003516/1.077, allocations: 1.556 MB / 1.021 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002042/1.079, allocations: 0.9335 MB / 1.022 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001818/1.081, allocations: 1.833 MB / 1.024 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002364/1.083, allocations: 0.9971 MB / 1.025 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001677/1.085, allocations: 194.5 kB / 1.025 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=132): time 6.532e-06/1.085, allocations: 4 kB / 1.025 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of matching and sorting (n=132): time 0.007976/1.093, allocations: 3.053 MB / 1.028 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/1.093, allocations: 175.5 kB / 1.028 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005579/1.099, allocations: 2.634 MB / 1.031 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0004132/1.099, allocations: 53.7 kB / 1.031 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001608/1.101, allocations: 1.352 MB / 1.032 GB, free: 9.93 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000742/1.102, allocations: 452 kB / 1.032 GB, free: 9.492 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00024/1.102, allocations: 28 kB / 1.032 GB, free: 9.465 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002053/1.102, allocations: 368.8 kB / 1.033 GB, free: 9.102 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002264/1.104, allocations: 0.8394 MB / 1.034 GB, free: 8.262 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002501/1.107, allocations: 1.232 MB / 1.035 GB, free: 6.891 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002349/1.109, allocations: 0.9582 MB / 1.036 GB, free: 5.93 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/1.109, allocations: 0 / 1.036 GB, free: 5.93 MB / 0.7481 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.006687/1.116, allocations: 2.589 MB / 1.038 GB, free: 3.32 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003039/1.116, allocations: 353.7 kB / 1.039 GB, free: 2.859 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.973e-05/1.116, allocations: 15.98 kB / 1.039 GB, free: 2.844 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007247/1.117, allocations: 157.6 kB / 1.039 GB, free: 2.684 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0019/1.119, allocations: 435.4 kB / 1.039 GB, free: 2.258 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009872/1.12, allocations: 1.194 MB / 1.04 GB, free: 1.012 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003106/1.123, allocations: 306.7 kB / 1.041 GB, free: 0.7148 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003262/1.124, allocations: 87.95 kB / 1.041 GB, free: 0.6289 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/1.124, allocations: 4 kB / 1.041 GB, free: 0.625 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005858/1.129, allocations: 2.267 MB / 1.043 GB, free: 14.35 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-05/1.129, allocations: 8.047 kB / 1.043 GB, free: 14.34 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004278/1.13, allocations: 110 kB / 1.043 GB, free: 14.23 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001837/1.132, allocations: 435.4 kB / 1.043 GB, free: 13.8 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003447/1.135, allocations: 3.281 MB / 1.047 GB, free: 10.24 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002957/1.138, allocations: 283.7 kB / 1.047 GB, free: 9.965 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003564/1.139, allocations: 79.95 kB / 1.047 GB, free: 9.887 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (182): * Single equations (assignments): 177 * 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.001885/1.141, allocations: 0.7012 MB / 1.048 GB, free: 9.172 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009512/1.141, allocations: 300.2 kB / 1.048 GB, free: 8.875 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006602/1.148, allocations: 2.687 MB / 1.051 GB, free: 6.207 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.719e-05/1.148, allocations: 26.39 kB / 1.051 GB, free: 6.184 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/1.148, allocations: 4.047 kB / 1.051 GB, free: 6.18 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004323/1.153, allocations: 2.171 MB / 1.053 GB, free: 3.953 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01227/1.165, allocations: 5.376 MB / 1.058 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.251e-05/1.165, allocations: 4 kB / 1.058 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001455/1.166, allocations: 332 kB / 1.058 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002919/1.167, allocations: 97.66 kB / 1.058 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001612/1.167, allocations: 55.97 kB / 1.058 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008122/1.168, allocations: 1.187 MB / 1.06 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-06/1.168, allocations: 11.92 kB / 1.06 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00767/1.175, allocations: 3.658 MB / 1.063 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001951/1.177, allocations: 0.6842 MB / 1.064 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008614/1.178, allocations: 40 kB / 1.064 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002583/1.181, allocations: 259.5 kB / 1.064 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002047/1.181, allocations: 101.1 kB / 1.064 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002375/1.181, allocations: 75.91 kB / 1.064 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.004094/1.185, allocations: 1.802 MB / 1.066 GB, free: 6.047 MB / 0.7794 GB Notification: Performance of sort global known variables: time 5.51e-07/1.185, allocations: 4 kB / 1.066 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.007104/1.193, allocations: 1.458 MB / 1.068 GB, free: 4.582 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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) * 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.001981/1.195, allocations: 0.7261 MB / 1.068 GB, free: 3.922 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.008802/1.203, allocations: 3.672 MB / 1.072 GB, free: 192 kB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.388e-05/1.203, allocations: 8.188 kB / 1.072 GB, free: 184 kB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.002497/1.206, allocations: 1.114 MB / 1.073 GB, free: 15.06 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008827/1.215, allocations: 1.481 MB / 1.074 GB, free: 13.6 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01564/1.23, allocations: 6.75 MB / 1.081 GB, free: 6.805 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002155/1.233, allocations: 1.794 MB / 1.083 GB, free: 4.98 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.004417/1.237, allocations: 0.7005 MB / 1.083 GB, free: 4.34 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009935/1.238, allocations: 243.3 kB / 1.084 GB, free: 4.102 MB / 0.795 GB Notification: Performance of SimCode: time 1.042e-06/1.238, allocations: 0 / 1.084 GB, free: 4.102 MB / 0.795 GB Notification: Performance of Templates: time 0.09613/1.334, allocations: 57.98 MB / 1.14 GB, free: 10.86 MB / 0.8575 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: