Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.396/1.396, allocations: 251.9 MB / 266.8 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 181.2 kB / 326.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.961/1.961, allocations: 205.4 MB / 0.5775 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 101.6 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003829/0.0003829, allocations: 11.28 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2942, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.167/1.462, allocations: 443.9 MB / 1.334 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003935/1.462, allocations: 111.5 kB / 1.334 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 10.88/12.34, allocations: 2.548 GB / 3.882 GB, free: 3.586 MB / 1.01 GB Notification: Performance of FrontEnd: time 4.719e-06/12.34, allocations: 0 / 3.882 GB, free: 3.586 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001768/12.34, allocations: 175.8 kB / 3.882 GB, free: 3.414 MB / 1.01 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 1.038/13.38, allocations: 6.968 MB / 3.889 GB, free: 52.95 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/13.38, allocations: 10.19 kB / 3.889 GB, free: 52.95 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002832/13.39, allocations: 0.4986 MB / 3.89 GB, free: 52.89 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009183/13.4, allocations: 1.354 MB / 3.891 GB, free: 52.52 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02473/13.42, allocations: 6.596 MB / 3.897 GB, free: 51.84 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002727/13.42, allocations: 0.6973 MB / 3.898 GB, free: 51.82 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002533/13.43, allocations: 413.2 kB / 3.899 GB, free: 51.82 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01597/13.44, allocations: 4.861 MB / 3.903 GB, free: 51.25 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.609e-05/13.44, allocations: 3.188 kB / 3.903 GB, free: 51.25 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006051/13.44, allocations: 160.1 kB / 3.903 GB, free: 51.25 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.063e-05/13.44, allocations: 99.55 kB / 3.904 GB, free: 51.25 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01289/13.46, allocations: 4.37 MB / 3.908 GB, free: 51.22 MB / 1.01 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.04457/13.5, allocations: 22.24 MB / 3.93 GB, free: 42.48 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006618/13.51, allocations: 2.878 MB / 3.932 GB, free: 42.15 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001649/13.51, allocations: 1.919 MB / 3.934 GB, free: 40.09 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004399/13.51, allocations: 1.776 MB / 3.936 GB, free: 39.98 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004838/13.52, allocations: 495.2 kB / 3.936 GB, free: 39.9 MB / 1.01 GB Notification: Performance of pre-optimization done (n=233): time 2.034e-05/13.52, allocations: 0.5938 kB / 3.936 GB, free: 39.9 MB / 1.01 GB Notification: Performance of matching and sorting (n=233): time 0.01376/13.53, allocations: 4.902 MB / 3.941 GB, free: 39.38 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001833/13.53, allocations: 495.3 kB / 3.942 GB, free: 38.82 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.013/13.54, allocations: 4.56 MB / 3.946 GB, free: 38.47 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001225/13.55, allocations: 86.02 kB / 3.946 GB, free: 38.44 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.004414/13.55, allocations: 2.646 MB / 3.949 GB, free: 37.79 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.00186/13.55, allocations: 0.7879 MB / 3.95 GB, free: 37.27 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009055/13.55, allocations: 62.88 kB / 3.95 GB, free: 37.27 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0004441/13.55, allocations: 429.4 kB / 3.95 GB, free: 36.96 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006145/13.56, allocations: 1.513 MB / 3.951 GB, free: 36.95 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006186/13.57, allocations: 2.507 MB / 3.954 GB, free: 35.89 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005688/13.57, allocations: 1.777 MB / 3.956 GB, free: 35.81 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.316e-05/13.57, allocations: 5.875 kB / 3.956 GB, free: 35.81 MB / 1.01 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01543/13.59, allocations: 4.544 MB / 3.96 GB, free: 35.37 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.002332/13.59, allocations: 9.059 MB / 3.969 GB, free: 25.9 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001097/13.59, allocations: 24.47 kB / 3.969 GB, free: 25.9 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.229e-05/13.59, allocations: 34.75 kB / 3.969 GB, free: 25.9 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005571/13.6, allocations: 0.9558 MB / 3.97 GB, free: 25.89 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00256/13.6, allocations: 5.399 MB / 3.975 GB, free: 20.63 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008298/13.61, allocations: 0.5289 MB / 3.976 GB, free: 20.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001265/13.61, allocations: 157.5 kB / 3.976 GB, free: 20.6 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/13.61, allocations: 5.375 kB / 3.976 GB, free: 20.6 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01328/13.62, allocations: 4.005 MB / 3.98 GB, free: 20.48 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001281/13.62, allocations: 25.31 kB / 3.98 GB, free: 20.48 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.934e-05/13.62, allocations: 38.62 kB / 3.98 GB, free: 20.48 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004585/13.63, allocations: 0.8717 MB / 3.981 GB, free: 20.48 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001099/13.63, allocations: 43.83 kB / 3.981 GB, free: 20.48 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0079/13.63, allocations: 0.5103 MB / 3.981 GB, free: 20.46 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001363/13.64, allocations: 161.2 kB / 3.981 GB, free: 20.46 MB / 1.01 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.006166/13.64, allocations: 1.232 MB / 3.983 GB, free: 20.23 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003203/13.64, allocations: 0.5704 MB / 3.983 GB, free: 19.92 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02028/13.66, allocations: 4.352 MB / 3.987 GB, free: 35.65 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.233e-05/13.67, allocations: 31.34 kB / 3.987 GB, free: 35.65 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.457e-05/13.67, allocations: 0 / 3.987 GB, free: 35.65 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009174/13.67, allocations: 3.351 MB / 3.991 GB, free: 35.37 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03185/13.71, allocations: 9.072 MB / 4 GB, free: 34.72 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.319e-05/13.71, allocations: 3.094 kB / 4 GB, free: 34.72 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004168/13.71, allocations: 0.708 MB / 4 GB, free: 34.72 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.391e-05/13.71, allocations: 8.312 kB / 4 GB, free: 34.72 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008517/13.71, allocations: 85.69 kB / 4 GB, free: 34.72 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004605/13.72, allocations: 5.348 MB / 4.006 GB, free: 29.46 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.276e-05/13.72, allocations: 13.28 kB / 4.006 GB, free: 29.46 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01873/13.73, allocations: 6.375 MB / 4.012 GB, free: 28.37 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006418/13.74, allocations: 1.171 MB / 4.013 GB, free: 27.95 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003496/13.74, allocations: 68.5 kB / 4.013 GB, free: 27.95 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007635/13.75, allocations: 476.4 kB / 4.013 GB, free: 27.93 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009096/13.75, allocations: 175.6 kB / 4.014 GB, free: 27.93 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008941/13.75, allocations: 120.9 kB / 4.014 GB, free: 27.93 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.01197/13.77, allocations: 3.481 MB / 4.017 GB, free: 27.71 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.042e-06/13.77, allocations: 0 / 4.017 GB, free: 27.71 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.02022/13.79, allocations: 2.799 MB / 4.02 GB, free: 27.49 MB / 1.026 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.02938/13.82, allocations: 9.798 MB / 4.029 GB, free: 24.82 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.01834/13.83, allocations: 6.228 MB / 4.036 GB, free: 24.41 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.56e-05/13.83, allocations: 8.25 kB / 4.036 GB, free: 24.41 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.00565/13.84, allocations: 1.922 MB / 4.037 GB, free: 24.34 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01815/13.86, allocations: 2.91 MB / 4.04 GB, free: 24.19 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05324/13.91, allocations: 27.5 MB / 4.067 GB, free: 19.82 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007299/13.92, allocations: 2.953 MB / 4.07 GB, free: 18.95 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.01559/13.93, allocations: 1.265 MB / 4.071 GB, free: 18.75 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009493/13.94, allocations: 2.561 MB / 4.074 GB, free: 18.74 MB / 1.042 GB Notification: Performance of SimCode: time 1.563e-06/13.94, allocations: 0 / 4.074 GB, free: 18.74 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4559/14.4, allocations: 175.9 MB / 4.246 GB, free: 6.254 MB / 1.057 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004518/14.4, allocations: 323.3 kB / 4.246 GB, free: 5.891 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.42/24.82, allocations: 0 / 4.246 GB, free: 5.891 MB / 1.057 GB (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_ResetController_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_ResetController.fmu > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe 2>&1)