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: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.754/1.754, allocations: 289.9 MB / 297.4 MB, free: 6.328 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.002179/0.002179, allocations: 176.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.939/1.939, allocations: 205.2 MB / 0.626 GB, free: 7.16 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.0008408/0.0008408, allocations: 84.84 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.763e-05/3.783e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7428/0.7429, allocations: 116.3 MB / 0.9734 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.126/1.869, allocations: 449.6 MB / 1.412 GB, free: 107.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/1.869, allocations: 108 kB / 1.412 GB, free: 107.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.174/8.043, allocations: 1.482 GB / 2.894 GB, free: 93.04 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.835e-06/8.043, allocations: 0 / 2.894 GB, free: 93.04 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0003804/8.044, allocations: 95.61 kB / 2.894 GB, free: 93.02 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.008718/8.052, allocations: 3.271 MB / 2.898 GB, free: 91.47 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/8.052, allocations: 14.19 kB / 2.898 GB, free: 91.47 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003982/8.056, allocations: 0.7969 MB / 2.898 GB, free: 91.28 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007634/8.064, allocations: 3.374 MB / 2.902 GB, free: 90.67 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001231/8.065, allocations: 347.9 kB / 2.902 GB, free: 90.66 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004604/8.066, allocations: 123.7 kB / 2.902 GB, free: 90.66 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003637/8.069, allocations: 1.831 MB / 2.904 GB, free: 90.66 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003548/8.073, allocations: 2.04 MB / 2.906 GB, free: 90.37 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.932e-05/8.073, allocations: 9.766 kB / 2.906 GB, free: 90.36 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001806/8.073, allocations: 1.844 kB / 2.906 GB, free: 90.36 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.376e-05/8.073, allocations: 47.44 kB / 2.906 GB, free: 90.36 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.01761/8.091, allocations: 12.28 MB / 2.918 GB, free: 84.45 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001866/8.093, allocations: 1.321 MB / 2.919 GB, free: 84.23 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009484/8.094, allocations: 0.7126 MB / 2.92 GB, free: 84.22 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001253/8.095, allocations: 1.647 MB / 2.922 GB, free: 82.44 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001273/8.096, allocations: 0.8568 MB / 2.922 GB, free: 82.3 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001874/8.098, allocations: 150.7 kB / 2.923 GB, free: 82.25 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=130): time 3.787e-06/8.098, allocations: 0 / 2.923 GB, free: 82.25 MB / 0.9792 GB Notification: Performance of matching and sorting (n=130): time 0.004255/8.103, allocations: 1.752 MB / 2.924 GB, free: 82.02 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/8.103, allocations: 303 kB / 2.925 GB, free: 81.68 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003119/8.106, allocations: 1.916 MB / 2.926 GB, free: 81.45 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002347/8.106, allocations: 29.36 kB / 2.926 GB, free: 81.42 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001146/8.107, allocations: 1.345 MB / 2.928 GB, free: 80.99 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003572/8.108, allocations: 430.1 kB / 2.928 GB, free: 80.71 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.022e-05/8.108, allocations: 3.875 kB / 2.928 GB, free: 80.71 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001087/8.108, allocations: 364.2 kB / 2.929 GB, free: 80.4 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000949/8.109, allocations: 0.6022 MB / 2.929 GB, free: 80.4 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/8.11, allocations: 1.034 MB / 2.93 GB, free: 79.94 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002221/8.112, allocations: 0.8632 MB / 2.931 GB, free: 79.93 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/8.112, allocations: 2.219 kB / 2.931 GB, free: 79.93 MB / 0.9792 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004842/8.117, allocations: 2.138 MB / 2.933 GB, free: 79.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007804/8.118, allocations: 3.091 MB / 2.936 GB, free: 76.49 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.482e-05/8.118, allocations: 7.094 kB / 2.936 GB, free: 76.49 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002803/8.118, allocations: 104.5 kB / 2.936 GB, free: 76.47 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001813/8.12, allocations: 431.4 kB / 2.937 GB, free: 76.45 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007765/8.121, allocations: 1.228 MB / 2.938 GB, free: 75.41 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003145/8.124, allocations: 282.6 kB / 2.938 GB, free: 75.39 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002033/8.124, allocations: 87.84 kB / 2.938 GB, free: 75.39 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/8.124, allocations: 3.75 kB / 2.938 GB, free: 75.39 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003939/8.128, allocations: 1.801 MB / 2.94 GB, free: 75.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/8.128, allocations: 11.31 kB / 2.94 GB, free: 75.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003359/8.128, allocations: 107.8 kB / 2.94 GB, free: 75.29 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001739/8.13, allocations: 430.6 kB / 2.94 GB, free: 75.27 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002612/8.133, allocations: 3.182 MB / 2.944 GB, free: 72.58 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003087/8.136, allocations: 256.2 kB / 2.944 GB, free: 72.56 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002294/8.136, allocations: 87.97 kB / 2.944 GB, free: 72.56 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.0005417/8.137, allocations: 175.2 kB / 2.944 GB, free: 72.4 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004255/8.141, allocations: 1.717 MB / 2.946 GB, free: 72.16 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008073/8.142, allocations: 276.9 kB / 2.946 GB, free: 72.02 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00523/8.147, allocations: 2.188 MB / 2.948 GB, free: 71.82 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-05/8.147, allocations: 21.75 kB / 2.948 GB, free: 71.82 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/8.147, allocations: 3.656 kB / 2.948 GB, free: 71.82 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003472/8.151, allocations: 1.774 MB / 2.95 GB, free: 71.49 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01204/8.163, allocations: 5.083 MB / 2.955 GB, free: 70.54 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/8.163, allocations: 7.094 kB / 2.955 GB, free: 70.53 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001535/8.164, allocations: 335.7 kB / 2.955 GB, free: 70.52 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000208/8.164, allocations: 86.89 kB / 2.955 GB, free: 70.5 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001371/8.165, allocations: 34.08 kB / 2.955 GB, free: 70.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006392/8.165, allocations: 1.191 MB / 2.956 GB, free: 69.45 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.824e-06/8.165, allocations: 6.266 kB / 2.956 GB, free: 69.45 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005988/8.171, allocations: 3.334 MB / 2.96 GB, free: 68.59 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002143/8.173, allocations: 0.6505 MB / 2.96 GB, free: 68.34 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009424/8.174, allocations: 13.09 kB / 2.96 GB, free: 68.34 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002977/8.177, allocations: 240.8 kB / 2.961 GB, free: 68.33 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002104/8.178, allocations: 109.1 kB / 2.961 GB, free: 68.32 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002256/8.178, allocations: 70.73 kB / 2.961 GB, free: 68.32 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.004121/8.182, allocations: 1.44 MB / 2.962 GB, free: 68.17 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.8e-07/8.182, allocations: 0 / 2.962 GB, free: 68.17 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.008239/8.19, allocations: 1.574 MB / 2.964 GB, free: 67.93 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.01095/8.201, allocations: 6.075 MB / 2.97 GB, free: 65.36 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.006262/8.208, allocations: 3.007 MB / 2.973 GB, free: 64.85 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/8.208, allocations: 0 / 2.973 GB, free: 64.85 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001395/8.209, allocations: 0.8964 MB / 2.973 GB, free: 64.75 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007353/8.216, allocations: 1.156 MB / 2.975 GB, free: 64.61 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01416/8.231, allocations: 4.648 MB / 2.979 GB, free: 62.66 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001354/8.232, allocations: 1.862 MB / 2.981 GB, free: 61.86 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.004185/8.236, allocations: 0.7785 MB / 2.982 GB, free: 61.7 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001458/8.238, allocations: 1.218 MB / 2.983 GB, free: 60.73 MB / 0.9792 GB Notification: Performance of SimCode: time 1.212e-06/8.238, allocations: 0 / 2.983 GB, free: 60.73 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1485/8.386, allocations: 82.25 MB / 3.063 GB, free: 16.3 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/8.386, allocations: 210.3 kB / 3.063 GB, free: 16.01 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.462/13.85, allocations: 0 / 3.063 GB, free: 16.01 MB / 0.9792 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger.fmu > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe 2>&1)