Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.615/2.615, allocations: 284.9 MB / 292.4 MB, free: 10.56 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.001509/0.001509, allocations: 180.8 kB / 360.6 MB, free: 7.297 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.121/2.121, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001107/0.001105, allocations: 93.97 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.628e-05/2.619e-05, allocations: 4 kB / 0.8509 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8152/0.8153, allocations: 115.3 MB / 0.9634 GB, free: 78.57 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.326/2.142, allocations: 450.8 MB / 1.404 GB, free: 118.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003403/2.142, allocations: 104.5 kB / 1.404 GB, free: 118.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 14.14/16.28, allocations: 2.601 GB / 4.005 GB, free: 76.68 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.874e-06/16.28, allocations: 0 / 4.005 GB, free: 76.68 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.001332/16.29, allocations: 168.3 kB / 4.005 GB, free: 76.65 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.02279/16.31, allocations: 5.802 MB / 4.011 GB, free: 74.14 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/16.31, allocations: 14.33 kB / 4.011 GB, free: 74.14 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.011/16.32, allocations: 1.354 MB / 4.012 GB, free: 73.77 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02401/16.34, allocations: 6.518 MB / 4.018 GB, free: 72.81 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003541/16.35, allocations: 0.5463 MB / 4.019 GB, free: 72.8 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001817/16.35, allocations: 242.4 kB / 4.019 GB, free: 72.8 MB / 1.057 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01211/16.36, allocations: 3.465 MB / 4.023 GB, free: 72.78 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01396/16.38, allocations: 3.919 MB / 4.026 GB, free: 72.22 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001395/16.38, allocations: 5.5 kB / 4.026 GB, free: 72.22 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008891/16.38, allocations: 10.48 kB / 4.026 GB, free: 72.22 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001406/16.38, allocations: 98.69 kB / 4.027 GB, free: 72.22 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.05488/16.43, allocations: 21.51 MB / 4.048 GB, free: 63.47 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00514/16.44, allocations: 2.19 MB / 4.05 GB, free: 63.15 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003353/16.44, allocations: 1.177 MB / 4.051 GB, free: 63.14 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002378/16.44, allocations: 1.921 MB / 4.053 GB, free: 61.07 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004023/16.45, allocations: 1.38 MB / 4.054 GB, free: 60.96 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00452/16.45, allocations: 374 kB / 4.054 GB, free: 60.86 MB / 1.057 GB Notification: Performance of pre-optimization done (n=233): time 1.908e-05/16.45, allocations: 0 / 4.054 GB, free: 60.86 MB / 1.057 GB Notification: Performance of matching and sorting (n=233): time 0.01191/16.46, allocations: 2.917 MB / 4.057 GB, free: 60.5 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001868/16.46, allocations: 494.5 kB / 4.058 GB, free: 59.94 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01101/16.47, allocations: 3.702 MB / 4.061 GB, free: 59.62 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.001085/16.48, allocations: 32.45 kB / 4.061 GB, free: 59.59 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.004199/16.48, allocations: 2.672 MB / 4.064 GB, free: 58.79 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.001585/16.48, allocations: 0.762 MB / 4.065 GB, free: 58.28 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004748/16.48, allocations: 6.812 kB / 4.065 GB, free: 58.28 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0002766/16.48, allocations: 416.5 kB / 4.065 GB, free: 57.97 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003292/16.49, allocations: 1.133 MB / 4.066 GB, free: 57.96 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004499/16.49, allocations: 2.089 MB / 4.068 GB, free: 56.91 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006891/16.5, allocations: 1.615 MB / 4.07 GB, free: 56.86 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.017e-05/16.5, allocations: 3.781 kB / 4.07 GB, free: 56.86 MB / 1.057 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01532/16.51, allocations: 3.806 MB / 4.074 GB, free: 56.47 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.001956/16.51, allocations: 8.782 MB / 4.082 GB, free: 47.32 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001542/16.52, allocations: 25.7 kB / 4.082 GB, free: 47.32 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001025/16.52, allocations: 34.28 kB / 4.082 GB, free: 47.32 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009903/16.53, allocations: 0.971 MB / 4.083 GB, free: 47.32 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003337/16.53, allocations: 5.468 MB / 4.088 GB, free: 42.06 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009539/16.54, allocations: 441.6 kB / 4.089 GB, free: 42.03 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001241/16.54, allocations: 162.8 kB / 4.089 GB, free: 42.03 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/16.54, allocations: 9.078 kB / 4.089 GB, free: 42.03 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01267/16.55, allocations: 3.208 MB / 4.092 GB, free: 41.94 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001224/16.55, allocations: 23.98 kB / 4.092 GB, free: 41.94 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.709e-05/16.55, allocations: 41.72 kB / 4.092 GB, free: 41.94 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007591/16.56, allocations: 0.882 MB / 4.093 GB, free: 41.94 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.025e-05/16.56, allocations: 43.56 kB / 4.093 GB, free: 41.94 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00907/16.57, allocations: 419.3 kB / 4.094 GB, free: 41.92 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001183/16.57, allocations: 161 kB / 4.094 GB, free: 41.92 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.001353/16.57, allocations: 229 kB / 4.094 GB, free: 41.77 MB / 1.057 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01167/16.58, allocations: 2.875 MB / 4.097 GB, free: 41.41 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002233/16.59, allocations: 0.5084 MB / 4.097 GB, free: 41.14 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01569/16.6, allocations: 3.602 MB / 4.101 GB, free: 40.91 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.583e-05/16.6, allocations: 34.72 kB / 4.101 GB, free: 40.91 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/16.6, allocations: 0 / 4.101 GB, free: 40.91 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0104/16.61, allocations: 2.703 MB / 4.103 GB, free: 40.66 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02754/16.64, allocations: 7.993 MB / 4.111 GB, free: 40.08 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.877e-05/16.64, allocations: 3.438 kB / 4.111 GB, free: 40.08 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006658/16.65, allocations: 0.7092 MB / 4.112 GB, free: 40.08 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.886e-05/16.65, allocations: 12 kB / 4.112 GB, free: 40.08 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006425/16.65, allocations: 56.84 kB / 4.112 GB, free: 40.08 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002357/16.65, allocations: 5.362 MB / 4.117 GB, free: 34.81 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.237e-06/16.65, allocations: 2.125 kB / 4.117 GB, free: 34.81 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01725/16.67, allocations: 5.239 MB / 4.122 GB, free: 33.81 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005158/16.67, allocations: 1.126 MB / 4.123 GB, free: 33.42 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00238/16.67, allocations: 14.84 kB / 4.123 GB, free: 33.42 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009021/16.68, allocations: 429.6 kB / 4.124 GB, free: 33.37 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008628/16.68, allocations: 181.1 kB / 4.124 GB, free: 33.36 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000555/16.68, allocations: 121.6 kB / 4.124 GB, free: 33.36 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.008133/16.69, allocations: 2.734 MB / 4.127 GB, free: 33.18 MB / 1.057 GB Notification: Performance of sort global known variables: time 7.21e-07/16.69, allocations: 0 / 4.127 GB, free: 33.18 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.01727/16.71, allocations: 2.781 MB / 4.13 GB, free: 32.76 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.02345/16.73, allocations: 8.705 MB / 4.138 GB, free: 29.74 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.01696/16.75, allocations: 5.159 MB / 4.143 GB, free: 29.32 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.902e-05/16.75, allocations: 7.219 kB / 4.143 GB, free: 29.32 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.005027/16.76, allocations: 1.524 MB / 4.145 GB, free: 29.24 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02138/16.78, allocations: 2.322 MB / 4.147 GB, free: 29.12 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03329/16.81, allocations: 8.614 MB / 4.155 GB, free: 26.65 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005476/16.82, allocations: 2.966 MB / 4.158 GB, free: 25.77 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0155/16.83, allocations: 1.462 MB / 4.16 GB, free: 25.51 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006419/16.84, allocations: 2.478 MB / 4.162 GB, free: 25.5 MB / 1.057 GB Notification: Performance of SimCode: time 1.402e-06/16.84, allocations: 4 kB / 4.162 GB, free: 25.5 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.337/18.18, allocations: 153 MB / 4.311 GB, free: 92.15 MB / 1.089 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002509/18.18, allocations: 225.8 kB / 4.312 GB, free: 91.87 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/29.86, allocations: 0 / 4.312 GB, free: 91.87 MB / 1.089 GB (rm -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe ; mkfifo Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe >> ../files/Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_ResetController_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_ResetController.fmu > Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe 2>&1)