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.696/1.696, allocations: 288.2 MB / 303.2 MB, free: 8.258 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.001505/0.001505, allocations: 189 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.736/1.736, 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.001002/0.001002, allocations: 110.6 kB / 0.7439 GB, free: 5.969 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005959/0.0005965, allocations: 15.05 kB / 0.8669 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.28, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.207/1.487, allocations: 451.7 MB / 1.421 GB, free: 9.961 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00041/1.487, allocations: 108.3 kB / 1.421 GB, free: 9.898 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 11.1/12.59, allocations: 2.622 GB / 4.042 GB, free: 25.73 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.986e-06/12.59, allocations: 0 / 4.042 GB, free: 25.73 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.001779/12.59, allocations: 170.2 kB / 4.042 GB, free: 25.57 MB / 1.042 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.03181/12.62, allocations: 6.989 MB / 4.049 GB, free: 18.51 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 7.462e-05/12.62, allocations: 15.95 kB / 4.049 GB, free: 18.5 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00391/12.62, allocations: 0.5102 MB / 4.05 GB, free: 17.98 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008824/12.63, allocations: 1.35 MB / 4.051 GB, free: 16.62 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02294/12.66, allocations: 6.577 MB / 4.058 GB, free: 9.996 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00218/12.66, allocations: 0.6992 MB / 4.058 GB, free: 9.297 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002634/12.66, allocations: 412.3 kB / 4.059 GB, free: 8.895 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02017/12.68, allocations: 4.873 MB / 4.063 GB, free: 3.848 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003117/12.68, allocations: 15.84 kB / 4.063 GB, free: 3.832 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00224/12.68, allocations: 156 kB / 4.064 GB, free: 3.68 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001766/12.68, allocations: 99.98 kB / 4.064 GB, free: 3.582 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01537/12.7, allocations: 4.381 MB / 4.068 GB, free: 15.2 MB / 1.057 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.06014/12.76, allocations: 22.31 MB / 4.09 GB, free: 7.668 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008354/12.77, allocations: 2.9 MB / 4.093 GB, free: 4.707 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002499/12.77, allocations: 1.924 MB / 4.094 GB, free: 2.379 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00577/12.78, allocations: 1.786 MB / 4.096 GB, free: 0.5742 MB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005701/12.78, allocations: 0.4888 MB / 4.097 GB, free: 84 kB / 1.073 GB Notification: Performance of pre-optimization done (n=233): time 1.99e-05/12.78, allocations: 4 kB / 4.097 GB, free: 80 kB / 1.073 GB Notification: Performance of matching and sorting (n=233): time 0.9898/13.77, allocations: 4.907 MB / 4.101 GB, free: 71.39 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002316/13.77, allocations: 494.4 kB / 4.102 GB, free: 70.82 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01729/13.79, allocations: 4.586 MB / 4.106 GB, free: 70.49 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.001492/13.79, allocations: 87.5 kB / 4.106 GB, free: 70.46 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.004893/13.8, allocations: 2.646 MB / 4.109 GB, free: 70.17 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.002036/13.8, allocations: 0.7932 MB / 4.11 GB, free: 69.77 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004412/13.8, allocations: 58.97 kB / 4.11 GB, free: 69.77 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0003536/13.8, allocations: 424.5 kB / 4.11 GB, free: 69.46 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004781/13.8, allocations: 1.523 MB / 4.112 GB, free: 69.45 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005533/13.81, allocations: 2.512 MB / 4.114 GB, free: 68.39 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005004/13.81, allocations: 1.786 MB / 4.116 GB, free: 68.32 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.571e-05/13.81, allocations: 6.75 kB / 4.116 GB, free: 68.32 MB / 1.073 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01292/13.83, allocations: 4.564 MB / 4.12 GB, free: 67.87 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.001736/13.83, allocations: 9.068 MB / 4.129 GB, free: 58.41 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.377e-05/13.83, allocations: 25.33 kB / 4.129 GB, free: 58.41 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.057e-05/13.83, allocations: 35.91 kB / 4.129 GB, free: 58.41 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005379/13.83, allocations: 0.9548 MB / 4.13 GB, free: 58.4 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002368/13.84, allocations: 5.403 MB / 4.136 GB, free: 53.14 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007607/13.84, allocations: 0.5116 MB / 4.136 GB, free: 53.12 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001156/13.85, allocations: 165.6 kB / 4.136 GB, free: 53.12 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/13.85, allocations: 3.75 kB / 4.136 GB, free: 53.12 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01261/13.86, allocations: 4.028 MB / 4.14 GB, free: 53 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001243/13.86, allocations: 26.02 kB / 4.14 GB, free: 53 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.398e-05/13.86, allocations: 40.33 kB / 4.14 GB, free: 53 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004452/13.86, allocations: 0.8804 MB / 4.141 GB, free: 53 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001034/13.86, allocations: 47.08 kB / 4.141 GB, free: 53 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007234/13.87, allocations: 0.5121 MB / 4.142 GB, free: 52.99 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001115/13.87, allocations: 162.8 kB / 4.142 GB, free: 52.99 MB / 1.073 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.005233/13.88, allocations: 1.221 MB / 4.143 GB, free: 52.77 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002346/13.88, allocations: 0.5728 MB / 4.144 GB, free: 52.46 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01463/13.89, allocations: 4.359 MB / 4.148 GB, free: 52.21 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.498e-05/13.89, allocations: 33.67 kB / 4.148 GB, free: 52.2 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.749e-05/13.89, allocations: 3.469 kB / 4.148 GB, free: 52.2 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009105/13.9, allocations: 3.356 MB / 4.151 GB, free: 51.93 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0318/13.93, allocations: 9.126 MB / 4.16 GB, free: 51.29 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.488e-05/13.93, allocations: 4.5 kB / 4.16 GB, free: 51.29 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003746/13.94, allocations: 0.7053 MB / 4.161 GB, free: 51.29 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.982e-05/13.94, allocations: 14.52 kB / 4.161 GB, free: 51.29 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005124/13.94, allocations: 89.62 kB / 4.161 GB, free: 51.29 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001907/13.94, allocations: 5.356 MB / 4.166 GB, free: 46.02 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/13.94, allocations: 7.141 kB / 4.166 GB, free: 46.02 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01499/13.96, allocations: 6.381 MB / 4.172 GB, free: 44.93 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004959/13.96, allocations: 1.189 MB / 4.173 GB, free: 44.53 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002679/13.96, allocations: 63.22 kB / 4.173 GB, free: 44.53 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007049/13.97, allocations: 473.1 kB / 4.174 GB, free: 44.52 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006546/13.97, allocations: 180.7 kB / 4.174 GB, free: 44.51 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007042/13.97, allocations: 121.1 kB / 4.174 GB, free: 44.51 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.009831/13.98, allocations: 3.507 MB / 4.178 GB, free: 44.3 MB / 1.073 GB Notification: Performance of sort global known variables: time 6.42e-07/13.98, allocations: 0 / 4.178 GB, free: 44.3 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.01748/14, allocations: 2.812 MB / 4.18 GB, free: 44.2 MB / 1.073 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.02457/14.02, allocations: 9.823 MB / 4.19 GB, free: 41.57 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.01741/14.04, allocations: 6.24 MB / 4.196 GB, free: 41.17 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.636e-05/14.04, allocations: 6.125 kB / 4.196 GB, free: 41.17 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.005127/14.05, allocations: 1.926 MB / 4.198 GB, free: 41.09 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01575/14.06, allocations: 2.926 MB / 4.201 GB, free: 41.05 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04096/14.1, allocations: 27.59 MB / 4.228 GB, free: 21.03 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005288/14.11, allocations: 2.962 MB / 4.231 GB, free: 20.16 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.01064/14.12, allocations: 1.278 MB / 4.232 GB, free: 19.95 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006262/14.13, allocations: 2.573 MB / 4.234 GB, free: 19.94 MB / 1.073 GB Notification: Performance of SimCode: time 1.263e-06/14.13, allocations: 0 / 4.234 GB, free: 19.94 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3531/14.48, allocations: 176.8 MB / 4.407 GB, free: 8.473 MB / 1.073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002369/14.48, allocations: 307.8 kB / 4.407 GB, free: 8.121 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/25.13, allocations: 0 / 4.407 GB, free: 8.121 MB / 1.073 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)