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_ResetController.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_ResetController,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.945/1.945, allocations: 285.6 MB / 293.1 MB, free: 10.19 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.001463/0.001463, allocations: 176.9 kB / 361.4 MB, free: 6.801 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.075/2.075, allocations: 205.3 MB / 0.62 GB, free: 11.62 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.0009922/0.000992, allocations: 97.31 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.189e-05/2.209e-05, allocations: 0 / 0.8518 GB, free: 2.602 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018/1.018, allocations: 115.3 MB / 0.9645 GB, free: 78.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.884/2.901, allocations: 451 MB / 1.405 GB, free: 117 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004011/2.902, allocations: 101 kB / 1.405 GB, free: 116.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 13.77/16.68, allocations: 2.601 GB / 4.006 GB, free: 78.39 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.605e-06/16.68, allocations: 0 / 4.006 GB, free: 78.39 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.00173/16.68, allocations: 174.4 kB / 4.006 GB, free: 78.36 MB / 1.057 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.02322/16.7, allocations: 5.793 MB / 4.012 GB, free: 75.84 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/16.7, allocations: 15.11 kB / 4.012 GB, free: 75.84 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008913/16.71, allocations: 1.353 MB / 4.013 GB, free: 75.47 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02454/16.73, allocations: 6.518 MB / 4.02 GB, free: 74.51 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002223/16.74, allocations: 0.5445 MB / 4.02 GB, free: 74.5 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00238/16.74, allocations: 244.7 kB / 4.02 GB, free: 74.5 MB / 1.057 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01251/16.75, allocations: 3.466 MB / 4.024 GB, free: 74.48 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01606/16.77, allocations: 3.92 MB / 4.028 GB, free: 73.92 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002747/16.77, allocations: 13.06 kB / 4.028 GB, free: 73.92 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001545/16.77, allocations: 6.734 kB / 4.028 GB, free: 73.92 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001213/16.77, allocations: 98.38 kB / 4.028 GB, free: 73.92 MB / 1.057 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.05177/16.82, allocations: 21.5 MB / 4.049 GB, free: 65.17 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004658/16.83, allocations: 2.188 MB / 4.051 GB, free: 64.84 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002521/16.83, allocations: 1.183 MB / 4.052 GB, free: 64.83 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001763/16.83, allocations: 1.916 MB / 4.054 GB, free: 62.76 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00359/16.83, allocations: 1.38 MB / 4.055 GB, free: 62.66 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005239/16.84, allocations: 370.9 kB / 4.056 GB, free: 62.55 MB / 1.057 GB Notification: Performance of pre-optimization done (n=233): time 1.66e-05/16.84, allocations: 0 / 4.056 GB, free: 62.55 MB / 1.057 GB Notification: Performance of matching and sorting (n=233): time 0.01081/16.85, allocations: 2.912 MB / 4.058 GB, free: 62.2 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001946/16.85, allocations: 499.4 kB / 4.059 GB, free: 61.64 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01251/16.86, allocations: 3.702 MB / 4.063 GB, free: 61.31 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.001279/16.87, allocations: 31.39 kB / 4.063 GB, free: 61.28 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.004189/16.87, allocations: 2.689 MB / 4.065 GB, free: 60.48 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.001826/16.87, allocations: 0.7619 MB / 4.066 GB, free: 59.96 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004123/16.87, allocations: 0 / 4.066 GB, free: 59.96 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0003471/16.87, allocations: 421.4 kB / 4.066 GB, free: 59.66 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002511/16.87, allocations: 1.134 MB / 4.067 GB, free: 59.65 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003093/16.88, allocations: 2.088 MB / 4.069 GB, free: 58.59 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005479/16.88, allocations: 1.624 MB / 4.071 GB, free: 58.54 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.946e-05/16.88, allocations: 6.312 kB / 4.071 GB, free: 58.54 MB / 1.057 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01555/16.9, allocations: 3.795 MB / 4.075 GB, free: 58.15 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.003328/16.9, allocations: 8.78 MB / 4.083 GB, free: 49.01 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001346/16.9, allocations: 24.45 kB / 4.083 GB, free: 49.01 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000119/16.9, allocations: 35.69 kB / 4.083 GB, free: 49.01 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006521/16.91, allocations: 0.9736 MB / 4.084 GB, free: 49.01 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002675/16.91, allocations: 5.469 MB / 4.09 GB, free: 43.74 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008/16.92, allocations: 438.7 kB / 4.09 GB, free: 43.71 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001356/16.92, allocations: 165 kB / 4.09 GB, free: 43.71 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/16.92, allocations: 9.344 kB / 4.09 GB, free: 43.71 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01191/16.93, allocations: 3.21 MB / 4.093 GB, free: 43.62 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001128/16.93, allocations: 25.95 kB / 4.093 GB, free: 43.62 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.536e-05/16.93, allocations: 32.31 kB / 4.093 GB, free: 43.62 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004532/16.94, allocations: 0.886 MB / 4.094 GB, free: 43.62 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.584e-05/16.94, allocations: 42.28 kB / 4.094 GB, free: 43.62 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007957/16.95, allocations: 423.7 kB / 4.095 GB, free: 43.61 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001441/16.95, allocations: 158.8 kB / 4.095 GB, free: 43.61 MB / 1.057 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 () * 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.002439/16.95, allocations: 235.9 kB / 4.095 GB, free: 43.45 MB / 1.057 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01171/16.96, allocations: 2.872 MB / 4.098 GB, free: 43.1 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00262/16.96, allocations: 0.5069 MB / 4.098 GB, free: 42.82 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01274/16.98, allocations: 3.609 MB / 4.102 GB, free: 42.56 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.052e-05/16.98, allocations: 32.41 kB / 4.102 GB, free: 42.56 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/16.98, allocations: 7.156 kB / 4.102 GB, free: 42.56 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006055/16.98, allocations: 2.699 MB / 4.105 GB, free: 42.31 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02488/17.01, allocations: 7.985 MB / 4.112 GB, free: 41.74 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.972e-05/17.01, allocations: 1.969 kB / 4.112 GB, free: 41.74 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003774/17.01, allocations: 0.7076 MB / 4.113 GB, free: 41.71 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.55e-05/17.01, allocations: 13.72 kB / 4.113 GB, free: 41.71 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004293/17.01, allocations: 57.67 kB / 4.113 GB, free: 41.71 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001879/17.01, allocations: 5.357 MB / 4.118 GB, free: 36.44 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/17.01, allocations: 5.344 kB / 4.118 GB, free: 36.44 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01383/17.03, allocations: 5.239 MB / 4.124 GB, free: 35.44 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005505/17.03, allocations: 1.13 MB / 4.125 GB, free: 35.05 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002448/17.04, allocations: 15.41 kB / 4.125 GB, free: 35.05 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007028/17.04, allocations: 435.7 kB / 4.125 GB, free: 35 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009207/17.04, allocations: 175.6 kB / 4.125 GB, free: 34.98 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005172/17.04, allocations: 122.7 kB / 4.125 GB, free: 34.98 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.007737/17.05, allocations: 2.734 MB / 4.128 GB, free: 34.8 MB / 1.057 GB Notification: Performance of sort global known variables: time 9.32e-07/17.05, allocations: 0 / 4.128 GB, free: 34.8 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.01656/17.07, allocations: 2.781 MB / 4.131 GB, free: 34.38 MB / 1.057 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) * 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.01879/17.09, allocations: 8.701 MB / 4.139 GB, free: 31.36 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.01188/17.1, allocations: 5.164 MB / 4.144 GB, free: 30.91 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-05/17.1, allocations: 3.531 kB / 4.144 GB, free: 30.91 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.002883/17.1, allocations: 1.518 MB / 4.146 GB, free: 30.79 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01581/17.12, allocations: 2.322 MB / 4.148 GB, free: 30.66 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03072/17.15, allocations: 8.621 MB / 4.156 GB, free: 28.18 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002919/17.15, allocations: 2.972 MB / 4.159 GB, free: 27.3 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.01064/17.16, allocations: 1.457 MB / 4.161 GB, free: 27.04 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004578/17.17, allocations: 2.475 MB / 4.163 GB, free: 27.03 MB / 1.057 GB Notification: Performance of SimCode: time 1.302e-06/17.17, allocations: 0 / 4.163 GB, free: 27.03 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.321/18.49, allocations: 153.1 MB / 4.313 GB, free: 94.01 MB / 1.089 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001957/18.49, allocations: 238.7 kB / 4.313 GB, free: 93.72 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/29.9, allocations: 0 / 4.313 GB, free: 93.72 MB / 1.089 GB (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_ResetController_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_ResetController.fmu > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe 2>&1)