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.806/1.806, allocations: 292.6 MB / 307.5 MB, free: 5.16 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.001307/0.001307, allocations: 192.1 kB / 377.1 MB, free: 1.512 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.774/1.774, allocations: 205.4 MB / 0.6366 GB, free: 8.609 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.0008526/0.0008521, allocations: 91.2 kB / 0.7509 GB, free: 63.02 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.0003599, allocations: 16 kB / 0.8749 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2826, allocations: 116.3 MB / 0.9884 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.758/2.041, allocations: 450.3 MB / 1.428 GB, free: 267.4 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003476/2.041, allocations: 107.6 kB / 1.428 GB, free: 267.4 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 6.37/8.411, allocations: 1.494 GB / 2.922 GB, free: 82.21 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.377e-06/8.411, allocations: 0 / 2.922 GB, free: 82.21 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0005016/8.411, allocations: 87.98 kB / 2.922 GB, free: 82.2 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.01416/8.426, allocations: 3.898 MB / 2.926 GB, free: 80.6 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/8.426, allocations: 10.06 kB / 2.926 GB, free: 80.6 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001393/8.427, allocations: 277.6 kB / 2.926 GB, free: 80.55 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004705/8.432, allocations: 0.7938 MB / 2.927 GB, free: 80.36 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01039/8.442, allocations: 3.409 MB / 2.93 GB, free: 79.75 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001389/8.444, allocations: 425.5 kB / 2.931 GB, free: 79.75 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007221/8.444, allocations: 211.1 kB / 2.931 GB, free: 79.75 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005817/8.45, allocations: 2.575 MB / 2.933 GB, free: 79.45 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.802e-05/8.45, allocations: 2.281 kB / 2.933 GB, free: 79.45 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002394/8.451, allocations: 82.69 kB / 2.933 GB, free: 79.45 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.71e-05/8.451, allocations: 47.78 kB / 2.934 GB, free: 79.45 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005898/8.457, allocations: 2.384 MB / 2.936 GB, free: 79.43 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.02142/8.478, allocations: 12.7 MB / 2.948 GB, free: 73.42 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003891/8.482, allocations: 1.72 MB / 2.95 GB, free: 73.18 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001429/8.483, allocations: 1.65 MB / 2.952 GB, free: 71.4 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00244/8.486, allocations: 1.077 MB / 2.953 GB, free: 71.28 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00262/8.488, allocations: 209.7 kB / 2.953 GB, free: 71.2 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=130): time 7.294e-06/8.489, allocations: 0.5625 kB / 2.953 GB, free: 71.2 MB / 0.9948 GB Notification: Performance of matching and sorting (n=130): time 0.009654/8.498, allocations: 3.113 MB / 2.956 GB, free: 70.64 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002039/8.498, allocations: 311.9 kB / 2.956 GB, free: 70.3 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008437/8.507, allocations: 2.37 MB / 2.958 GB, free: 70.07 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009424/8.508, allocations: 63.36 kB / 2.959 GB, free: 70.04 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002281/8.51, allocations: 1.327 MB / 2.96 GB, free: 69.68 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001004/8.511, allocations: 453.1 kB / 2.96 GB, free: 69.39 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/8.511, allocations: 30.38 kB / 2.96 GB, free: 69.39 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001658/8.512, allocations: 367 kB / 2.961 GB, free: 69.08 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002454/8.514, allocations: 0.8436 MB / 2.961 GB, free: 69.08 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002727/8.517, allocations: 1.293 MB / 2.963 GB, free: 68.62 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002495/8.519, allocations: 0.9707 MB / 2.964 GB, free: 68.57 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.116e-05/8.519, allocations: 3.969 kB / 2.964 GB, free: 68.57 MB / 0.9948 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.007021/8.526, allocations: 2.557 MB / 2.966 GB, free: 68.31 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007961/8.527, allocations: 3.126 MB / 2.969 GB, free: 64.99 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.706e-05/8.527, allocations: 10 kB / 2.969 GB, free: 64.99 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003826/8.528, allocations: 120.1 kB / 2.969 GB, free: 64.97 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001923/8.53, allocations: 432.8 kB / 2.97 GB, free: 64.97 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007295/8.53, allocations: 1.206 MB / 2.971 GB, free: 63.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003988/8.534, allocations: 327.6 kB / 2.971 GB, free: 63.91 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002908/8.535, allocations: 87.28 kB / 2.971 GB, free: 63.91 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/8.535, allocations: 7.109 kB / 2.971 GB, free: 63.91 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005025/8.54, allocations: 2.276 MB / 2.974 GB, free: 63.83 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.602e-05/8.54, allocations: 11.47 kB / 2.974 GB, free: 63.83 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003743/8.54, allocations: 113 kB / 2.974 GB, free: 63.81 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001979/8.542, allocations: 431.1 kB / 2.974 GB, free: 63.81 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003236/8.545, allocations: 3.318 MB / 2.977 GB, free: 61.02 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003944/8.549, allocations: 308.3 kB / 2.978 GB, free: 61 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003444/8.55, allocations: 89.67 kB / 2.978 GB, free: 61 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.002334/8.552, allocations: 0.7047 MB / 2.978 GB, free: 60.78 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009465/8.553, allocations: 306.4 kB / 2.979 GB, free: 60.62 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005635/8.559, allocations: 2.621 MB / 2.981 GB, free: 60.44 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.463e-05/8.559, allocations: 17.97 kB / 2.981 GB, free: 60.44 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/8.559, allocations: 0 / 2.981 GB, free: 60.44 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003796/8.562, allocations: 2.179 MB / 2.983 GB, free: 60.09 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01193/8.574, allocations: 5.63 MB / 2.989 GB, free: 59.21 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/8.574, allocations: 5.594 kB / 2.989 GB, free: 59.21 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001438/8.576, allocations: 326.4 kB / 2.989 GB, free: 59.21 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000241/8.576, allocations: 101.7 kB / 2.989 GB, free: 59.19 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001205/8.576, allocations: 53.61 kB / 2.989 GB, free: 59.19 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006142/8.577, allocations: 1.178 MB / 2.99 GB, free: 58.15 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/8.577, allocations: 5.75 kB / 2.991 GB, free: 58.15 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007132/8.584, allocations: 3.929 MB / 2.994 GB, free: 57.36 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002304/8.586, allocations: 0.6788 MB / 2.995 GB, free: 57.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003805/8.587, allocations: 33.75 kB / 2.995 GB, free: 57.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002165/8.589, allocations: 272.2 kB / 2.995 GB, free: 57.09 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/8.589, allocations: 101.4 kB / 2.995 GB, free: 57.09 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001494/8.589, allocations: 77.28 kB / 2.995 GB, free: 57.09 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.003713/8.593, allocations: 1.834 MB / 2.997 GB, free: 56.95 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4.4e-07/8.593, allocations: 0 / 2.997 GB, free: 56.95 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.006036/8.599, allocations: 1.612 MB / 2.999 GB, free: 56.74 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.009722/8.609, allocations: 6.468 MB / 3.005 GB, free: 54.5 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.00719/8.616, allocations: 3.676 MB / 3.009 GB, free: 54 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 9.307e-06/8.616, allocations: 0 / 3.009 GB, free: 54 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002091/8.618, allocations: 1.13 MB / 3.01 GB, free: 53.91 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007134/8.625, allocations: 1.417 MB / 3.011 GB, free: 53.83 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01651/8.642, allocations: 12.89 MB / 3.024 GB, free: 44.89 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00134/8.643, allocations: 1.859 MB / 3.026 GB, free: 44.1 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.003804/8.647, allocations: 0.6774 MB / 3.026 GB, free: 44 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001801/8.649, allocations: 1.277 MB / 3.028 GB, free: 43.99 MB / 0.9948 GB Notification: Performance of SimCode: time 1.212e-06/8.649, allocations: 0 / 3.028 GB, free: 43.99 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2039/8.853, allocations: 94 MB / 3.119 GB, free: 38 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002418/8.853, allocations: 286.3 kB / 3.12 GB, free: 37.64 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.508/15.36, allocations: 3.281 kB / 3.12 GB, free: 37.64 MB / 0.9948 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)