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.817/1.817, allocations: 285.4 MB / 298 MB, free: 5.984 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.001064/0.001064, allocations: 180.8 kB / 366.4 MB, free: 2.07 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.902/1.902, allocations: 205.1 MB / 0.6248 GB, free: 7.715 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.0008401/0.0008399, allocations: 96.05 kB / 0.738 GB, free: 40.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.231e-05/4.234e-05, allocations: 0 / 0.8584 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8476/0.8477, allocations: 115.3 MB / 0.971 GB, free: 77.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.256/2.104, allocations: 451.7 MB / 1.412 GB, free: 109 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003154/2.104, allocations: 99 kB / 1.412 GB, free: 108.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 10.87/12.97, allocations: 2.614 GB / 4.026 GB, free: 68.91 MB / 1.057 GB Notification: Performance of FrontEnd: time 3.006e-06/12.97, allocations: 0.625 kB / 4.026 GB, free: 68.91 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.001837/12.98, allocations: 165.8 kB / 4.026 GB, free: 68.88 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.0272/13, allocations: 5.8 MB / 4.032 GB, free: 66.42 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 6.574e-05/13, allocations: 13.09 kB / 4.032 GB, free: 66.42 MB / 1.057 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002888/13.01, allocations: 0.4962 MB / 4.032 GB, free: 66.36 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01135/13.02, allocations: 1.359 MB / 4.034 GB, free: 65.99 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02849/13.05, allocations: 6.518 MB / 4.04 GB, free: 65.03 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003313/13.05, allocations: 0.6922 MB / 4.041 GB, free: 65.02 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002472/13.05, allocations: 414.8 kB / 4.041 GB, free: 65.02 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01402/13.07, allocations: 4.479 MB / 4.045 GB, free: 64.45 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001006/13.07, allocations: 9.234 kB / 4.045 GB, free: 64.45 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006371/13.07, allocations: 161.7 kB / 4.046 GB, free: 64.45 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001098/13.07, allocations: 97.05 kB / 4.046 GB, free: 64.45 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008042/13.08, allocations: 3.645 MB / 4.049 GB, free: 64.41 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.04369/13.12, allocations: 22.32 MB / 4.071 GB, free: 55.48 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003529/13.12, allocations: 2.241 MB / 4.073 GB, free: 55.14 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00176/13.12, allocations: 1.226 MB / 4.074 GB, free: 55.12 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001583/13.13, allocations: 1.911 MB / 4.076 GB, free: 53.06 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002471/13.13, allocations: 1.449 MB / 4.078 GB, free: 52.96 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004633/13.13, allocations: 0.4936 MB / 4.078 GB, free: 52.79 MB / 1.057 GB Notification: Performance of pre-optimization done (n=233): time 2.241e-05/13.13, allocations: 0 / 4.078 GB, free: 52.79 MB / 1.057 GB Notification: Performance of matching and sorting (n=233): time 0.0069/13.14, allocations: 2.835 MB / 4.081 GB, free: 52.38 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000197/13.14, allocations: 497.6 kB / 4.081 GB, free: 51.82 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009664/13.15, allocations: 4.518 MB / 4.086 GB, free: 51.41 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.001131/13.15, allocations: 89.75 kB / 4.086 GB, free: 51.38 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.002908/13.15, allocations: 2.644 MB / 4.088 GB, free: 50.73 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.001395/13.16, allocations: 0.7912 MB / 4.089 GB, free: 50.22 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002444/13.16, allocations: 62.92 kB / 4.089 GB, free: 50.22 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001963/13.16, allocations: 425.3 kB / 4.09 GB, free: 49.91 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002117/13.16, allocations: 1.174 MB / 4.091 GB, free: 49.9 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002674/13.16, allocations: 2.158 MB / 4.093 GB, free: 48.84 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00233/13.16, allocations: 1.446 MB / 4.094 GB, free: 48.74 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.74e-05/13.16, allocations: 12.72 kB / 4.094 GB, free: 48.74 MB / 1.057 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.008218/13.17, allocations: 3.857 MB / 4.098 GB, free: 48.29 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.00223/13.17, allocations: 9.066 MB / 4.107 GB, free: 38.82 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.096e-05/13.17, allocations: 22.53 kB / 4.107 GB, free: 38.82 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.056e-05/13.17, allocations: 34.28 kB / 4.107 GB, free: 38.82 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005312/13.18, allocations: 0.9511 MB / 4.108 GB, free: 38.82 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002227/13.18, allocations: 5.402 MB / 4.113 GB, free: 33.56 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007593/13.19, allocations: 0.5188 MB / 4.114 GB, free: 33.54 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001077/13.19, allocations: 159.4 kB / 4.114 GB, free: 33.54 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/13.19, allocations: 6.625 kB / 4.114 GB, free: 33.54 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006481/13.2, allocations: 3.32 MB / 4.117 GB, free: 33.42 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.219e-05/13.2, allocations: 24.59 kB / 4.117 GB, free: 33.42 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.862e-05/13.2, allocations: 35.81 kB / 4.117 GB, free: 33.42 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00381/13.2, allocations: 0.8779 MB / 4.118 GB, free: 33.42 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-05/13.2, allocations: 43.56 kB / 4.118 GB, free: 33.42 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006545/13.21, allocations: 0.5137 MB / 4.119 GB, free: 33.39 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007855/13.21, allocations: 162.2 kB / 4.119 GB, free: 33.39 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.001151/13.21, allocations: 329.4 kB / 4.119 GB, free: 33.24 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002008/13.21, allocations: 0.5739 MB / 4.12 GB, free: 32.93 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007972/13.22, allocations: 3.683 MB / 4.123 GB, free: 32.65 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.382e-05/13.22, allocations: 32.42 kB / 4.123 GB, free: 32.65 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/13.22, allocations: 0 / 4.123 GB, free: 32.65 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004035/13.22, allocations: 2.658 MB / 4.126 GB, free: 32.38 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02079/13.24, allocations: 8.437 MB / 4.134 GB, free: 31.71 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/13.24, allocations: 6.188 kB / 4.134 GB, free: 31.71 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003285/13.25, allocations: 0.702 MB / 4.135 GB, free: 31.71 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.637e-05/13.25, allocations: 9.781 kB / 4.135 GB, free: 31.71 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002262/13.25, allocations: 84.25 kB / 4.135 GB, free: 31.71 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0017/13.25, allocations: 5.355 MB / 4.14 GB, free: 26.45 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/13.25, allocations: 4.188 kB / 4.14 GB, free: 26.45 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009178/13.26, allocations: 5.349 MB / 4.145 GB, free: 25.35 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004523/13.26, allocations: 1.192 MB / 4.147 GB, free: 24.93 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002079/13.27, allocations: 58.5 kB / 4.147 GB, free: 24.93 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005791/13.27, allocations: 480.6 kB / 4.147 GB, free: 24.89 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000368/13.27, allocations: 173.8 kB / 4.147 GB, free: 24.88 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003827/13.27, allocations: 124.6 kB / 4.147 GB, free: 24.88 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.007356/13.28, allocations: 3.437 MB / 4.151 GB, free: 24.63 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.733e-06/13.28, allocations: 0 / 4.151 GB, free: 24.63 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.01366/13.29, allocations: 2.804 MB / 4.153 GB, free: 24.32 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.01443/13.31, allocations: 8.777 MB / 4.162 GB, free: 21.24 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.01216/13.32, allocations: 5.408 MB / 4.167 GB, free: 20.77 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-05/13.32, allocations: 4 kB / 4.167 GB, free: 20.77 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.003368/13.32, allocations: 1.579 MB / 4.169 GB, free: 20.63 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01807/13.34, allocations: 2.921 MB / 4.172 GB, free: 20.45 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03075/13.37, allocations: 8.977 MB / 4.18 GB, free: 17.96 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002813/13.38, allocations: 2.973 MB / 4.183 GB, free: 17.07 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.01093/13.39, allocations: 1.597 MB / 4.185 GB, free: 16.79 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004007/13.39, allocations: 2.474 MB / 4.187 GB, free: 16.79 MB / 1.057 GB Notification: Performance of SimCode: time 1.733e-06/13.39, allocations: 0 / 4.187 GB, free: 16.79 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.194/14.58, allocations: 184.8 MB / 4.368 GB, free: 112.1 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001823/14.59, allocations: 290.5 kB / 4.368 GB, free: 111.8 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/26.7, allocations: 0 / 4.368 GB, free: 111.8 MB / 1.104 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)