Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,fileNamePrefix="Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,fileNamePrefix="Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.615/2.615, allocations: 287.3 MB / 302.3 MB, free: 8.32 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.001548/0.001548, allocations: 183.1 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.119/2.119, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001217/0.001216, allocations: 95.98 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004824/0.0004824, allocations: 11.34 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2119, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.372/1.584, allocations: 449.1 MB / 1.417 GB, free: 13.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004198/1.584, allocations: 109.6 kB / 1.417 GB, free: 13.64 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.654/10.24, allocations: 1.494 GB / 2.911 GB, free: 88.14 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.186e-06/10.24, allocations: 0.9688 kB / 2.911 GB, free: 88.14 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.000727/10.24, allocations: 84.77 kB / 2.911 GB, free: 88.14 MB / 0.9948 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.01807/10.26, allocations: 3.901 MB / 2.915 GB, free: 87.32 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/10.26, allocations: 8.812 kB / 2.915 GB, free: 87.32 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00147/10.26, allocations: 275.8 kB / 2.915 GB, free: 87.27 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007215/10.27, allocations: 0.7945 MB / 2.916 GB, free: 87.08 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01454/10.28, allocations: 3.409 MB / 2.919 GB, free: 86.62 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002791/10.28, allocations: 425.2 kB / 2.919 GB, free: 86.61 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001241/10.29, allocations: 209.2 kB / 2.92 GB, free: 86.61 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01172/10.3, allocations: 2.568 MB / 2.922 GB, free: 86.31 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.684e-05/10.3, allocations: 1.375 kB / 2.922 GB, free: 86.31 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004592/10.3, allocations: 92.34 kB / 2.922 GB, free: 86.31 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.216e-05/10.3, allocations: 47.91 kB / 2.922 GB, free: 86.31 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01193/10.31, allocations: 2.382 MB / 2.925 GB, free: 86.29 MB / 0.9948 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.03418/10.34, allocations: 12.7 MB / 2.937 GB, free: 80.38 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007095/10.35, allocations: 1.719 MB / 2.939 GB, free: 80.16 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001945/10.35, allocations: 1.647 MB / 2.94 GB, free: 78.38 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004359/10.36, allocations: 1.078 MB / 2.941 GB, free: 78.27 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002941/10.36, allocations: 211.1 kB / 2.942 GB, free: 78.23 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=130): time 1.155e-05/10.36, allocations: 0 / 2.942 GB, free: 78.23 MB / 0.9948 GB Notification: Performance of matching and sorting (n=130): time 0.0141/10.37, allocations: 3.116 MB / 2.945 GB, free: 77.67 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/10.37, allocations: 306.6 kB / 2.945 GB, free: 77.32 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007154/10.38, allocations: 2.372 MB / 2.947 GB, free: 77.11 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006584/10.38, allocations: 59.52 kB / 2.947 GB, free: 77.07 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00217/10.38, allocations: 1.342 MB / 2.949 GB, free: 76.79 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008574/10.39, allocations: 445.7 kB / 2.949 GB, free: 76.53 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000249/10.39, allocations: 30.28 kB / 2.949 GB, free: 76.53 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001777/10.39, allocations: 365.6 kB / 2.949 GB, free: 76.22 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003874/10.39, allocations: 0.8418 MB / 2.95 GB, free: 76.22 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004681/10.39, allocations: 1.286 MB / 2.951 GB, free: 75.77 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004434/10.4, allocations: 0.9868 MB / 2.952 GB, free: 75.71 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.035e-05/10.4, allocations: 0 / 2.952 GB, free: 75.71 MB / 0.9948 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.01161/10.41, allocations: 2.556 MB / 2.955 GB, free: 75.45 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007644/10.41, allocations: 3.133 MB / 2.958 GB, free: 72.13 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.796e-05/10.41, allocations: 6.188 kB / 2.958 GB, free: 72.13 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006173/10.41, allocations: 117.7 kB / 2.958 GB, free: 72.12 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00386/10.42, allocations: 430.8 kB / 2.958 GB, free: 72.12 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/10.42, allocations: 1.202 MB / 2.96 GB, free: 71.08 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006084/10.42, allocations: 329.7 kB / 2.96 GB, free: 71.06 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007173/10.42, allocations: 90.06 kB / 2.96 GB, free: 71.06 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/10.42, allocations: 3.812 kB / 2.96 GB, free: 71.06 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01044/10.43, allocations: 2.276 MB / 2.962 GB, free: 70.98 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.943e-05/10.43, allocations: 7.469 kB / 2.962 GB, free: 70.98 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005658/10.44, allocations: 115.7 kB / 2.962 GB, free: 70.96 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003969/10.44, allocations: 438.8 kB / 2.963 GB, free: 70.96 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004306/10.44, allocations: 3.316 MB / 2.966 GB, free: 68.17 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005638/10.45, allocations: 301 kB / 2.966 GB, free: 68.16 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007542/10.45, allocations: 93.72 kB / 2.966 GB, free: 68.15 MB / 0.9948 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 (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.003026/10.45, allocations: 0.7065 MB / 2.967 GB, free: 67.93 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001358/10.45, allocations: 301.8 kB / 2.967 GB, free: 67.77 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01229/10.47, allocations: 2.624 MB / 2.97 GB, free: 67.58 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.662e-05/10.47, allocations: 23.72 kB / 2.97 GB, free: 67.58 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/10.47, allocations: 3.141 kB / 2.97 GB, free: 67.58 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009205/10.48, allocations: 2.163 MB / 2.972 GB, free: 67.23 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02192/10.5, allocations: 5.624 MB / 2.978 GB, free: 66.36 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.681e-05/10.5, allocations: 5.25 kB / 2.978 GB, free: 66.36 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003275/10.5, allocations: 334.2 kB / 2.978 GB, free: 66.36 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005298/10.5, allocations: 99.67 kB / 2.978 GB, free: 66.34 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004731/10.5, allocations: 55.16 kB / 2.978 GB, free: 66.34 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009575/10.5, allocations: 1.181 MB / 2.979 GB, free: 65.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.989e-06/10.5, allocations: 9.672 kB / 2.979 GB, free: 65.3 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01565/10.52, allocations: 3.919 MB / 2.983 GB, free: 64.51 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003268/10.52, allocations: 0.6875 MB / 2.984 GB, free: 64.25 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001525/10.52, allocations: 33.83 kB / 2.984 GB, free: 64.25 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005464/10.53, allocations: 267.7 kB / 2.984 GB, free: 64.24 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005718/10.53, allocations: 106.6 kB / 2.984 GB, free: 64.23 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003513/10.53, allocations: 73.7 kB / 2.984 GB, free: 64.23 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0059/10.54, allocations: 1.834 MB / 2.986 GB, free: 64.09 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6.01e-07/10.54, allocations: 0 / 2.986 GB, free: 64.09 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01148/10.55, allocations: 1.613 MB / 2.988 GB, free: 63.95 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (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.01876/10.57, allocations: 6.468 MB / 2.994 GB, free: 61.81 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01472/10.58, allocations: 3.691 MB / 2.997 GB, free: 61.36 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/10.58, allocations: 0 / 2.997 GB, free: 61.36 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.004424/10.59, allocations: 1.126 MB / 2.999 GB, free: 61.3 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01295/10.6, allocations: 1.421 MB / 3 GB, free: 61.27 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02821/10.63, allocations: 12.88 MB / 3.013 GB, free: 52.64 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00244/10.63, allocations: 1.862 MB / 3.014 GB, free: 51.9 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.005878/10.64, allocations: 0.6821 MB / 3.015 GB, free: 51.88 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003466/10.64, allocations: 1.276 MB / 3.016 GB, free: 51.87 MB / 0.9948 GB Notification: Performance of SimCode: time 1.573e-06/10.64, allocations: 0 / 3.016 GB, free: 51.87 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2182/10.86, allocations: 93.96 MB / 3.108 GB, free: 46.65 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003225/10.86, allocations: 297.1 kB / 3.108 GB, free: 46.29 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.185/18.04, allocations: 0 / 3.108 GB, free: 46.29 MB / 0.9948 GB (rm -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; mkfifo Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe >> ../files/Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger.fmu > Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe 2>&1)