Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.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_ResetController,fileNamePrefix="Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_ResetController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController,fileNamePrefix="Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_ResetController",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.812/1.812, allocations: 292.6 MB / 307.5 MB, free: 5.188 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.002014/0.002014, allocations: 195.9 kB / 377.1 MB, free: 1.516 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.666/1.666, allocations: 205.4 MB / 0.6366 GB, free: 8.633 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.001568/0.001568, allocations: 96.88 kB / 0.7509 GB, free: 62.99 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003831/0.0003831, allocations: 8 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3251, allocations: 116.3 MB / 0.9884 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.842/2.167, allocations: 452.7 MB / 1.431 GB, free: 267.3 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003268/2.168, allocations: 115.2 kB / 1.431 GB, free: 267.3 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 12.1/14.27, allocations: 2.622 GB / 4.052 GB, free: 60.27 MB / 1.073 GB Notification: Performance of FrontEnd: time 2.886e-06/14.27, allocations: 0.9688 kB / 4.052 GB, free: 60.27 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.001756/14.27, allocations: 165.6 kB / 4.052 GB, free: 60.24 MB / 1.073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 957 * Number of variables: 957 Notification: Performance of Generate backend data structure: time 0.03309/14.31, allocations: 7.013 MB / 4.059 GB, free: 57.56 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 7.401e-05/14.31, allocations: 8.812 kB / 4.059 GB, free: 57.56 MB / 1.073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003718/14.31, allocations: 0.5023 MB / 4.06 GB, free: 57.5 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008676/14.32, allocations: 1.359 MB / 4.061 GB, free: 57.12 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02312/14.34, allocations: 6.578 MB / 4.067 GB, free: 56.17 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002437/14.35, allocations: 0.6911 MB / 4.068 GB, free: 56.16 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002506/14.35, allocations: 415.1 kB / 4.069 GB, free: 56.16 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0144/14.36, allocations: 4.874 MB / 4.073 GB, free: 55.59 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001102/14.36, allocations: 9.188 kB / 4.073 GB, free: 55.59 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006518/14.36, allocations: 158 kB / 4.073 GB, free: 55.59 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001152/14.36, allocations: 102.1 kB / 4.074 GB, free: 55.59 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01309/14.38, allocations: 4.378 MB / 4.078 GB, free: 55.56 MB / 1.073 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.06548/14.44, allocations: 22.33 MB / 4.1 GB, free: 46.64 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00859/14.45, allocations: 2.895 MB / 4.102 GB, free: 46.31 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002044/14.45, allocations: 1.911 MB / 4.104 GB, free: 44.25 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005924/14.46, allocations: 1.794 MB / 4.106 GB, free: 44.14 MB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005565/14.46, allocations: 0.4894 MB / 4.107 GB, free: 43.98 MB / 1.073 GB Notification: Performance of pre-optimization done (n=233): time 2.648e-05/14.46, allocations: 0.5625 kB / 4.107 GB, free: 43.98 MB / 1.073 GB Notification: Performance of matching and sorting (n=233): time 0.01425/14.48, allocations: 4.917 MB / 4.111 GB, free: 43.46 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002387/14.48, allocations: 497.2 kB / 4.112 GB, free: 42.89 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01108/14.49, allocations: 4.587 MB / 4.116 GB, free: 42.52 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.001332/14.49, allocations: 89.81 kB / 4.116 GB, free: 42.48 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.003509/14.5, allocations: 2.645 MB / 4.119 GB, free: 41.83 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001678/14.5, allocations: 0.7918 MB / 4.12 GB, free: 41.32 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002646/14.5, allocations: 60.03 kB / 4.12 GB, free: 41.32 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0002205/14.5, allocations: 422 kB / 4.12 GB, free: 41.01 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0045/14.5, allocations: 1.52 MB / 4.122 GB, free: 41 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004876/14.51, allocations: 2.516 MB / 4.124 GB, free: 39.94 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004451/14.51, allocations: 1.783 MB / 4.126 GB, free: 39.86 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.668e-05/14.51, allocations: 11.77 kB / 4.126 GB, free: 39.85 MB / 1.073 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01432/14.53, allocations: 4.564 MB / 4.13 GB, free: 39.41 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.002632/14.53, allocations: 9.072 MB / 4.139 GB, free: 29.94 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.465e-05/14.53, allocations: 22.83 kB / 4.139 GB, free: 29.94 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.206e-05/14.53, allocations: 34.78 kB / 4.139 GB, free: 29.94 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00665/14.54, allocations: 0.9484 MB / 4.14 GB, free: 29.94 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00592/14.54, allocations: 5.407 MB / 4.145 GB, free: 40.68 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01126/14.55, allocations: 0.5225 MB / 4.146 GB, free: 40.64 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001892/14.55, allocations: 162.4 kB / 4.146 GB, free: 40.64 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/14.55, allocations: 3.406 kB / 4.146 GB, free: 40.64 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01666/14.57, allocations: 4.027 MB / 4.15 GB, free: 40.52 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001938/14.57, allocations: 21.38 kB / 4.15 GB, free: 40.52 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001054/14.57, allocations: 38.11 kB / 4.15 GB, free: 40.52 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005147/14.58, allocations: 0.8824 MB / 4.151 GB, free: 40.52 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001437/14.58, allocations: 43.95 kB / 4.151 GB, free: 40.52 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008473/14.59, allocations: 0.5089 MB / 4.152 GB, free: 40.5 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001069/14.59, allocations: 160.5 kB / 4.152 GB, free: 40.5 MB / 1.089 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$whenCondition3,hex1.trigger,$PRE.tri.pulseStart,tri.pulseStart,$whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,$PRE.TCon_in.nextEvent,TCon_in.nextEvent,TCon_in.nextEventScaled,hex3.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (381): * Single equations (assignments): 365 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005967/14.59, allocations: 1.221 MB / 4.153 GB, free: 40.27 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002987/14.6, allocations: 0.5741 MB / 4.153 GB, free: 39.96 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01756/14.61, allocations: 4.353 MB / 4.158 GB, free: 39.69 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.601e-05/14.61, allocations: 37.11 kB / 4.158 GB, free: 39.69 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-05/14.61, allocations: 3.375 kB / 4.158 GB, free: 39.69 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01091/14.62, allocations: 3.355 MB / 4.161 GB, free: 39.41 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03535/14.66, allocations: 9.133 MB / 4.17 GB, free: 38.76 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.024e-05/14.66, allocations: 6.125 kB / 4.17 GB, free: 38.76 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004415/14.66, allocations: 0.7065 MB / 4.171 GB, free: 38.75 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.592e-05/14.66, allocations: 11.84 kB / 4.171 GB, free: 38.75 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007726/14.66, allocations: 87.86 kB / 4.171 GB, free: 38.75 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00368/14.67, allocations: 5.35 MB / 4.176 GB, free: 33.49 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-05/14.67, allocations: 9.281 kB / 4.176 GB, free: 33.49 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01895/14.69, allocations: 6.389 MB / 4.182 GB, free: 32.34 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006379/14.69, allocations: 1.182 MB / 4.183 GB, free: 31.93 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003704/14.7, allocations: 65.16 kB / 4.183 GB, free: 31.93 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007774/14.71, allocations: 480 kB / 4.184 GB, free: 31.88 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001038/14.71, allocations: 179 kB / 4.184 GB, free: 31.86 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001075/14.71, allocations: 121.8 kB / 4.184 GB, free: 31.86 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.0129/14.72, allocations: 3.501 MB / 4.188 GB, free: 31.65 MB / 1.089 GB Notification: Performance of sort global known variables: time 9.82e-07/14.72, allocations: 0 / 4.188 GB, free: 31.65 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.01963/14.74, allocations: 2.805 MB / 4.19 GB, free: 31.34 MB / 1.089 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 15 (hex1.thrWayVal.vol.dynBal.U,hex1.thrWayVal.filter.x[1],hex1.thrWayVal.filter.x[2],hex1.con.I.y,TSen1.T,TSen2.T,hex2.thrWayVal.vol.dynBal.U,hex2.thrWayVal.filter.x[1],hex2.thrWayVal.filter.x[2],hex2.con.I.y,hex3.thrWayVal.vol.dynBal.U,hex3.thrWayVal.filter.x[1],hex3.thrWayVal.filter.x[2],hex3.con.I.y,TSen3.T) * Number of discrete variables: 10 (hex1.trigger,$whenCondition3,$whenCondition2,$whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled,tri.pulseStart) * 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 (277): * Single equations (assignments): 253 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 13 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02922/14.77, allocations: 9.832 MB / 4.2 GB, free: 28.22 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.02028/14.79, allocations: 6.241 MB / 4.206 GB, free: 27.71 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 1.735e-05/14.79, allocations: 8.75 kB / 4.206 GB, free: 27.71 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.005669/14.8, allocations: 1.926 MB / 4.208 GB, free: 27.61 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01788/14.81, allocations: 2.919 MB / 4.211 GB, free: 27.44 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05123/14.86, allocations: 27.59 MB / 4.238 GB, free: 22.96 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003736/14.87, allocations: 2.957 MB / 4.241 GB, free: 22.1 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.009412/14.88, allocations: 1.28 MB / 4.242 GB, free: 21.89 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006157/14.88, allocations: 2.571 MB / 4.244 GB, free: 21.89 MB / 1.104 GB Notification: Performance of SimCode: time 1.894e-06/14.88, allocations: 0 / 4.244 GB, free: 21.89 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3928/15.28, allocations: 176.8 MB / 4.417 GB, free: 4.129 MB / 1.12 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002724/15.28, allocations: 300.1 kB / 4.417 GB, free: 3.773 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.14/25.42, allocations: 0 / 4.417 GB, free: 3.773 MB / 1.12 GB (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_ResetController_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_ResetController.fmu > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe 2>&1)