Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.693/1.693, allocations: 288.2 MB / 303.2 MB, free: 8.152 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.001131/0.001131, allocations: 170.7 kB / 371.8 MB, free: 10.29 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.7/1.7, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.0009994/0.0009998, allocations: 105 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004186/0.0004187, allocations: 15.91 kB / 0.8669 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2472, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.17/1.418, allocations: 449.3 MB / 1.418 GB, free: 12.28 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003915/1.418, allocations: 102.5 kB / 1.418 GB, free: 12.22 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.663/8.081, allocations: 1.494 GB / 2.912 GB, free: 89.59 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.915e-06/8.081, allocations: 2.594 kB / 2.912 GB, free: 89.59 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0005592/8.082, allocations: 86.06 kB / 2.912 GB, free: 89.59 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.01728/8.099, allocations: 3.896 MB / 2.916 GB, free: 88.31 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.995e-05/8.099, allocations: 14.69 kB / 2.916 GB, free: 88.31 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001452/8.1, allocations: 279.7 kB / 2.916 GB, free: 88.26 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005169/8.106, allocations: 0.7958 MB / 2.917 GB, free: 88.07 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01189/8.118, allocations: 3.403 MB / 2.92 GB, free: 87.61 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001695/8.119, allocations: 430.3 kB / 2.921 GB, free: 87.6 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001199/8.121, allocations: 209.5 kB / 2.921 GB, free: 87.6 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007403/8.128, allocations: 2.572 MB / 2.924 GB, free: 87.3 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.877e-05/8.128, allocations: 4.25 kB / 2.924 GB, free: 87.3 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000305/8.128, allocations: 84.11 kB / 2.924 GB, free: 87.3 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001027/8.128, allocations: 52.09 kB / 2.924 GB, free: 87.3 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007132/8.136, allocations: 2.382 MB / 2.926 GB, free: 87.28 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.02253/8.158, allocations: 12.7 MB / 2.938 GB, free: 81.36 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004016/8.162, allocations: 1.717 MB / 2.94 GB, free: 81.14 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001507/8.164, allocations: 1.644 MB / 2.942 GB, free: 79.36 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002396/8.166, allocations: 1.085 MB / 2.943 GB, free: 79.24 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002519/8.169, allocations: 203 kB / 2.943 GB, free: 79.18 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=130): time 4.688e-06/8.169, allocations: 0 / 2.943 GB, free: 79.18 MB / 0.9948 GB Notification: Performance of matching and sorting (n=130): time 0.007371/8.176, allocations: 3.116 MB / 2.946 GB, free: 78.62 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/8.176, allocations: 299 kB / 2.946 GB, free: 78.28 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004625/8.181, allocations: 2.381 MB / 2.949 GB, free: 78.05 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004273/8.181, allocations: 60.45 kB / 2.949 GB, free: 78.02 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001389/8.183, allocations: 1.333 MB / 2.95 GB, free: 77.65 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004991/8.183, allocations: 447.9 kB / 2.95 GB, free: 77.37 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/8.183, allocations: 31.14 kB / 2.95 GB, free: 77.37 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001426/8.184, allocations: 362.7 kB / 2.951 GB, free: 77.06 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001981/8.186, allocations: 0.8492 MB / 2.952 GB, free: 77.06 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00226/8.188, allocations: 1.294 MB / 2.953 GB, free: 76.6 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002019/8.19, allocations: 0.9706 MB / 2.954 GB, free: 76.55 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.375e-06/8.19, allocations: 3.781 kB / 2.954 GB, free: 76.55 MB / 0.9948 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.006197/8.196, allocations: 2.563 MB / 2.956 GB, free: 76.29 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008027/8.197, allocations: 3.13 MB / 2.959 GB, free: 72.97 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.48e-05/8.197, allocations: 7.219 kB / 2.959 GB, free: 72.97 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003476/8.197, allocations: 111 kB / 2.959 GB, free: 72.95 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00179/8.199, allocations: 432.3 kB / 2.96 GB, free: 72.95 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007861/8.2, allocations: 1.204 MB / 2.961 GB, free: 71.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003983/8.204, allocations: 329.9 kB / 2.961 GB, free: 71.89 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000313/8.204, allocations: 87.91 kB / 2.961 GB, free: 71.89 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/8.204, allocations: 6.125 kB / 2.961 GB, free: 71.89 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005753/8.21, allocations: 2.281 MB / 2.964 GB, free: 71.81 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.588e-05/8.21, allocations: 11.09 kB / 2.964 GB, free: 71.81 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004185/8.21, allocations: 115.5 kB / 2.964 GB, free: 71.79 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001981/8.212, allocations: 432.1 kB / 2.964 GB, free: 71.79 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003072/8.216, allocations: 3.321 MB / 2.967 GB, free: 69 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004082/8.22, allocations: 306.9 kB / 2.968 GB, free: 68.98 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003891/8.22, allocations: 88.27 kB / 2.968 GB, free: 68.98 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.002437/8.223, allocations: 0.7083 MB / 2.968 GB, free: 68.76 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00117/8.224, allocations: 301.2 kB / 2.969 GB, free: 68.6 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00645/8.23, allocations: 2.628 MB / 2.971 GB, free: 68.41 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.025e-05/8.23, allocations: 20.7 kB / 2.971 GB, free: 68.41 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/8.23, allocations: 3.328 kB / 2.971 GB, free: 68.41 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004651/8.235, allocations: 2.169 MB / 2.973 GB, free: 68.07 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01576/8.251, allocations: 5.63 MB / 2.979 GB, free: 67.19 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-05/8.251, allocations: 9.953 kB / 2.979 GB, free: 67.19 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001639/8.252, allocations: 328.5 kB / 2.979 GB, free: 67.19 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002932/8.253, allocations: 100.3 kB / 2.979 GB, free: 67.17 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001359/8.253, allocations: 46.8 kB / 2.979 GB, free: 67.17 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007234/8.254, allocations: 1.185 MB / 2.981 GB, free: 66.13 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/8.254, allocations: 4.875 kB / 2.981 GB, free: 66.13 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007508/8.261, allocations: 3.926 MB / 2.984 GB, free: 65.35 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002813/8.264, allocations: 0.6848 MB / 2.985 GB, free: 65.08 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007026/8.265, allocations: 36.09 kB / 2.985 GB, free: 65.08 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002601/8.267, allocations: 269 kB / 2.985 GB, free: 65.07 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002028/8.268, allocations: 107.5 kB / 2.986 GB, free: 65.07 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001775/8.268, allocations: 70.86 kB / 2.986 GB, free: 65.07 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.003574/8.271, allocations: 1.842 MB / 2.987 GB, free: 64.93 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.71e-07/8.271, allocations: 3.938 kB / 2.987 GB, free: 64.93 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.008104/8.279, allocations: 1.605 MB / 2.989 GB, free: 64.73 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.01028/8.29, allocations: 6.466 MB / 2.995 GB, free: 62.52 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.007818/8.298, allocations: 3.679 MB / 2.999 GB, free: 62.07 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.325e-05/8.298, allocations: 3.031 kB / 2.999 GB, free: 62.07 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002163/8.3, allocations: 1.13 MB / 3 GB, free: 62.01 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007991/8.308, allocations: 1.414 MB / 3.001 GB, free: 61.99 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01964/8.328, allocations: 12.88 MB / 3.014 GB, free: 53.3 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00151/8.329, allocations: 1.861 MB / 3.016 GB, free: 52.56 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.004084/8.333, allocations: 0.6787 MB / 3.016 GB, free: 52.53 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002088/8.335, allocations: 1.28 MB / 3.018 GB, free: 52.52 MB / 0.9948 GB Notification: Performance of SimCode: time 1.413e-06/8.335, allocations: 2.188 kB / 3.018 GB, free: 52.52 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1806/8.516, allocations: 94.01 MB / 3.109 GB, free: 46.96 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000244/8.516, allocations: 299.8 kB / 3.11 GB, free: 46.61 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.86/14.38, allocations: 3.281 kB / 3.11 GB, free: 46.61 MB / 0.9948 GB (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger.fmu > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe 2>&1)