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.434/2.434, allocations: 284.9 MB / 292.4 MB, free: 10.53 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.001489/0.001488, allocations: 188.8 kB / 360.6 MB, free: 7.281 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.007/2.007, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.0011/0.001099, allocations: 85.62 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.345e-05/3.346e-05, allocations: 4 kB / 0.8509 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8802/0.8803, allocations: 115.3 MB / 0.9634 GB, free: 78.56 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.319/2.199, allocations: 448.4 MB / 1.401 GB, free: 120.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003265/2.2, allocations: 107.4 kB / 1.401 GB, free: 120.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.817/10.02, allocations: 1.482 GB / 2.883 GB, free: 97.8 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.345e-06/10.02, allocations: 0 / 2.883 GB, free: 97.8 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0005871/10.02, allocations: 87.12 kB / 2.883 GB, free: 97.79 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.01119/10.03, allocations: 3.28 MB / 2.887 GB, free: 96.16 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/10.03, allocations: 8.531 kB / 2.887 GB, free: 96.16 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006204/10.03, allocations: 0.7982 MB / 2.887 GB, free: 95.97 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01181/10.05, allocations: 3.37 MB / 2.891 GB, free: 95.36 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002308/10.05, allocations: 351.8 kB / 2.891 GB, free: 95.36 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007597/10.05, allocations: 123.1 kB / 2.891 GB, free: 95.36 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005328/10.06, allocations: 1.837 MB / 2.893 GB, free: 95.34 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005177/10.06, allocations: 2.042 MB / 2.895 GB, free: 95.05 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.032e-05/10.06, allocations: 3 kB / 2.895 GB, free: 95.05 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002954/10.06, allocations: 3.75 kB / 2.895 GB, free: 95.05 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.759e-05/10.06, allocations: 51.47 kB / 2.895 GB, free: 95.05 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.02619/10.09, allocations: 12.27 MB / 2.907 GB, free: 89.14 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002836/10.09, allocations: 1.316 MB / 2.908 GB, free: 88.92 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001518/10.09, allocations: 0.7185 MB / 2.909 GB, free: 88.9 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001821/10.09, allocations: 1.646 MB / 2.911 GB, free: 87.12 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001936/10.1, allocations: 0.8554 MB / 2.911 GB, free: 87 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00213/10.1, allocations: 156.6 kB / 2.912 GB, free: 86.94 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=130): time 5.09e-06/10.1, allocations: 5.531 kB / 2.912 GB, free: 86.94 MB / 0.9792 GB Notification: Performance of matching and sorting (n=130): time 0.006296/10.1, allocations: 1.748 MB / 2.913 GB, free: 86.7 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/10.1, allocations: 303 kB / 2.914 GB, free: 86.35 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00416/10.11, allocations: 1.914 MB / 2.915 GB, free: 86.12 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.000573/10.11, allocations: 32.61 kB / 2.915 GB, free: 86.09 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0016/10.11, allocations: 1.34 MB / 2.917 GB, free: 85.66 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006763/10.11, allocations: 432.6 kB / 2.917 GB, free: 85.38 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/10.11, allocations: 0 / 2.917 GB, free: 85.38 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001263/10.11, allocations: 360.5 kB / 2.918 GB, free: 85.07 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001483/10.11, allocations: 0.6056 MB / 2.918 GB, free: 85.07 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001892/10.11, allocations: 1.03 MB / 2.919 GB, free: 84.61 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003426/10.12, allocations: 0.8631 MB / 2.92 GB, free: 84.58 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.116e-05/10.12, allocations: 8.469 kB / 2.92 GB, free: 84.57 MB / 0.9792 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.007219/10.13, allocations: 2.129 MB / 2.922 GB, free: 84.32 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007015/10.13, allocations: 3.088 MB / 2.925 GB, free: 81.11 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.689e-05/10.13, allocations: 7.812 kB / 2.925 GB, free: 81.11 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003917/10.13, allocations: 98.69 kB / 2.925 GB, free: 81.09 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003641/10.13, allocations: 439.8 kB / 2.926 GB, free: 81.07 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009897/10.13, allocations: 1.227 MB / 2.927 GB, free: 80.03 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004931/10.14, allocations: 283.6 kB / 2.927 GB, free: 80.01 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000339/10.14, allocations: 85.67 kB / 2.927 GB, free: 80.01 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/10.14, allocations: 3.031 kB / 2.927 GB, free: 80.01 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006187/10.14, allocations: 1.807 MB / 2.929 GB, free: 79.92 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.951e-05/10.14, allocations: 6.906 kB / 2.929 GB, free: 79.92 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004934/10.14, allocations: 111.9 kB / 2.929 GB, free: 79.9 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003377/10.15, allocations: 440.8 kB / 2.929 GB, free: 79.88 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003531/10.15, allocations: 3.169 MB / 2.933 GB, free: 77.19 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004803/10.16, allocations: 263.4 kB / 2.933 GB, free: 77.18 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003421/10.16, allocations: 83.64 kB / 2.933 GB, free: 77.18 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.0006558/10.16, allocations: 185.5 kB / 2.933 GB, free: 77.01 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005875/10.16, allocations: 1.705 MB / 2.935 GB, free: 76.77 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007209/10.16, allocations: 276.5 kB / 2.935 GB, free: 76.63 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007357/10.17, allocations: 2.195 MB / 2.937 GB, free: 76.42 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.371e-05/10.17, allocations: 22.25 kB / 2.937 GB, free: 76.42 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/10.17, allocations: 1.625 kB / 2.937 GB, free: 76.42 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005021/10.18, allocations: 1.769 MB / 2.939 GB, free: 76.1 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01395/10.19, allocations: 5.09 MB / 2.944 GB, free: 75.14 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-05/10.19, allocations: 7.156 kB / 2.944 GB, free: 75.14 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002989/10.19, allocations: 337.3 kB / 2.944 GB, free: 75.12 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003389/10.19, allocations: 80.52 kB / 2.944 GB, free: 75.11 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000301/10.19, allocations: 40.84 kB / 2.944 GB, free: 75.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008908/10.19, allocations: 1.184 MB / 2.945 GB, free: 74.06 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/10.19, allocations: 3.656 kB / 2.945 GB, free: 74.06 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009288/10.2, allocations: 3.343 MB / 2.949 GB, free: 73.16 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002758/10.21, allocations: 0.6581 MB / 2.949 GB, free: 72.72 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009479/10.21, allocations: 12.41 kB / 2.949 GB, free: 72.72 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004802/10.21, allocations: 239.4 kB / 2.95 GB, free: 72.71 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004533/10.21, allocations: 103.1 kB / 2.95 GB, free: 72.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003275/10.21, allocations: 74.53 kB / 2.95 GB, free: 72.68 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.003626/10.22, allocations: 1.433 MB / 2.951 GB, free: 72.05 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7.51e-07/10.22, allocations: 3.719 kB / 2.951 GB, free: 72.05 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.009099/10.23, allocations: 1.568 MB / 2.953 GB, free: 71.71 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.01255/10.24, allocations: 6.085 MB / 2.959 GB, free: 68.16 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.007256/10.25, allocations: 3.004 MB / 2.962 GB, free: 66.7 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/10.25, allocations: 0 / 2.962 GB, free: 66.7 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002282/10.25, allocations: 0.901 MB / 2.962 GB, free: 66.3 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01043/10.26, allocations: 1.158 MB / 2.964 GB, free: 66.05 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01821/10.28, allocations: 4.641 MB / 2.968 GB, free: 64.11 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001969/10.28, allocations: 1.859 MB / 2.97 GB, free: 63.3 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.007361/10.29, allocations: 0.7788 MB / 2.971 GB, free: 63.16 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002899/10.29, allocations: 1.219 MB / 2.972 GB, free: 62.18 MB / 0.9792 GB Notification: Performance of SimCode: time 1.432e-06/10.29, allocations: 0 / 2.972 GB, free: 62.18 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2145/10.5, allocations: 82.23 MB / 3.052 GB, free: 5.852 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00029/10.5, allocations: 215.9 kB / 3.052 GB, free: 5.559 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.937/17.44, allocations: 0 / 3.052 GB, free: 5.559 MB / 0.9792 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)