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.0007437/0.0007437, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005024/0.005025, allocations: 171.4 kB / 16.27 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.455/1.455, allocations: 205.4 MB / 222.5 MB, free: 5.531 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.907/1.907, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.00056/0.0005598, allocations: 11.47 kB / 0.6743 GB, free: 25.66 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2507, allocations: 116.3 MB / 0.7879 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger): time 0.622/0.8728, allocations: 158.3 MB / 0.9425 GB, free: 16.62 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.04281/0.9156, allocations: 32.25 MB / 0.974 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006668/0.9223, allocations: 170.9 kB / 0.9741 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004763/0.9271, allocations: 1.515 MB / 0.9756 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01371/0.9408, allocations: 4.096 MB / 0.9796 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01302/0.9539, allocations: 3.999 MB / 0.9835 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01417/0.9681, allocations: 10.7 MB / 0.9939 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005193/0.9733, allocations: 2.501 MB / 0.9964 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00798/0.9813, allocations: 3.202 MB / 0.9995 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004655/0.986, allocations: 2.336 MB / 1.002 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0009228/0.9869, allocations: 119.4 kB / 1.002 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006889/0.9938, allocations: 2.332 MB / 1.004 GB, free: 256 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001202/0.9951, allocations: 0.5696 MB / 1.005 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.003848/0.9989, allocations: 1.668 MB / 1.006 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.009917/1.009, allocations: 5.979 MB / 1.012 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/1.009, allocations: 0 / 1.012 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.863e-06/1.009, allocations: 0 / 1.012 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001068/1.009, allocations: 0 / 1.012 GB, free: 10.8 MB / 0.7325 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.006121/1.015, allocations: 3.32 MB / 1.015 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/1.015, allocations: 16.45 kB / 1.015 GB, free: 8.402 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003385/1.019, allocations: 0.8592 MB / 1.016 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004823/1.023, allocations: 2.91 MB / 1.019 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001264/1.025, allocations: 424.4 kB / 1.02 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002992/1.025, allocations: 207 kB / 1.02 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00488/1.03, allocations: 2.543 MB / 1.022 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.404e-05/1.03, allocations: 3.938 kB / 1.022 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001931/1.03, allocations: 78.34 kB / 1.022 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.483e-05/1.03, allocations: 48.88 kB / 1.022 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005308/1.036, allocations: 2.386 MB / 1.025 GB, free: 1.758 MB / 0.7325 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.01789/1.053, allocations: 12.66 MB / 1.037 GB, free: 4.297 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003471/1.057, allocations: 1.56 MB / 1.039 GB, free: 2.734 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001925/1.059, allocations: 0.9365 MB / 1.039 GB, free: 1.801 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001683/1.061, allocations: 1.829 MB / 1.041 GB, free: 15.59 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002207/1.063, allocations: 0.9998 MB / 1.042 GB, free: 14.57 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001649/1.064, allocations: 206.4 kB / 1.042 GB, free: 14.37 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=132): time 4.428e-06/1.064, allocations: 0 / 1.042 GB, free: 14.37 MB / 0.7637 GB Notification: Performance of matching and sorting (n=132): time 0.007665/1.072, allocations: 3.072 MB / 1.045 GB, free: 11.25 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.518e-05/1.072, allocations: 171.5 kB / 1.046 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004225/1.077, allocations: 2.661 MB / 1.048 GB, free: 8.375 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.000349/1.077, allocations: 57.69 kB / 1.048 GB, free: 8.312 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001188/1.078, allocations: 1.348 MB / 1.05 GB, free: 6.953 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004697/1.079, allocations: 452.4 kB / 1.05 GB, free: 6.516 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002036/1.079, allocations: 137.6 kB / 1.05 GB, free: 6.375 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001053/1.079, allocations: 301.1 kB / 1.05 GB, free: 6.078 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002098/1.081, allocations: 0.8549 MB / 1.051 GB, free: 5.223 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002369/1.083, allocations: 1.249 MB / 1.052 GB, free: 3.832 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004161/1.088, allocations: 1.998 MB / 1.054 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.629e-06/1.088, allocations: 4 kB / 1.054 GB, free: 1.715 MB / 0.7637 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.006472/1.094, allocations: 2.624 MB / 1.057 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.000248/1.094, allocations: 364.9 kB / 1.057 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.396e-05/1.094, allocations: 8 kB / 1.057 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007184/1.095, allocations: 161.5 kB / 1.058 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001927/1.097, allocations: 439.4 kB / 1.058 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008405/1.098, allocations: 1.21 MB / 1.059 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003098/1.101, allocations: 299.6 kB / 1.059 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002248/1.101, allocations: 75.95 kB / 1.059 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/1.101, allocations: 11.88 kB / 1.059 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005341/1.107, allocations: 2.276 MB / 1.062 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.785e-05/1.107, allocations: 12 kB / 1.062 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003585/1.107, allocations: 114.1 kB / 1.062 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001827/1.109, allocations: 427.4 kB / 1.062 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002947/1.112, allocations: 3.291 MB / 1.065 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00309/1.115, allocations: 287.5 kB / 1.066 GB, free: 5.672 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002158/1.115, allocations: 79.95 kB / 1.066 GB, free: 5.594 MB / 0.7794 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 (TCon_in.nextEventScaled,TCon_in.nextEvent,$PRE.TCon_in.nextEvent,TCon_in.last,TCon_in.b,TCon_in.a,$whenCondition1,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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001726/1.117, allocations: 0.7078 MB / 1.066 GB, free: 4.871 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005852/1.117, allocations: 300.2 kB / 1.067 GB, free: 4.574 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005781/1.123, allocations: 2.691 MB / 1.069 GB, free: 1.898 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.277e-05/1.123, allocations: 19.98 kB / 1.069 GB, free: 1.879 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/1.123, allocations: 0 / 1.069 GB, free: 1.879 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004189/1.128, allocations: 2.175 MB / 1.072 GB, free: 15.64 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01048/1.138, allocations: 5.395 MB / 1.077 GB, free: 10.16 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/1.138, allocations: 4 kB / 1.077 GB, free: 10.15 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001479/1.14, allocations: 336 kB / 1.077 GB, free: 9.824 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000262/1.14, allocations: 105.6 kB / 1.077 GB, free: 9.715 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/1.14, allocations: 47.97 kB / 1.077 GB, free: 9.668 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007778/1.141, allocations: 1.183 MB / 1.078 GB, free: 8.434 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/1.141, allocations: 8.109 kB / 1.078 GB, free: 8.426 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008099/1.149, allocations: 3.69 MB / 1.082 GB, free: 4.66 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002308/1.151, allocations: 0.6725 MB / 1.083 GB, free: 3.965 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009326/1.152, allocations: 35.98 kB / 1.083 GB, free: 3.93 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002844/1.155, allocations: 258.8 kB / 1.083 GB, free: 3.68 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002168/1.155, allocations: 117.1 kB / 1.083 GB, free: 3.562 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001853/1.155, allocations: 75.94 kB / 1.083 GB, free: 3.488 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.003262/1.159, allocations: 1.829 MB / 1.085 GB, free: 1.668 MB / 0.795 GB Notification: Performance of sort global known variables: time 5.41e-07/1.159, allocations: 0 / 1.085 GB, free: 1.668 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.005697/1.164, allocations: 1.454 MB / 1.086 GB, free: 216 kB / 0.795 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001661/1.166, allocations: 0.7522 MB / 1.087 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.007905/1.174, allocations: 3.696 MB / 1.091 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/1.174, allocations: 4 kB / 1.091 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.00241/1.176, allocations: 1.121 MB / 1.092 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01003/1.187, allocations: 1.496 MB / 1.093 GB, free: 9.148 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01412/1.201, allocations: 6.964 MB / 1.1 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001397/1.202, allocations: 1.798 MB / 1.102 GB, free: 304 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.003734/1.206, allocations: 0.7007 MB / 1.103 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006943/1.207, allocations: 243.3 kB / 1.103 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of SimCode: time 8.92e-07/1.207, allocations: 0 / 1.103 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of Templates: time 0.1079/1.315, allocations: 60.03 MB / 1.161 GB, free: 4.09 MB / 0.8731 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: